cancel
Showing results for 
Search instead for 
Did you mean: 

File to Mail Scenario - Need help

Former Member
0 Kudos

Hi all,

I am trying a simple file to mail scenario in which i am using following data types .

Source datatype -

Scr_File_DT

-- Root

-


Material_no

-


Plant

Target datatype -

Tgt_Mail_DT

--Content

In the message mapping i am concatenating material_no and plant and mapping it to content.

The receiver mail adapter parameters are as follows -

Transport protocol - SMTP

Message Protocol - XIPAYLOAD

URL: smtp://gmail.com

Configure User Authentication: X (Check box is selected)

Authentication Method: Plain (from drop-down box)

User: xyz@gmail.com

Password: ****

from: mail address

to: mail address

subject : test mail.

Just wanted to confirm whether these settings are correct or not? Because i am not getting the mail in my mailbox.

Can anyone please help me on this.

Also are there any other settings required for using mail adapter ?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

does your XI have a connection to the internet?

otherwise it will not be able to connect to your smtp server

and it will not send the e-mail

BTW

have a look at adapter monitoring/channel monitoring

in RWB to see the error (if you have any)

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (5)

Answers (5)

Former Member
0 Kudos

>>>> does your XI have a connection to the internet?

What is the method of checking internet connection ?

Former Member
0 Kudos

can i use URL:localhost instead of URL:smtp://<IP address> ?

Former Member
0 Kudos

Thanks everyone for the quick reply.

I checked the RWB and i am getting "UnknownHostException" error.

Can anyone guide me how to give the URL in receiver mail adapter.

Former Member
0 Kudos

Hi,

Get the local SMTP server IP address.

smtp://<IP address>

Regards,

Jai Shankar

prabhu_s2
Active Contributor
0 Kudos

adding to the discussion:

<i><b>smtp server address from your outlook ... tools -> email accounts -> exchange server settings -> microsoft exchange server</b></i>

Former Member
0 Kudos

Hi,

you should add your email address to your user,add specific users list add you r user in alrtcatdef.

generally you should maitain the email data type format like

subject,from,to,content-type..

se below link

http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

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

Regards

Chilla..

Former Member
0 Kudos

Have you checked the message monitor from the Runtime Workbench ?

From the Runtime Workbench you will be able to see the message from "Adapter Engine" persistance layer and the related log.

Sandro