Mail Adapter Sender error
Hi,
I need to use Mail Adapter Sender with MAPI protocol.
I have create my Comunication Channel of type IMAP4 and configured URL as mapi://server and actved one.
In RWB appears the message "mail client job stopped completly"
Can anybody help me?
The URL must be: imap://server/inbox
This is hard coded in the mail adapter and cannot be changed.
Only imap4 and pop3 are supported.
Regards
Stefan
Similar Messages
-
Sender Mail Adapter - CC Error
Hi,
My scenario is Mail>XI>Proxy(R/3).
The sender mail adapter checks the e-mail box and procces into XI.
I'm getting the following error in the CC:
"exception caught during processing mail message, java.lang.ArrayIndexOutOfBoundsException 0 > = 0"
But, this error is only present when the client try to sent the e-mail data, If i resend the same e-mail manually it works perfectly ( Which led me to think that the CC configuration is correct ).
I'm not ruling out any outlook issue.
Do you guys have experiencied this kind of issue?
Thanks.Thanks Satish,
I'm sending the same e-mail. (manually works, automatically don´t work)
Also, I can´t see the result of the payload because the error is in CC and only shows that error.
Configuration CC:
Transport Protocol: POP3
Message Protocol: XIPAYLOAD
URL, User,Pass...
Encoding : base64
Quality of service: Exactly Once
- Any suggestions? -
Sender Mail Adapter Configuration error
Hi,
I am working on scenario mail adapter to CRM system. And when I tried to configure the sender email adapter I have got the error following error, Can any one help me to resolve this issues
error occured: <b>exception caught during processing mail message; java.net.ConnectException: Connection refused</b>
the details I have provided are as follows
Transport protocol is POP3
URL - POP://mailservername/Inbox/folder
And I have tried with the IMAP4 also
URL - IMAP://mailservername/Inbox/folder
And we have cross checked that the XI server is able to ping that particular mail server.
Regards,
Venkat.Hi Venkateswara,
I would suggest that you go through these to know how to configure your sender mail adapter,
<a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step mail adapter step by step</a>
<a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure adapter Scenario</a>
Also, to know the various parameters of a sender mail adapter, just go through this link,
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm">Configuring sender mail adapter</a>
Check your mail adapter configuration against these details. Also, check if the mail server you are trying to access is running.
Also go thru this pdf to make yourself more comfortable with mail adapters.
https://websmp205.sap-ag.de/~sapidb/011000358700004556712005E/HowTo_Mail_Adapter2.pdf
Regards,
abhy -
Receiver Mail Adapter configuration Error???
Hi,
i've created a Mail Adapter with the following configuration:
Adaptertype: Mail
Receiver
Transport-Protocol: SMTP
Message-Protocol: XIPAYLOAD
Adapter-Engine: Integration-Engine
I set From and To Fields to a valid address. When i start a test the message is passing the integration engine and an error occurs within the mail-adapter:
Mail: Configuration error: Channel 7a15b118b96b392bbc9be5922f55b7d0is not configured for XIMailAdapter
Mail: call failed; com.sap.aii.af.ra.ms.api.RecoverableException: Error: invalid XIMailAdapter channel 7a15b118b96b392bbc9be5922f55b7d0
How can this happen?
regards
msHi,
Reffer these BLOGS
/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
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
<u><b>Target Structure:::::</b></u>
- <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
xmlns:xi="http://sap.com/xi/XI/Mail/30"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <!--
Mail
-->
- <xs:element name="Mail">
- <xs:annotation>
<xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
<xs:element name="Subject" type="xs:string" minOccurs="0" />
<xs:element name="From" type="xs:string" minOccurs="0" />
<xs:element name="To" type="xs:string" minOccurs="0" />
<xs:element name="Reply_To" type="xs:string" minOccurs="0" />
<xs:element name="Content_Type" type="xs:string" minOccurs="0" />
<xs:element name="Date" type="xs:dateTime" minOccurs="0" />
<xs:element name="Message_ID" type="xs:string" minOccurs="0" />
<xs:element name="X_Mailer" type="xs:string" minOccurs="0" />
- <xs:element name="Content" minOccurs="0">
- <xs:annotation>
<xs:documentation>any type</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="encoding" type="xs:string" />
</xs:complexType>
</xs:element>
- <xs:element name="MailReceipt">
- <xs:annotation>
<xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
<xs:element name="Server" type="xs:string" />
<xs:element name="Format" type="xs:string" />
<xs:element name="UseMailPackage" type="xs:boolean" />
<xs:element name="Encoding" type="xs:string" />
<xs:element name="Subject" type="xs:string" minOccurs="0" />
<xs:element name="From" type="xs:dateTime" minOccurs="0" />
<xs:element name="To" type="xs:string" minOccurs="0" />
<xs:element name="Date" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Regards
Seshagiri -
XI Mail Adapter: sending emails with attachment with help of java mapping
Hi ,
On trying out the scenerio mentioned in the blog, using the java mapping provided
"XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
The scenerio works just fine.
But the payload as the content of the attachment is not getting generated in proper XML format.
I suppose it's because of the replace special characters code part..
Can anyone help me state the modification required in the code.
Thanks!
Regards,
Faria MithaniIt might be a codepage issue. Is your original payload UTF-8?
-
Mail Adapter Send Mail with Attachment
Hi all,
I'm doing some tests on XI and implemented a little scenario, that send Mails.
So this works fine, but I want to have the content as the content of the mail (no prob) and a attachment with a little more information for the user in a plain text file.
I tried to code it with content-type multipart and all these stuff, but didn't come to a solution.
Some one solved such a scenario already and can help?
I also read some thread on SDN, but no solution. Perhaps its to simple
Thanx
regards
OlliOliver,
We have found the solution for you.
You should configure the mail adapter with 'use the mail adpater' and 'keep attachments'.
Create an XML file conform the XML structure provide by SAP
The mail package should look like this:
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_Mail_Sent xmlns:xi="http://sap.com/xi/XI/Mail/30">
<xi:Mail>
<Subject>Item</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content_Type><b>multipart/mixed; boundary="AaBb--984dfgeSSd3532"</b></Content_Type>
<Content_Disposition>attachment</Content_Disposition>
<Content>
<b>AaBb984dfgeSSd3532</b>
Content-Type: text/plain
Hello, this is sample data.
<b>AaBb984dfgeSSd3532</b>
<b>Content-Type:</b> text/plain;name="CSV_data.csv"
Order number;Item number;description<xsl:text>
</xsl:text>
<xsl:for-each select="Article_line">
<xsl:value-of select="Ord_nmbr"/>;<xsl:value-of select="Item_nmbr"/>;<xsl:value-of select="Description<xsl:text>
</xsl:text></xsl:for-each>
<b>AaBb984dfgeSSd3532</b>
<b>Content-Type:</b> text/plain;name="TXT_data.txt"
Order number;Item number;description<xsl:text>
</xsl:text>
<xsl:for-each select="Article_line">
<xsl:value-of select="Ord_nmbr"/>;<xsl:value-of select="Item_nmbr"/>;<xsl:value-of select="Description<xsl:text>
</xsl:text></xsl:for-each>
<b>AaBb984dfgeSSd3532</b>
</Content>
</xi:Mail>
</ns:MT_Mail_Sent>
In the above example you should have some content and 2 attachments (1 csv file and 1 txt file).
After each break (AaBb984dfgeSSd3532) specify again the 'Content-Type'.
Good luck
Regards
Ron -
XI Mail Adapter: Sending an XML attachment
Hi
I want to send an xml attachment using the XI Mail adapter. I have configured the adapter correctly and am currently receiving the email message.
My issue is that my attachment has a .txt extention and I want it to have a .xml extn.
I have seen a variety of web blogs around but none of these have helped.
I have also changed my configuration from XIPAYLOAD to XIALL and still cannot get my payload message as a .xml attachment.
When I config my adapter to use XIALL i get 2 attachments, a SOAP.xml and the my payload wiht the filename:
[email protected]
When I use XIPAYLOAD, with the keep attachment option ticked, I get an attachment with a .txt extn.
I am convinced there must be a J2EE setting or maybe a ABAP config paramter that I need to update to get the .xml extn.
Any help is greatly appreciated.
Regards
YackeenHi Yackeen,
You can use localejbs/AF_Modules/MessageTransformBean
You have to set the parameter :
Transform.ContentDisposition as
attachment;filename=myFileName.xml>
Best regards,
Bela -
Configuring the mail adapter Sender
Hi Guys, hope you are fine.
I have a doubt: is it possible to configure, how many emails the sender mail adapter takes per polling?
I have an inbox with more than 300 emails and I have a sender mail adapter configured with a 10 minutes pooling and I need to limit the number of messages or, just to have an ideia about the number of messages it takes. Does it depends of the machine or something like that?
Any kind of help is welcome... =)
Thank you
Luciana RossanHi Luciana,
Please refer to the FetchLimit option, described in SAP Help for sender mail adapter, it matches your requirement perfectly:
IMail.FetchLimit
You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
Please refer to the help itself if further details required:
http://help.sap.com/saphelp_nwpi711/helpdata/EN/48/3276dba3af58d8e10000000a421937/content.htm
Hope this helps,
Greg -
I am using the WS adapter Sender and communication security as HTTPS(Transport Channel Security).
This is an outbound interface from ECC to PI to 3rd party. While sending the message from ECC it gives as error message as HTTP unauthorization. Could you please guide me on this. Thanks.Looks like authorization not related to ssl. Check few things..
a) You might be sharing PI cert in the ECC system to make a request from ECC to PI. Make sure that is installed valid or not.
b) Talk to basis team and see your PI integration looks for user credentials (user/password) in addition to Https transport secured communication. -
Sender mail adapter sending xml attachment comes with .bin
Hi all,
I have the following scenario: Sender Mail >> RFC
As I can receive multiples attachments I´m using payload swap bean and adapter module to get all attachments together in the first attachment.
In most cases is working very well, but in some cases the xml attachment is coming as a ".bin".
The same mail with this wrong format, when it´s been forwarded, comes with the right xml file so I can figure that is the mail format sent by vendor.
I tried to simulate this error myself and I could observe that when I change the message format from html to plain text in my outlook I get the same error, the attachments comes as .bin
Does anyone know how can I receive those mails in the right format?
Thanks for your help!
VanessaHi Ravi, thanks for your help.
I have configured:
TRANSFORM > swap.keyName > Content-Disposition
TRANSFORM > swap.keyName > Content-Description
TRANSFORM > swap.keyName > attachment;filename="MailAttachment-1.xml"
TRANSFORM > swap.keyName > MailAttachment-1
When the mail comes as html format is working fine, but not working when comes as plain text.
Any Idea?
Regards
Vanessa
Edited by: Vanessa Balsanelli Zocaratto on Nov 25, 2009 5:10 PM -
Receiver Mail Adapter sending Attatchments to dynamic recipients
Hi,
I am using a Receiver Email Communication Channel. I need to be able to send emails to dynamically assigned recipients. I know I need to use the 'Use Mail Package' option. I am doing this and it is working. However, I also need to attatch the payload to the email. This will work by not specifying the 'Use Mail Package' option. I need to do both.
I can send an email with an attatchment. But the content of this attachment has been generated by a Message Mapping. I want the payload on the attchment.
Thanks
MartinHi Martin,
when you use the Mail Package format and assign your payload to the <Content> Element, it should be send as an attachement.
<?xml version="1.0" encoding="UTF-8"?>
<p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
<Subject>My Mail</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content_Type>text/xml;name="MyContent"</Content_Type>
<Content>...</Content>
</p2:Mail>
Hope this helps
Thomas -
Hello @all,
ich get EMails from the sender channel. the relevant data are contains in the content TAG. How can i separated the content to an another XML-structure and to the mapping interface.
best regardsHi Anton,
I think this can be done without Java or XSLT mapping,
Make occurence of target message 0......unbounded in message mapping.
and duplicate Messge1 node.
Now in first Message1 do the normal mapping
In Second Message1 (Duplicated) map the Content of source to content of target and use Adavanced interface determination in ID.
This will create two XML file ,One with Normal Data and other with only content
<removed_by_moderator>
Please read the "Rules of Engagement"
- Do not ask for points - This forum should be firstly about information exchange; points are an incentive and a way of saying thanks.
Asking for points is like asking someone to say "thank you": The only time we do this in real life is when teaching a child good manners. Saying it to an adult is insulting, so why do it in the forums? If someone keeps asking questions without awarding points, simply stop answering them or use the abuse button to report it.
Thanks
Sunil Singh
Edited by: Juan Reyes on Jul 29, 2008 12:54 PM -
Mail.SMTPClient send error
Hi, I am getting a random NullReferenceException - Object reference not set to an instance of an object.
I cannot reproduce it in my test environment and my users only get it occasionally.
The problem is that the Stack Trace does not point to a line within our code and the entire method is wrapped up in a try catch but the exception is never caught...!
I have narrowed it down to the smtpclient.send(object) method but have no idea how to diagnose the problem further.
Anyone else had this got a solution or any idea as to how I can find out where the problem is?
NB a user can try exactly the same operation using the same parameters and it usually works, it is about 1 in 20 that it fails.
The fact that I am unable to trap it makes it impossible for me to see what the problem is and as this is the code behind in an aspx web page it leaves the users with a nasty screen in front of them...
Heyelp?Hello WldgDevelopment,
>>The problem is that the Stack Trace does not point to a line within our code and the entire method is wrapped up in a try catch but the exception is never caught...!
If in your project, you use the Exception class to handle all exception, I suggest that you could have a try to use the
NullReferenceException in the try-catch-finally block:
https://msdn.microsoft.com/en-us/library/dszsf989(v=vs.80).aspx.
>>I have narrowed it down to the smtpclient.send(object) method but have no idea how to diagnose the problem further.
Since you have located the caused method and it is a .NET method, I suggest you could check this blog:
http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx, you could debug .NET source code according to it. And since the .NET is opensource, you could try to create a yourself
smtpclient.send(object) method and add some custom debug approaches to check which item causes this exception.
Regards,
Fred.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
HI All
i am doing a scenario SFTP to mail adapter, i am sending a file to SFTP ADAPTER and Mail adapter send the mail to clint, i am using java mapping , i have checked the message in RWB mesage is fail in mail adapte,
ERROR : Message processing failed. Cause: java.lang.Exception: java.io.IOException: server does not support PLAIN or LOGIN authentication
anyone suggest me soloution?Hi Pankaj,
Remove your mail server user id and password and keep authentication mode as Plain and try in mail adapter configuration.
You can try accessing ID from within IR via menu options or via a direct URL.
Thanks, -
How to send meeting request by mail adapter
Hi,
I'm doing scenario from file to mail. I have a sender file adapter to pick up the meeting request standard format file(*.ics) from file system. On the other side I have a receiver mail adapter to send mail. What I want to do is the sent mail by mail adapter should be a meeting request instead of a normal email with meeting request as its attachment.
I use localejbs/AF_Modules/MessageTransformBean as first module in mail adapter, but the sent mail is also a normal with meeting request as its attachment. This is not what I expected.
I also created own module for mail adapter to realize it. Do I need to change the format of meeting reqeust information in payload? Actually I have chance to do it in module. But what should I do? Thanks.Hi, Krishna:
Thanks for your reply.
Actually the content of ics file is like:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;CN="Wu, Oscar";ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:[email protected]
ORGANIZER:MAILTO:[email protected]
DTSTART:20070626T130000Z
DTEND:20070626T150000Z
LOCATION:Shanghai
TRANSP:OPAQUE
SEQUENCE:0
UID:040000008200E00074C5B7101A82E00800000000F067E9BB0DB8C7010000000000000000100
00000C7423D530FE8744687B0C7C08D4CAA58
DTSTAMP:20070626T104913Z
DESCRIPTION:Meeting request without attachment\n
SUMMARY:Test appointment
PRIORITY:5
X-MICROSOFT-CDO-IMPORTANCE:1
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
this content is content of meeting request based on RFC 822, what I want is not get the content itself in mail, I want the mail adapter send a meeting request out automatically when it get this content.
Thanks
Maybe you are looking for
-
Plz help me to create pending sales order report
Hi all, I need these INPUT AND OUTPUT FIELDS : Pending Sales Order Requirement Specification: 1. Fields on selection screen (input screen) : Plant From to , Distribution channel From to , division from to , date fro
-
Make entries in a table in webdynpro abap
Hi all, We have a requirement to make multiple entries in a Table in webdynpro ABAP. We have created a table and inserted inputfield as cellEditor but at runtime it is being displayed in readonly mode we cannot enter anything in that inputfield. inpu
-
Adding new podcasts - not showing up in iTunes music store
Is there some sort of manual process that must be undertaken when you add a new podcast to your site, to get it to show up in itms? I successfully added my podcast series (had two of them ready to go) and submitted to ITMS. They accepted it, and it s
-
I can't put call on hold to answer incomming call, always hangs up on first call
I can't put call on hold to answer incomming call, always hangs up on first call
-
ColdFusion10 Application does not start automatically
CF 10 Application Server set to automatic. It NEVER starts automatically. All other CF 10 services do start automatically. Running Windows 7. My host, running Windows Server, has the same problem. Any idea what's up?