Receiver Mail adapter Error
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,
Similar Messages
-
I am trying to configure a receiver mail adapter..
Our system is using microsoft exchange server and i specified the following,
URL: Microsoft Exchange Server
and I get the following exception in Adapter monitoring,
Mail: error occured: com.sap.aii.af.mp.module.ModuleException
Has anybody encountered this error and if so how should this be resolved?Hi
<i>>>Our system is using microsoft exchange server</i>
Ok ur company is using Microsoft Exchange Server, then r u sure the name of ur server is also Microsoft Exchange Server becoz in our company we hav a specific name of our Microsoft Exchange Server.
<i>>>URL: Microsoft Exchange Server</i>
The URL shd b something like this
<b>URL</b>: smtp://<b>name of Microsoft Exchange Server</b>
Hope it helps.
Regards
Arpit Seth -
Receiver Mail Adapter Error ( Dynamic mail address to be used)
Hi EveryBody,
I am getting an error in the RWB (Communication Channel Monitoring) as Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error: invalid XIMailAdapter channel 'a089879fd0b63a4b92ca72d4a4af2ec4'.Mail is not send to the receiver.I have tried using USE MAIL PACKAGE as base64 and NONE.
Can somebody help me out in the configuration.Hi,
have u refered the below weblog of michal:
Mail Adapter (XI) - how to implement dynamic mail address
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Thnx
Chirag gohil. -
Receiver mail adapter error -mail not going to other domain users
in xi this error is coming in mail adapter -
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to MAIL FROM; Domain of sender address XXXat d rate of XX.XX.com does not resolve
any resolution.upto yday everything was working fine.i crosschecked scot settings they r ok.Hii,
In SXMB_MONI , its showing successful.
In RWB , its showing error
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to MAIL FROM; Domain of sender address XXXX does not resolve.
I checked mail id is perfect and settings r ok.
Pls let me know wat else we can check and rectify it. -
Error at Receiver Mail adapter modules
Hi,
We have implemented a receiver mail adapter for producing Excel file as attachment.
It is giving the error as follows:
Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of MessageTransformBean.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MessageTransformBean..
This configuration has worked well earlier, and suddenly it is throwing this error.
Please let me know what might be the reson for this.
Thank you.
Regards
Bhanu.
Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AM
Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AMHi,
I didn't use the fullstop.
Can anybody help me in resolving this issue?
Thanks. -
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 -
Hi All,
I am using Receiver Mail Adapter to send mails.
When i choose Message Protocol the mail goes. But when i change it to XIPAYLOAD the mail doesnt go.
I cannot find any errors in SXI_MONITOR or in adapter monitoring.
My file is in this format..
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
<Subject>Mail From XI new</Subject>
<From>kmadmin</From>
<To>[email protected]</To>
<Content_Type>text/plain</Content_Type>
<Date>2006/08/24</Date>
<Content>Test mail from XI</Content>
</ns0:Mail>
Tried both ways..
XIPAYLOAD without Mail Package
XIPAYLOAD with Mail Package
Can anyone temme where im going wrong..or any settings which i need to do.Bhavesh
<i>Am not sure which SP onwards this is applicable. But , did you select and try with MAIL PACAKGE also selcted.</i>
Tried using both wayz..
You dont need to create ,http://sap.com/xi/XI/Mail/30 namespace in IR.
The mail is going now..
just disabled
Content_type, Date in Mapping.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
<Subject>Mail ALert XI</Subject>
<From>kmadmin</From>
<To>[email protected]</To>
<Date>2006/08/24</Date>
<Content>SQL Server Is Not Working</Content>
</ns0:Mail>
Thanks
SUmit -
Regarding Receiver Mail adapter.
Hi experts,
iam looking at one off the weblog whick Michal Krawczyk have created.
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
in this weblog michal have told to download the XSD file from service market place and upload it in IR External definition it gives us target structure.What is the use off it, we can directly create the target structure.
And also one more dought what is the use off checking parameter in mail Attributes use mail package.I dont have much knowledge on mail adapter please help me in this issue.
i want to send parameters dynamically into receiver mail adapter in my project ie(TO,FROM,SUB and CONTENT) please send links and doc's on it.
Note: Helpfull answer will be rewarded.
Thanks & regards,
PhaniHi raj,
Once again thanks for the reply,I will explain my object,its is any 2 senarios in one object.
1) file to proxy were i upload employee details in to infotype2010 after inserting what ever error records i will l store them in error table.
2)ater geting error records if i get more then 25 i have to send file path and error records to receiver side. or if i get all sucess also i have 2 send sucess flag into receiver side.
but i haveto pick data from different systems and i have to send the data into different mail ids i have to generate TO FROM CONTENT dynamically.
onsite have prepared TS(Tecnical specs) in that spec they gave XIALL and SMTP.
so my question is using this parameters can i post them dynamically or not.
if YES ? then how??
please help me in this issue.
if u still dont understand give me ur id i will send my TS.
Thanks and regards,
phani -
Configuring Receiver mail adapter with dynamic email addresses
Hi,
I'm a newbie to XI and I have problems in configuring the Receiver mail adapter with the "Use Mail package" option selected. I am trying pickup a file (using file adapter on Sender side, picks up a simple XML file) and after mapping in XI, send the message as an email message to dynamic email addresses.
Everything works fine if I did not select the "Use Mail Package". But when I choose that option it errors out. I followed this blog posted on SDN -
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
The following XML message is my source
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/Somenamespace">
<ns0:Message1>
<ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
<Student>
<studentid>1</studentid>
<lastname>Studentlastname</lastname>
<firstname>Studentfirstname</firstname>
</Student>
<Mail>
<From>[email protected]</From>
<To>[email protected]</To>
<Subject>Test mail adapter</Subject>
</Mail>
</ns1:studentlisttest>
</ns0:Message1>
</ns0:Messages>
What I want to accomplish is, I have a simple message mapping where the Studentdetails are mapped to, lets say Customer details. For convenience lets keep it simple, StudentId --> Customerid, (student)Firstname --> (customer)Firstname, (Student)Lastname --> (customer)Lastname
I would like to get the Customer details as an XML attachment or in the body of an email with from, to and subject corresponding to that specified in the <Mail> node.
I followed the instructions posted on the blog and it works fine if I don't map the studentdetails to customerdetails. I did multimapping, with one source message (the xml file I posted above) and two target messages (customerdetails and Mail, which is the external definition posted on the blog). I beleive I'm missing something here. Could somebody please guide me through this?
Thanks
Karthikhi,
I still have not found the solution for this problem. Michal, your blog works fine when my source message has got only the mail details. As per your advice, I tried modified the structure of the xsd file as follows
<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:element name="CustomerlistExternal">
<xs:annotation>
<xs:documentation>Customer List</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Customername" type="xs:string"/>
<xs:element name="Customerid" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
My source message will be something like
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
<Student>
<studentid>1</studentid>
<lastname>abclname</lastname>
<firstname>abcfname</firstname>
</Student>
<Mail>
<From>[email protected]</From>
<To>[email protected]</To>
<Subject>Testing Mail adapter</Subject>
</Mail>
</ns1:studentlisttest>
</ns0:Message1>
</ns0:Messages>
I have mapped the <student></student> information to customerlist, with customerid --> studentid and customername --> firstname or lastname (for symplicity). This was a multimapping with one source and two target messages. My test mapping output is
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns2:Mail xmlns:ns2="http://sap.com/xi/XI/Mail/30">
<Subject>Testing Mail adapter</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
</ns2:Mail>
</ns0:Message1>
<ns0:Message2>
<ns2:CustomerlistExternal xmlns:ns2="http://sap.com/xi/XI/Mail/30">
<Customername>abclname</Customername>
<Customerid>1</Customerid>
</ns2:CustomerlistExternal>
</ns0:Message2>
</ns0:Messages>
So how would I get this part of the <CustomerlistExternal></CustomerlistExternal> part of the message as an attachment to the mail address specified in the <ns2:Mail></ns2:Mail> tags.
I'm definitely not understanding it right and am missing something. Could you give me step by step instructions to acheive this. I apologize for the trouble..this would be of great help to me.
Thanks
Karthik -
I am doing File -XI-Mail scenario.I am able to pickup the file but don't receive any mail.In RWB in communication channel monitoring I can see the error log for receiver mail adapter.The error is
"failed to send mail: java.net.SocketException: Network is unreachable: connect"
The configuration parameters I am using are:
Transport Protocol:SMTP
Message Protocol:XIALL
URL:smtp://Outlook server host
Userid:xxxxx
PWD:xxxxxx
I am at client network and the my outlook server is in my company network which we connect using VPN from client.Is this could be the reason for this error?
Please let me know if someone has come across such error.
Thanks,
Rekhahi,
>>>"failed to send mail: java.net.SocketException: Network is unreachable: connect"
probably there's no communication between your XI server and mail server machine and XI server cannot access the mail server
you need to report it to your network admin so it will allow the connection
or he will set up a mail server on the XI server machine
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> -
Hi,
I have this following issue in File to Mail senario,
contains of the file should go to the microsoft outlook,
but when I go to RWB Communication Channel Monitoring I am getting this error
Error as shown in mail receiving adapter in Runtime Workbench in PI -
failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found {}Mail at state 1
I have configured mail adapter with following parameters
Transport Protocol: SMTP
Msg protocol: XIPAYLOAD
Aapter Engine: Integration Server
Connection parameters for Mail server
URL: smtp://<IP address of the mail server>
Configure User Authentication: X (Check box is selected)
Authentication Method: Plain (from drop-down box)
Mail Attributes: X (Check box is selected)
Content Encoding: base64
I have also used namespace 'http://sap.com/xi/XI/Mail/30' and message type name 'Mail' while configuring the receiver mail adapter.
Thanks.Hi try using this xsd.
<?xml version="1.0" encoding="utf-8" ?>
<!--
SAP takes no position regarding the validity or scope of any intellectual property or
other rights that might be claimed to pertain to the implementation or use of the
technology described in this document or the extent to which any license under such
rights might or might not be available; neither does it represent that it has made any
effort to identify any such rights.
Copyright © SAP 2003-2004. All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative
works that comment on or otherwise explain it or assist in its implementation may be
prepared, copied, published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this paragraph are included on all
such copies and derivative works. However, this document itself does not be modified in
any way, such as by removing the copyright notice or references to SAP.
This document and the information contained herein is provided on an u201CAS ISu201D
basis and SAP DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-->
<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> -
Receiver Mail adapter Content type issue
Hello,
I am formatting the body of the receiver mail. The body of the email should look like below.
Dear PI User,
The following Interface has been successfully processed by the middleware PI system.
Please do not reply to this email. If you need more information please contact the Super User.
Regards,
SAP PI Team
The mapping looks fine and My source MT looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_Mail_Reply xmlns:ns1="http://test.com/Mail/Reply">
- <Reply> [0..unbounded]
- <Item> [0..unbounded]
<MESSAGE>Dear Business User, </MESSAGE> [0..1]
/Item>
- <Item>
<MESSAGE>The following Interface has been successfully processed by the middleware PI system.</MESSAGE> [0..1]
</Item>
- <Item>
<MESSAGE>Please do not reply to this email. If you need more information please contact the Super User.</MESSAGE> [0..1]
</Item>
- <Item>
<MESSAGE>Regards,</MESSAGE> [0..1]
</Item>
- <Item>
<MESSAGE>SAP PI Team </MESSAGE> [0..1]
</Item>
</Reply>
</ns1:MT_Mail_Reply>
The mapping works fine without errors and I get the target message as below after mapping-
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>ISAP PI Interface Status</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content>Dear Business User</Content>
<Content>The following Interface has been successfully processed by the middleware PI system.</Content>
<Content>Please do not reply to this email. If you need more information please contact the Super User</Content>
<Content>Regards,</Content>
<Content>SAP PI Team</Content>
</ns1:Mail>
t
The context of MESSAGE has been changed to Reply.
In the adapter I still get the following error.
Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: expecting end tag: {http://sap.com/xi/XI/Mail/30}Mail, but found {}Content at state 1
Please advise !!
Thanks,
Teresa
**I changed the receiver mail adapter to not use Mail package and I receive an email without errors with the Content as mentioned above. **Hi Teresa,
I think the problem is that you are using multiple "Content" tags. Have you tried to use only one?, you can concatenate all your text.
Check the page 3 of this document to know how introduce new-line character http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992?overridelayout=t…
Regards. -
Dynamic attachment name in receiver mail adapter for 1 attachment?
Hi,
seems to be a tricky thing....
The sender interface (file) picks up an xml file and a pdf document.
The receiver wants to get the xml file as a txt file and the pdf, both sent together by mail.
We are following this thread:
"Sending multiple attachments winthin a single Receiver Mail adapter in required format".
So far we are able to generate the txt file and send it together with the pdf to the recipient.
The txt file gets its name from the payload of the xml file.
Unfortunately the pdf should be renamed to the same name as the txt file.
And here we are stuck.
We generate the filename for the txt file in the mapping to the mail message (as usual ximail30.xsd).
But for the pdf we are only able to set a static name in the channel module page using
Transform.ContentDisposition.
Any ideas how to solve this are really welcome!!!!
(Solutions that do not talk about using a new module to be written are prefered.)
Regards
DirkHi,
seems to be a tricky thing....
The sender interface (file) picks up an xml file and a pdf document.
The receiver wants to get the xml file as a txt file and the pdf, both sent together by mail.
We are following this thread:
"Sending multiple attachments winthin a single Receiver Mail adapter in required format".
So far we are able to generate the txt file and send it together with the pdf to the recipient.
The txt file gets its name from the payload of the xml file.
Unfortunately the pdf should be renamed to the same name as the txt file.
And here we are stuck.
We generate the filename for the txt file in the mapping to the mail message (as usual ximail30.xsd).
But for the pdf we are only able to set a static name in the channel module page using
Transform.ContentDisposition.
Any ideas how to solve this are really welcome!!!!
(Solutions that do not talk about using a new module to be written are prefered.)
Regards
Dirk -
In Receiver Mail Adapter ,how to ignore SOAP Header attachment
HI Folks,
Am using Receiver Mail Adapter and am getting 2 attachments.
1. one is Soap header which contains Control records
2. payload
I want only Payload as attachment and need to ignore SOAP Header(AT00001.xml).
The configuration is as below:-Trasport protocol : SMTP
Message Protocol: XIALL
Please provide Inputs.
Thanks & Regards
Ashok ReddyHi Gagandeep,
Scenario: File------>mail( Bypass scenario)
i had posted file in FTP and am getting attachment properly but aditionally am getting ATT00001.xml as SoapHeader.this i need to ignore.
PFB Module Parametrs i used:
localejbs/AF_Modules/MessageTransformBean LocalEnterpriseBean transform
Modulekey Parameterattribute value
transform Transform.ContentDisposition attachment;filename=”Pocr_860.txt”
transform Tansform.ContentType text/plain
Regards
Ashok -
Receiver Mail Adapter message with PDF attachment
Hi.
We are trying to generate emails from the mail adapter that includes the plain text in the body of the resulting email and an attached PDF file. We receive the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:newMailRequest_MT xmlns:ns0="http:/pdk/sap/TorstenTest">
<Sender/>
<Receiver/>
<BodyContent/>
<Subject/>
<Attachment/>
</ns0:newMailRequest_MT>
I have set up an interface and mail adapter to be able to produce emails with plain text in the body. I used SAP note 748024 for this.
So right now I can make XI send emails with dynamic mail addresses. My problem lies in sending attached files with the mails as well.
I have read most of the threads in here, but none of them seem to answer just how to include the attachment. Which field in the 'Mail' message type is used for the attachment??
What needs to be added to the communication channel and adapter for it to include attachments, while the body of the mail still keeps the plain text message??hi
I have used the following links to send the file as an attachement and as payload.
so it may help u.
links:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options , mail attatchment
Sender mail adapter - PayloadSwapBean - Step by step - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
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/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
points if helpful.
regards
sreeni
Maybe you are looking for
-
Hi there, I have a problem I've been trying to solve for days but just can't find the answer anywhere on the internet. I have a large, good quality photoshop file (2268 x 979 pixels, resolution 300 pixels per inch). When I place it into InDesign, the
-
HP Simplepass no longer functionin​g properly.
I recently had to refresh my computer, once that was completed My simplepass was no longer functioning and have been unable to use the biometric scan. When I go to control panel and look it up, this is what is displayed. I have gone through the proce
-
After installing the security update from 21.04.2015 my Phone does not start any more
Hi everybody, I have installed the update 10052 for my Lumia 535 DS and now it can't be started any more. When starting the phone the two gears appear and start moving but than it's turned off. This happens each time I'm trying to start the phone. An
-
Cannot load Flash Player, but for another Reason
I'm having a dickens of a time trying to load Flash Player 10. My error message says that it can't because Chrome is running. But nothing else is running. I've tried all the troubleshooting suggestions. Anyone else ever have this problem ? Please hel
-
Deliberate use of dblink between schemas of a same database
As I've read in a post from Igor: "The generated code is not using the DB links if the source and target are in the same DB" This is an interesting feature but is there a way to turn it off ? As a matter of fact, a database link provides powerful sec