on 05-02-2008 1:28 PM
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
Ans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mail server url: smtp.gmail.com:465
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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%.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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
> 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
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
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.