cancel
Showing results for 
Search instead for 
Did you mean: 

File---Mail( Gmail) Scenario

Former Member
0 Kudos

Hi all,

Iam Configuring the File--Mail(Gmai) Scenario

File placed in AL11 and got picked up ---shown Success message in MONI.

Every thing is OK

When i come to Receiver Mail CC in RWB

It is showing Error like

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.UnknownHostException: mail.google.com

i gave the Mail Adapter Parameters like thi

Transport protocol----SMTP

Message Protocol---XI Payload

URL----smtp://mail.google.com

User-----abc at the rate of gmail.com

Pwd----xxxx

Mial Attribute

Use Mail Package----Checked

Provided Mail Attribute details From Payload itself

Whta could be the problem

Regards

Suman

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Ans

GabrielSagaya
Active Contributor
0 Kudos

mail server url: smtp.gmail.com:465

henrique_pinto
Active Contributor
0 Kudos

theoretically, you could use any reachable (intranet or internet) smtp server, no need for a local one. However, when I tried gmail, I didn't succeeded 100%.

Check the following thread:

That was as far as I could go. Maybe you can investigate a little further (maybe even open some OSS message regading the mismatch exception, if it still occurs).

Anyway, the smtp address should be

> smtps://smtp.gmail.com:587/

as described here: http://mail.google.com/support/bin/answer.py?hl=en&answer=13287

Regards,

Henrique.

Former Member
0 Kudos

Hi,

Means Do i need Internet on my XI Server???

No i dont have the Internet on XI Server.

Ok let it be...

Even if i Configure with my Lotus notes also it is saying some Error. I think this is also Because of No Internet For XI Server.

Am i right???

Regards

Suman

henrique_pinto
Active Contributor
0 Kudos

If you want to configure an smtp server over the internet (as gmail, f.ex.) you need internet in XI server, of course.

If you want to configure a local smtp server, than you just have to make sure it's reachable from XI server.

But if you just want to send an email to gmail, then just configure the local smtp server and in receiver email, pu the gmail address.

Regards,

Henrique.

Former Member
0 Kudos

Hi,

But if you just want to send an email to gmail, then just configure the local smtp server and in receiver email, pu the gmail address.

This process is normally we do from one mail server to another.

Ex: From my Comapny Mail id to Gmail

But i want it to be send through XI

Regards

Former Member
0 Kudos

In smtp, you have to give your company's url in XI mail apapter.. and then you will be able to send the mail via XI to gmail.

Former Member
0 Kudos

Hi Sarvesh,

In smtp, you have to give your company's url in XI mail apapter.. and then you will be able to send the mail via XI to gmail

Iam confusing with this.

You are saying that we have to give the Company URL in the Receiver Mail Adapter's URL Field.

If i gave like that what is the meaning of that???

According to my Knowledge we have to give the URL of Target Mail Server to which we want to send the mail i.e Gmail.

Regards

Suman

Former Member
0 Kudos

Hi,

Can you please let me know a brief steps in Receiver Mail Adapter those we need to configure....

i have used this as Receiver structure

https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt

And iam Passing Subject,To, From all these from the payload.

In Receiver Adapter i Selected Message Protocol as Xi Payload

I checked Use Mail Package

Is this Configuration is Correct???

Regards

Suman

Former Member
0 Kudos

No, you don't require to give target mail server's url e.g. gmail.

The purpose of any server is to serve the servieces, so if you use your company's (local mail) server then it will serve (send) the mail to your desired target system may be gmail or yahoo.

Former Member
0 Kudos

> Can you please let me know a brief steps in Receiver Mail Adapter those we need to configure....

>

> i have used this as Receiver structure

>

> https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt

>

> And iam Passing Subject,To, From all these from the payload.

>

> In Receiver Adapter i Selected Message Protocol as Xi Payload

>

> I checked Use Mail Package

>

> Is this Configuration is Correct???

YES this is correct. One more thing Content Encoding should be "base64".

I hope you must have gone through this blog, if not then have a look..

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

Edited by: Sarvesh Singh on May 2, 2008 7:56 PM

Former Member
0 Kudos

Yes Sarvesh,

i maintained that Encoding as Base64.

I will say my requirement and according to that please let me know the Parameters that i have to provide inside the Mail Adapter.

1) I will place the file in FTP Server.

2) This file contains the Payload info like Subject, To, From, Content message that shld goto Mail

Subject:Hi

To:suma.gupta at the rate gmail.com

From:suma.gupta t the rate in.ibm.com

Content: This is the First mail

3) File will pick up and it shld send to my Gmail

Now can u please tel me

Regards

Suman

Former Member
0 Kudos

Whatever you have maintained is seems correct.

Have you tested this scenario with this current settings? I hope it will work now when you will provide your local mail server url i.e. your ibm's url use your user id and password (you have to use local machines user id and password).

Former Member
0 Kudos

Hi Sarvesh,

Do we need to do any extra configurations, if iam using ibm's mail server URL in Sender Adapter??

Regards

Suman

Former Member
0 Kudos

> Do we need to do any extra configurations, if iam using ibm's mail server URL in Sender Adapter??

No need just refer my above reply regarding user name and password to be given in the ID.

Regards,

Sarvesh

****Assingn point for helpful Ans..

Former Member
0 Kudos

> Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.UnknownHostException: mail.google.com

>

> i gave the Mail Adapter Parameters like thi

>

> Transport protocol----SMTP

> Message Protocol---XI Payload

>

> URL----smtp://mail.google.com

The problem is your SMTP URL.

You have to give an url of your local mail server (may be Outlook) which will send the mails to your desired email address.

Regards,

Sarvesh

Former Member
0 Kudos

Hi Sarvesh,

All Our Experts gave this type of Replies to me on the same disscussion

Regards

Suman

Former Member
0 Kudos

Suman,

What ever you have asked in this thread, experts have replied correct.

You have asked "Can i implement this scenario with my Gmail Account???

Like as soon as i place the file in FTP Server it should goto my Gmail Account . "

This means that you are just asking them if you will send a mail from your local server (Like as soon as i place the file in FTP Server it should goto my Gmail Account ) then will you be able to send it to Gmail Account or not.

and experts have replied YES..

But I have seen in the thread few of replies have suggested you to use SMTP as gmail.com, but that is wrong.

Use your local mail server's address, the it will work.

I hope you have understood what I am saying..

Regards,

Sarvesh

Edited by: Sarvesh Singh on May 2, 2008 6:35 PM

prateek
Active Contributor
0 Kudos

URL----smtp://mail.google.com

This is incorrect

U have to use the mail server of ur network. A mail server should be configured in ur network before sending mail from XI

Regards,

Prateek

Former Member
0 Kudos

Hi,

Can't we Integrate Gmail in this case?????

I want to Integrate My gmail and File system

How to do that

Regards

Suman