OOTB Email service not working with R6 osgi annotations | Community
Skip to main content
Level 3
Sep 22, 2018 1:45 PM UTC
Solved

OOTB Email service not working with R6 osgi annotations

Hi,

We have used OOTB Email service using R6 osgi annotations.

Currently facing one issue as message gateway service coming null while sending notification using gateway method.

How ever the message Gateway Service reference object is there but not working with Gateway method ?

Couple of other projects which implemented using Felix SCR annotations is working with email service.Do we have any reference implementations using R6 osgi?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 25, 2018 1:46 PM UTC

See this new HELPX Article that shows how to work with with MessageServiceGateway API in 6.4.

There is a video too that shows it all working. Follow this artilce -- 

https://helpx.adobe.com/experience-manager/using/message_service_gateway_api_64.html

12 replies

Level 3
Sep 26, 2018 8:03 AM UTC

This Worked for me in AEM 6.3 also..Thanks !

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 25, 2018 1:46 PM UTC

See this new HELPX Article that shows how to work with with MessageServiceGateway API in 6.4.

There is a video too that shows it all working. Follow this artilce -- 

https://helpx.adobe.com/experience-manager/using/message_service_gateway_api_64.html

Translate
arunpatidar
New Participant
Sep 25, 2018 11:18 AM UTC

Thanks Scott.

Translate
Arun Patidar
smacdonald2008
Level 10
Sep 24, 2018 7:21 PM UTC

Arun - we will update this article now for AEM 6.4 and show proper use of this API using DS Annotations.

Translate
arunpatidar
New Participant
Sep 24, 2018 6:59 AM UTC

Hi,

Message gateway services are part of uber jar, so explicit dependencies are required.

I am ot sure what could be the issue but OOTB message service worked with osgi annotations.

Translate
Arun Patidar
Level 3
Sep 23, 2018 11:34 AM UTC

SMTP configurations are correct and also i am able to get the OOTB notification for workflow abort/complete and also able to see the connection in SMTP debug mode but not picking the custom content as mentioned in bundle and also workflow aborted when the service is null? Do we have to do any other  osgi config? or what are the required pom dependencies ?

Translate
arunpatidar
New Participant
Sep 23, 2018 10:36 AM UTC

Hi,

I am also using gmail for sending mails in above code.

Could be issue with email configuration, check below.

Configuring Email Notification

Translate
Arun Patidar
Level 3
Sep 23, 2018 9:34 AM UTC

Hi,

I have used the same steps as mentioned in git hub and tried below way for the delete content but still getting same gateway error and workflow aborted

Adobe Experience Manager Help | Creating custom AEM workflow steps that send email messages

I am using my Gmail as SMTP server.Do we have any issue if i use gmail ? How ever i am getting notification for Workflow abort other OOTB notifications?

Translate
VeenaVikraman
New Participant
Sep 22, 2018 6:22 PM UTC

Could you provide a sample of your code for testing ?

Translate
arunpatidar
New Participant
Sep 22, 2018 5:12 PM UTC