Skip to Content
0

How can send a email based on payload data

Jan 22, 2017 at 01:03 PM

266

avatar image
Former Member

Dear Expert,

Have a synchronous scenario (SAP ECC)SOAP proxy to rest Services(Mobile ERP).

But Client want a mail from SAP PO(7.4) based on response payload data.

Please suggest me how can achieve this.

Thanks,

BR,

Pradeep Kumar

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Helmut Skolaut Jan 29, 2017 at 07:23 PM
0

Hi Pradeep,

you have to implement a BPM for that.

Regards

Helmut

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 30, 2017 at 06:05 AM
0

Hi Helmut ,

Thank you for reply.

We are not using BPM for this scenario.

But Java mail API is using for this scenario and i have configured everything according below mentioned blog.

https://archive.sap.com/discussions/thread/3531640

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=90570965

Whenever i am testing it is working fine and not getting any error log. But issue is that mail is not triggering to user's mail ID.

So i have checked that code in NWDS and when i am executing SEND method there i found error log.

Error Log :

send failed, exception: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

BR,

Pradeep Kumar

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Jan 30, 2017 at 06:12 AM
0

Hello Pradeep,

check the below link

http://stackoverflow.com/questions/8542616/550-access-denied-invalid-helo-name

also check the user has required roles to hit the mail server.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 31, 2017 at 08:32 AM
0

Hi Raghu,

I have deployed mail jar file 1.4.7 in my code and now i am getting below error.

Error:

send failed, exception: javax.mail.MessagingException: Could not connect to SMTP host: ***, port: 25, response: 451

send failed, exception: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550-"JunkMail rejected - (*****) [IP]:51055
550 is in an RBL, see https://www.spamhaus.org/query/ip/116.203.122.192"

BR,

Pradeep Kumar

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 23, 2017 at 09:10 AM
0

Hi All,

Thank You All.

My issue was resolved now i am able to send mail based on response payload data.

Issue : Mail.jar and Activation.jar file was missing in PI server.

BR,

Pradeep Kumar

Share
10 |10000 characters needed characters left characters exceeded