cancel
Showing results for 
Search instead for 
Did you mean: 

gmail>>xi>>file

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

i m doing a scenario, where i need to pick a file from gmail account and need to place as a file in my sys.

1. can anyone tell me the url for this

as of now, i had define the data types and have aprob with attachment, how can i map attachment data type in message mapping?

do let me know the data type s to read the mail.

points will be rewarded.

Message was edited by:

shahid mohammed syed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shahid,

For this you need to create the POP3 protocol for the Gmail and have to build the link between the XI and GMAIL server. I also tried the same but unsuccesful about that. Regarding the data type first you take File as in CC File adapter.

No need to special data type and no need of mapping also. Take dummy datatypes. it will fine. I do the reverse scenario like(File-Mail). there i didn't take the any special datatype. I took all the dummy types and no mapping is there.

Warm Regards,

Vijay

Former Member
0 Kudos

Hi

Under Interface Object select External Definition and import the External Definition i.e. XSD file(mail xsd) as mentioned in Michal's Blog.

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

This will serve as your data type.

Mapping done shall depend on the kind of file you require.

For picking up mails you need to do POP3 settings in your mail id.

Sender Mail Adapter Settings

Choose Adapter Type as :Mail .

Transport Protocol :PO3

For the URL check

For Yahoo,

http://help.yahoo.com/l/us/yahoo/mail/original/mailplus/pop/pop-35.html

For Gmail

http://mail.google.com/support/bin/answer.py?hl=en&answer=10350

Usually it is pop://pop.gmail.com

Thanks

henrique_pinto
Active Contributor
0 Kudos

actually since gmail requires SSL on POP3 (check http://mail.google.com/support/bin/answer.py?hl=en&answer=13287), the url would be

pops://pop.gmail.com/

No need for port, because 995 is default for POP3 over SSL (from note <a href="https://service.sap.com/sap/support/notes/856599">856599</a>).

Regards,

Henrique.

Answers (3)

Answers (3)

vikas_agarwal
Contributor
0 Kudos

Hi,

You are doing Mail-File scenario and on the mail side you have to pick the attachment from the Mail ( if i'm not wrong)

Use this blog for picking up the Attachment from the mail

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

And for the data type for the mail side just use the same data type which you have created for the File system.

No message and Interface mapping are required

For configuring Mail Communication Adapter:

Choose Transfer Protocol:pop3

url: pop://pop.gmail.com

User: your userId

Pwd: yr password

And you have to make some changes on Gmail acccount also..

http://mail.google.com/support/bin/answer.py?answer=13273

Regards

Vikas

Former Member
0 Kudos

Hi,

Please refer These

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

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

http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm

Regards

Sesh

Former Member
0 Kudos

Hi shahid,

Refer this blogs...

https://weblogs.sdn.sap.com/pub/u/34500 [original link is broken] [original link is broken] - Michal

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb155...

This should help you configure the sender mail adapter.

vasanth