cancel
Showing results for 
Search instead for 
Did you mean: 

What is the process for sending file thru email using Mail Adapter ???

Former Member
0 Kudos

Hi,

I had created file by using XI, got the Vendor information from R/3 to File (used IDOC to File Scenario). Now I have to send this file through Mail (using MAIL adapter).Can anyone help me out in creating this scenario as this task is very uregent. Can anyone help in step by step process.

Thanks in advance,

Andy

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

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

/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems

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

Have a look at these weblogs ....

Do you have to sent both the mail and file ?

Former Member
0 Kudos

Hi VijayKumar,

Thanks for your response, still I am confused with the /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address,

in this I am trying to understand how does the External Defintion works and also in the mapping what type IDOC is used ,can you please explain me in detail.

Thanks

Andy

Shabarish_Nair
Active Contributor
0 Kudos

In case of the external definition, u can import the xsd in that weblog under your External definitions in IR and then use the same in your mappings and interfaces.

Former Member
0 Kudos

Hi Vijay,

More questions..

Question 1: When shoud we choose SMTP/IMAP4 in Transport Protocol and XIALL/XIPAYLOAD in Message Protocol

Question 2: In connection parameters for mail server what is URL and is it mandatory to add userid and password

Question 3: When we select XIPAYLOAD as Message protocol, then what is the best option to choose in the Mail Attributes like UseMailPackage or Keep Attachment

Thanks

Andy

Former Member
0 Kudos

Hi Andy,

Please can you go through this

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

Also there is SAP NOte refered to in URL. That will help u too.

Let me know??.

Regards

Vijaya

Shabarish_Nair
Active Contributor
0 Kudos

Ques 1 >>> If you look at the help - SMTP ->

You use SMTP (Simple Mail Transfer Protocol) to transfer e-mails to an e-mail server. IMAP4 ->

You use IMAP4 (Internet Message Access Protocol) to put e-mails in a folder of an e-mail server.

Ques 2 >>> the url will be the address of your email server

Question 3 >>> depend on your requirement , refer Prasad's blog /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure for more details.

Answers (4)

Answers (4)

former_member91687
Active Contributor
0 Kudos

Hi Andy,

You can configure a receiver mail adapter and choose the message protocol as XIPAYLOAD. You can configure the receiver mail adapter as per the help in this link:

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm

Else if you want to send the file received in your file system, then you have to configure another scenario to pick up the file and send it as an email.

Regards,

Chandra

Former Member
0 Kudos

Hi,

chk out this lin for configuring sender mail adapter

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm

regards

jithesh

Former Member
0 Kudos
Former Member
0 Kudos

Hi Andy,

Here is how to Guide for mail adapter,

https://websmp201.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=011000358700000002....

For additional functionality refer to

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution

Regards

Vijaya

Former Member
0 Kudos

hi prashanth,

i have a scenario like file to mail. i have to add a link suppose www.google.com click here. this message has to open in the body of the mail. and i have a pdf file that one has to attached to that mail. that pdf file is located in my local drive. could u please help me this.

thank you

Regards

Sundher

Former Member
0 Kudos

Andy,

Also go thru this link. It contains demos on how to work with Mail adapter

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]