Receiver mail adapter problem
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,
Rekha
hi,
>>>"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>
Similar Messages
-
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 -
Receiver Mail Adapter, Mail Package with Payload as Attachment
Hi Everyone,
I have spent the better part of the day today searching and testing all of the different combinations that I could think of to solve this problem, so please don't just do an SDN search for me and cut/paste in the links as there are too many contradictive answers piling up over the last year.
I am trying to use a Receiver mail adapter to send some data using the mail package, and I want to have the <content> tag be in an attachment. I am using mail package to dynamically set the mail address, but to also try and turn my data into a csv file that the recipient can open in Excel.
My mail package sets the following values:
<Content_Type>text/plain</Content_Type>
<Content_Disposition>attachment</Content_Disposition>
<Content>Sample Text</Content>
This blog is basically what I am trying to do:
<a href="/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword:///people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
But no where in here is he setting ContentDisposition, and he is (potentially) not using the MessageTransformBean module.
It is unclear if I need to use the MessageTransformBean to make this work?
Questions:
1) Do I need to use the MessageTransformBean?
2) Do I need to set the ContentDisposition in the mail package?
3) Does Service Pack matter with these settings? We are on SP15 upgrading to SP18 very soon.
Thanks
PeterHi Peter,
try:
<Content_Type>text/plain;name="file.csv"</Content_Type>
<Content_Disposition>attachment;filename="file.csv"</Content_Disposition>
<Content>Sample Text</Content>
Regards
Stefan -
Column header in receiver mail adapter
Hi experts,
I have a proxy to mail scenario in which I send a mail with a file attached.
Is it possible to put column headers in the attachment, possibly without changing the mapping?
I mean, working with module configuration in communication channel?
Thanks
Fabio Bonihi
There are several scenario's
have a look at following :
/people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
/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
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
and for further
you can follow
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
i hope this will help you.
Pls : Reward points if helpful
Vishal -
Change "subject" in Receiver Mail Adapter Module
Hi all,
following the "How To Guide" I developed a Module for my receiver mail adapter. Everything works fine.
Now my question: is it possible to change the content of the mail-"subject" in the module?
Your help is appreciated.
CarmenHi Stefan,
maybe I should describe my problem more detailed:
My scenario is RFC-XI-Mail. I use the mail package to determine the receiver of the mail dynamically. Another thing I want to do, is to attach a file to this mail which is located on the server. So far so good.
My problem is, that the name of the file (which I need in my adapter module) changes for every mail. So what I need is the possibility to deliver it to the adapter module.
I found out that it is possible to read the payload. So my idea was to hand it over in one of the fields like "subject". But now I want to change the subject afterwards...(delete the filename).
Maybe you have another idea?
Regards
Carmen -
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 -
Receiver Mail adapter to be unbounded
Hi experts, I need to send by receiver mail adapter an unbounded amount of mails. Also, I need to use the Mail Package to implement dynamic mail address.
I'm actually using the xsd posted in note 748024, but it sends only one mail per call.
Thanks in Advance,
Roberto SolotunHello Roberto,
I was facing the same problem.In our case,XI was picking a CSV file from R/3.This file had multiple records with email id as a field.This CSV file had to be split and records need to be segregated based on email IDs .These records then had to be sent as CSV attachment to respective email IDs.
Mail.xsd doesn't support multiple emails.I could achieve this with two mappings and a BPM:
1) 1:N Message Type of CSV to Message Type of CSV with occurrence 1..unbounded
Here ,I segregate records based on email IDs.
2) 1:1 Message Type of CSV to Mail.xsd
3) A BPM which has a ForEach Block where each split CSV is passed and a mail is sent.
Mapping 1 is used after receive and mapping 2 is used in ForEach Block
Kindly let us know if this helps you.
Thanks.
Regards,
Shweta -
Hi,
I am having problems to get my sender mail adapter running.
I configured it with the following parameters:
<i>Transport protocol: POP3
Message Protocol: XIALL
Adapter Engine: Integration Server
URL: pop://server
username + pw
poll intervall: 1 Min.</i>
The adapter is active and if I look into the adapter monitoring everything seems to be fine (green light).
But the adapter doesn't poll the messages from the mail account and I cannot see any activity in the message monitoring.
If I try the same configuration with Thunderbird everthing works fine. Also my receiving mail adapter works without any problems for the same account.
Do you have any idea what the problem could be or how I could find out what my mail adapter is doing?
Thanks,
AndreasHi all, hi Andreas,
have you solved you problem? Could you please describe how you did it.
I have the same situation and I haven't any ideas how can I manage it.
I checked all parameters and compared they with documentation. Everything seems to be ok.
I didn't see any messages in the message monitoring, but in the chanel monitoring I found follows:
exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
I tried the same configuration with email client and it worked. I tried change POP on IMAP with URL imap://server/folder. It didn't work also.
Could you please help me?
Thank you in advance,
Anna -
Configuring the Receiver Mail Adapter
Hi,
I have to send data in a flat file via email using XI. I have configured a File adapter to read the XML file from sender. I have configured receiver mail adapter at the other end. I get success message in the SMXB_MONI transaction. But no mail is received.
My receiver communication channel settings are as follows:
Adapter type: Mail
Transport protocol: SMTP
Message protocol: XIPAYLOAD
Adapter Engine: Integration Server
URL: smtp://mail.xyz.com:25
Mail Attributes: Use Mail package (Source file has from/to Email Addresses)
I tried differnet cmobinations of SMTP server address (with/without port/using http:// etc), but no success.
Can anyone tell me what the problem could be and how to go about this?
Thanks in advance.
Riyazhi riyaz,
these r some of the links which can help u to configure ur mail adaptor.
https://www.sdn.sap.com/irj/sdn/weblogs? blog=/pub/wlg/1798
Info on Email Receiver Adapter
Mail Adapter Configuration in XI 3.0
regards
jithesh -
Mail package in receiver mail adapter
Hi ,
I am trying to put XIPAYLOAD with <b>USE mail package</b> option.I have gone through the blogger posted my Michal on this...
when I download the Document mentioned in the blog for mailpackage to create the message do I need to use the <b>namespace</b> "http://sap.com/xi/XI/Mail/30" as it is or I need to replace the namespace in the document with my namespace...
some one could you please explain it little clearly...what is the use of this namespace..and how do I exactly proceed to make use of this document...
Thanks a lot.....hi
There are several scenario's
have a look at following :
/people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
/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
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
and for further
you can follow
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
i hope this will help you.
Pls : Reward points if helpful
Vishal -
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. -
Receiver Mail Adapter - Mail body as attachment
Hello friends,
I have scenario = File -> XI -> Mail
The scenario is working but the problem is body of the email is coming as attachment in the mail client.(outlook express)
Is there any way to avoid the body coming as attachment.
Regards
Ramesh PHi Ramesh,
You can use the MessageTransformBean in the receiver mail adapter for this.
Refer this for the parameters which you can use
http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
Regards,
Chandra -
Having Some unknown characters in my file of Receiver Mail Adapter
Hi All,
I have a unique problem, I am having special characters( #S@u201D E" E$ u201Däu201Där 4TåE$R D0u201CC3 u0192 c@u201DÔôETÄPu201Du201Eu20220u201D 3@u201C ó ró# u20ACu201C ó# ó# u2019 ) in text file of Receiver Mail Adapter.I am providing you a part my input text file
1747021 000070 0001 Production Baseline ZTAN 100A 0039 2204229-1 50 PLANT3002 Honeywell Aerospace Bournemouth - R 3212774 NOZZLE HIS M22 12/31/2008 01/05/2009 1.000 1.000 1.000 01/05/2009
1745558 000100 0001 Production Baseline ZTAN 100A 0039 801137-1 80 304030 LUFTHANSA TECHNIK AG 45111378001 WHEEL HIS M22 12/30/2008 01/12/2009 3.000 3.000 3.000 01/12/2009 COOP Legacy Notes - Note Type: 07N UPDATE AS OF 11/8 SH AVS Legacy Notes - Note Type: AB 1. A QTY OF 53 NEW PARTS WERE PURGED ON 3-5-99 PER KAREN MOSS' REQUEST. PARTS ARE SUSPECT OF BEING DAMAGED DUE TO BEING STORED IN ASRS IN A METAL TO METAL SITUATION.
1740335 000100 0002 Production Baseline ZTAN 100A 0039 3176647-4 80 341734 SAUDI ARABIAN AIRLINES CORP 8233950 VALVE, CONTROL Jaroslav Kral M18 12/24/2008 12/31/2008 1.000 1.000 1.000 01/23/2009 COOP Legacy Notes - Note Type: 07N D PARTS NEED TO CHEC WITH LUPE WIN ISSUIN COOP Legacy Notes - Note Type: POG REPLCS 3176647-3 AS A MANDATORY CHANGE. 3399100-11 V17138 (TAKES -4 TO -11) 3399100-11 V17139 (TAKES -9 TO -11) 3399100-10 V17140 (TAK
1734808 000100 0002 Production Baseline ZTAN 100A 0039 3883240-6 80 300168 IBERIA LAE 48017888601 CONTROL FUEL HIS M13 12/20/2008 01/10/2009 1.000
1.000 1.000 04/29/2009 AVS Legacy No
Can any one help me out?Hi Stefan,
I am Using Transport Protocol as IMAP4
Message Protocol as XIPayload
Connection Parameters to Mail Server
URL -
.mycompany.com
Mail Attributes
Use Mail Package
content Encoding base64
Keep attachments
I have Used the following Modules
Processing Sequence
Module Name Module Type Module Key
localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean Payload
localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Transform
sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
Module Configuration
Module Parametername Parameter Value
Payload swap.KeyName content-type
Payload swap.KeyValue text/xml
Transform Transform.ContentDescription MyReport.txt
Transform Transform.ContentDisposition attachment
Transform Transform.Contenttype text/xml -
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
Maybe you are looking for
-
When I am in safari, I try to bookmark a web page and it is not doing it, it worked before I updated to the ios6 version, does any one know why ? It pulls up the screen to save it but then it is not showing up on the bookmark drop down menu, it conti
-
FT akm with 802.1x authentication failed at eapol key 2(invalid MIC)
My testing controller s/w version is 7.0.250.0, and testing clients were iphone5, iphone6 and macbook pro13, all debug inform showed failed because of invalid MIC, is this a bug or other reason ? WLAN configuration: (Cisco Controller) >show wlan 100
-
I need to build a multiday timer.
I need to build a multi day timer with setable on/off cycles using Lookout. Has anyone ever done this? I have tried several things, but nothing seems to work right.
-
How to set up RemoteCommitProvider properly?
Even though we may set a RemoteCommitProvider by using the property props.setProperty("kodo.RemoteCommitProvider", "tcp(port=22222)"); The app does not actually starts listening on this port until we do the following on the PersistenceManagerFactory
-
Search for the first column in a table?
I have numerous tables that I've setup up with Paragraph, Cell and Table styles. They are linked to Excel files. Every time they are updated everything updates perfectly, except one column. All the columns are right justified, but the first column an