cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to Mail Scenario: no sender address specified

Former Member
0 Kudos

Hello all,

I've come across a problem in creating a JDBC to Mail Scenario.

The error message I got now is:

failed to send mail: java.io.IOException: no sender address specified

However, the mail message mapping created is the following, and it looks right to me:

<?xml version="1.0" encoding="UTF-8" ?>

<ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">

<Subject>TEST SUBJECT 1</Subject>

<From>test@test.com</From>

<To>yoyo@hotmail.COM</To>

<Content>TEST CONTENT 1</Content>

</ns1:Mail>

Do I need to map more data into the mail package or is there anything else that I need to know when configuring Mail adapter?

The current configuration is:

Transport Protocol:SMTP

Message Protocol :XIPAYLOAD

URL :smtp://10.129.13.52

Use Mail Package :Checked

Content Encoding :None

Thanks,

Steve

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm</a>

Why there's no <Reply_To/> tag in your xml?

Former Member
0 Kudos

Hi YiNing,

Is it necessary to have a <Reply_To> tag?

How do I set that up? I didn't disable it in the mapping, but I still don't see them in the mapped result.

Regards,

Steve

bhavesh_kantilal
Active Contributor
0 Kudos

Steve,

The blog by Michal shows what are the fields that should be used and what to be disabled. Just take a look at it.

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

The only fields needed are from to Content and Subject. make sure you have valid info in all these fields and it should work.

Regards,

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Steve,

Can you try by making content encoding as BASE 64 ?

Regards,

Bhavesh

Former Member
0 Kudos

Bhavesh,

AHHHHHHHHHHHHHH, making content encoding as base64 did worrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrk!!!!

Thanks ah..........but what is the main reason behind it?

Regards,

Steve

bhavesh_kantilal
Active Contributor
0 Kudos

Steve

That is what Michal had done in his blog..!! Reason.. I dunno.. need to read up the documentation..!!will let u know if i find nay info.

Regards,

Bhavesh

Former Member
0 Kudos

Bhavesh,

Alright. Whatever works. Thanks for the help, man.

Regards,

Steve

Answers (0)