cancel
Showing results for 
Search instead for 
Did you mean: 

File to Mail Scenario

Former Member
0 Kudos

Hi all,

I am trying a scenario to send a file and receive the same file from the payload as attachment through Mail adapter.

I am trying to use the File as sender adapter and mail as receiver adapter.

and given the receiver mail adapter protocols as

trasport protocol: SMTP

Message Protocol:XIPAYLOAD

and I have specified my Mail server IP address in url and I have specified my sender and receiver ID as my personal ID.

File is picked and shows success in moni.

But the Mail adapter CC shows the following error.

"failed to send mail: java.io.IOException: invalid http response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">"

Provide some suggestions.

Regards,

Nithiyanandam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have you followed the same configuration:

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Check the Mail server address given in mail adapter configuration.

Enter the address of the e-mail server:

&#9679; For SMTP: smtp://mailserver, for example

&#9679; For imap: //imapserver/XIOutBox, for example

Check for more help:

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Thnx

Chirag

Answers (3)

Answers (3)

prateek
Active Contributor
0 Kudos

Make sure that in the mail receiver url, u have mentioned smtp and not http.

Regards,

Prateek

Former Member
0 Kudos

have a look at this thread

also refer this blog

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

Thanks !!

nisarkhan_n
Active Contributor
0 Kudos

Cross check the URL of the mail server and the username and PWD you have mentioned in that....clearly the problem is the mail adapter is not able to communicate with the Mail server you have mentioend.