Mail adapater with mail package option support cc ?
Hi,
I have scenario to sending mail information to multiple receiver. does mail adapter support cc as well ?
if yes which field that i have to use ?
Thank you and best regards
Fernand
Hi Fernand,
If you want to update the Mail Header dyanmically from message mapping step, you might consider using Adapter Specific Message Attributes. So instead of using Mail Package and try to extend the XSD to have "Cc" attribute; use ASMA to update the XI message header at message mapping step and then in the Mail CC under Advanced Tab Page set Use Adapter Specific Message Attributes and Variable Transport Binding . The following attributes in the message header are available for processing :
User
Authentication Keys
Mail header 'from' field
Mail header 'to' field
Mail header 'Cc' field
Mail header 'Bcc' field
Mail header 'subject' field
Mail header field for reference to mail which is being replied to
Mail header 'reply to' field
Mail header field for mail client program
Mail header field for delivery acknowledgement
Mail header field for priority
Mail header field for message importance
Hope this helps.
Regards,
Suddha
Similar Messages
-
Error in mail adapter whilst using 'mail package' option
Hello,
I am using receiver mail adapter. Its working fine when I do not use 'mail package option'. But when I use mail package option, this error comes in
Message processing failed. Cause: com.sap.aii.af.modules.conversion.xml2plain.ConversionException: No data is allowed on this structure level (2) at XML element Mail,Subject
This is the sample of payload:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>Data Update to Portal failed</Subject>
<From>sender email id/From>
<To>receiver email id/To>
<Reply_To />
<Content_Type>text/plain</Content_Type>
<Content>Error: Undefined Error</Content>
</ns1:Mail>
Any idea what should I do to get it working. Alternatively, is it possible to use the dynamic value into the email 'TO' field.
Thanks in adavanceHi All,
I need the same info in my requirement . The Scenario is MAIL > FILE . THe Vendor sends the email with Invoices ( An Attachment) to a mail server and the attachment has to be moved to the network folder (File )
Here , I used IMAP4 Protocol in MAil Sender CC
I wanted to know is it required to use :localejbs/ AF_Modules/PayloadSwapBean and any module configuration to petch the attachment ? -
How to maintain mail package option features with ASMA in mail adapter
Hi Friends,
While going through mail adapter sap notes I found that Mail package is deprecated, Can any one please give me an idea how to get these features that is header information (TO,From,Subject) with ASMA(Adapter specific message attributes)
Best Regards
RajThis [link |Sender Mail Adapter ASMA issue - due to limitation of length upto 200 only.;address your issues... using header attributes length of the field < 200 might help.
Have you seen help site
http://help.sap.com/saphelp_nwpi71/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm -
Mail Adapter: Working with mail packages
Hi All
I am having a receiver mail adapter.
I am using mail package to send data as a text file attachment.I am getting the following error:
failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found TM_Mail at state 1
How can i override my current namespace with the recomended namespace 'http://sap.com/xi/XI/Mail/30}Mail'??
Thanks
ChandraI am trying to use the mail package as well and no e-mail delivered. However, when I do not use the mail package an use mail attribute and remove the code below it works fine.
<?xml version="1.0" encoding="UTF-8"?>
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<subject>824 test</subject>
<from>edi/@/na.modine.com</from>
<to>s.m.posnanski/@/na.modine.com</to>
<reply_to>edi_support/@/na.modine.com</reply_to>
<content_Type>text/plain</content_Type>
<content>
Hello
</content>
</ns:Mail>
Can some provide the settings that are needed in the Module tab when using the "Mail Package" option?? -
Using mail package in file to mail scenario
For sending the mail in proper email format ,
we have to check the USE MAIL PACKAGE option.
the corresponding TO, FROM ,SUBJECT and CONTENT
need to be handled in mapping..
Can anyone tell me which field in the mapping will match the req fields ????<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Hello</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content>row1
row2
row3
row4</Content>
</ns:Mail>
You can use UDF example to do this. Assume your original message payload is:
<root>
<text>row1</text>
<text>row2</text>
<text>row3</text>
<text>row4</text>
</root>
Create a advanced user defined function like this:
public void AddText(String[] a, ResultList result, Container container){
codeString b = "";
for (int j=0;j<a.length;j++)
b = b + a[j] + "\n";
result.addValue(b);[/code]
Now you connect
text -> addText -> Content -
PayloadZIPBean with Mail Package... is it possible?
Hi,
In proxy to file scenario, I send mails from PI with data received from proxy as attachment. I also need to zip the attachment.
I will be getting the email address dynamically, hence I should use Mail Package with 'Keep Attachments' option. Now the problem is if I use mail package since the <content> tag data is taken as mail attachment, can I use PayloadZipBean in receiver mail adapter to zip the attachemnt?
I tried using the follwoing adapter module in receiver mail mail adapter but ended with an error.
Module Name: AF_Modules/PayloadZipBean Module Key: zip
Module Config:
zip zip.filenameKey payloadName
zip zip.mode zipOne
Error:
org.xml.sax.SAXParseException: Content is not allowed in prolog
Regards,
SreedharHi Sreedhar,
Have you looked at this help link?
http://help.sap.com/saphelp_nwpi711/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
Also see :
Zip Payload using PayloadZipBean Module Processor
Regards,
Ravi Kanth Talagana
Edited by: Ravi Kanth Talagana on Oct 22, 2009 5:13 PM -
Help with Treo 650 e-mail package selection
I recetnly added e-mail service through Verizonwireless. The tech there said that Verizon wireless synch is no longer supported and its versions are buggy and unreliable. He loaded Chatter version 3.0.18 mail package and it works OK but when I switch applications from Chatter mail (home button scroll to web) the web app goes white screen and a soft reset is the only way to get the Treo back.
Does anyone know of a reliable e-mail pakage or a way to prevetn this crash?
Post relates to: Treo 650 (Verizon)timdon1 wrote:
He loaded Chatter version 3.0.18 mail package and it works OK but when I switch applications from Chatter mail (home button scroll to web) the web app goes white screen and a soft reset is the only way to get the Treo back.
What if you click the calendar or contacts button in between? Not to say you should always have to do that, but just wondering whether there is something special about going to the browser.
timdon1 wrote:
Does anyone know of a reliable e-mail pakage or a way to prevetn this crash?
Verizon sold the 650 with a CD that contained Palm's VersaMail program. I think it probably lacked some of the features of Chattermail, but perhaps it won't crash. -
I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server
I may be way out, but do you know about this product, would it help integrate the Macs for you.
https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf -
Dynamic attachment name with receiver mail adapter and use mail package
We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload).
I could probably do this using the adapter module (as per the following link),
http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Set%20Attachment%20Name?bc=true
I would like to explore if this would be feasible using Mail package and XI payload.I already have a Java mapping that is converting the input XML to required Output format. If I am using Mail package (XI Payload), how do I go about sending this Output XML from java mapping as attachment to email id available in the input payload?Hi,
1) XML payload as attachment (with dynamic name)
2) recipient (recipient email id is part of input xml payload, but not part of the mapped XML payload)
These two is possible by using Mail Package. You have a standard xsd for mail package which you can download from the SAP Note 748024.
The xml created in you java mapping which will be your attachment should be put into the <content> tag of the mail package xml structure. and the file name can be set in the <Content_Type> tag.
<?xml version="1.0"; encoding="UTF-8"?>
<p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
<Subject>My Invoice</Subject>
<From>from email address<;/From>
<To>to email address</To>
<Content_Type>text/plain;name="MyFile.csv";</Content_Type> --> file name here
<Content>123;A49;aaa</Content> -> attachment xml here
</p2:Mail>
And you have to select MailPackage in the receiver mail adapter.
Regards,
Aravind -
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 -
Issue with mail package - namespace
Hi All
I am trying to use mail package in my receiver mail adapter.
The mandatory elements for using mail package are:
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Hello</Subject>
<From>sender email</From>
<To>receiveremail</To>
<Content>This is a mail</Content>
</ns:Mail>
How can i get the above specified namespace? How can i override my existing namespace with this new one?
As i am using message mapping, I spicified message type's 'XML Namespace' field as "http://sap.com/xi/XI/Mail/30".
But even this doesnt help.
Thanks
ChandraI am also trying to use the namespace. All seems to be working but I do not get the e-mail message sent to me. This what shows in my Technical routing payload. (FYI had to replace the "at" sign with "-" for this posting due to the limits for the forum software.)
<?xml version="1.0" encoding="utf-8" ?>
- <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<subject>824 test</subject>
<from>edi-na.modine.com</from>
<to>s.m.posnanski-na.modine.com</to>
<reply_to>edi_support-na.modine.com</reply_to>
<content_Type>text/plain</content_Type>
<content>Hello</content>
</ns:Mail>
I am usingXSL as an attachment and have the floowing defined in Module.
Processing Sequence
localejbs/AF_Modules/MessageTransformBean
CHAN
localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
email
Module Configuration.
CHAN Transform.ContentDisposition attachment.filename="file.html"
CHAN Transform.ContentType text/html;charset=utf-8
This works fine when not using "Mail Package". I want to use mail package to be able to have a dynamic subject line for the e-mail.
Thanks.
Scott -
Hi,
I have to send a flat file as attachment through the mail adapter in combination with the mail package because I have to communicate with several partners and I want to determine dynamically the "To:" depending on a field in the source structure (an IDoc).
The scenario is almost complete. I've created the file as mail attachment using the MessageTransformBean module and it works fine but how can I map the xml structure needed for the mail package?
I've already check the following weblogs but I didn't find the answer to my question.
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
/people/srinivas.reddy/blog/2005/02/11/model-driven-architecturemda-for-dummies
Thank you!
Ciao
StefanoHi Stefano,
Refer to the How-to Guide on Mail Adapter at the below link.
https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202&_OBJECT=011000358700004556712005E
Rgds,
Sam Raju -
Hi all,
I have a interface PROXY - MAIL.
I need to generate the attachment name dynamically, send an attachment and fill the body of email. I'm using Mail Package, according to note 748024.
But I do not know how to fill the body of email and send attachment.Could someone help me?
For the attachment name dynamically, I used the link: http://wiki.sdn.sap.com/wiki/display/SI/DynamicEmailAttachmentnameforReceivedMailsFrancis,
Issue resolved.
I didn't use the adapter module.
I use the Mail Package and follow the links:
/people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
send a mail with a body and attachment
Thanks. -
Is there already an Intelligent Mail Package Bar Code created with InDesign?
Is there already an Intelligent Mail Package Bar Code created with InDesign? Starting now the USPS will be tracking this newer bar code, and I would like to know if it can be done with InDesign instead of Planet Press.
No.
-
Mail Package with XML attachment
Hi Everybody,
I am using Mail Package to implement dynamic mail.
The email is sent successfully, the problem is that when I try to open my XML attachment and the error 'The page can not be displayed' appears in my browser.
I changed charset from ISO-8859-1 to UTF-8. But it still didn't work.
Here is the information in my content_type tag:
text/plain; charset=UTF-8 ; name=NFe.xml
Please anyone could help me ?
Regards,
DanielaThanks for your reply.
In fact the right value for Context_Type tag is application/xml; charset="UTF-8"; name="MyFile.xml"
And I also removed the values in the Tags "Content_Description" and "Content_Disposition".
Now it is working fine.
Regards,
Daniela Machado
Maybe you are looking for
-
How can I get the console Output generated by a exe file
when I am trying to use method getOutputSteam of Process to gain the outputStream,I got nothing! I have also tried to use stream redirect,also no result! please help me! Thank you in advance! my main code are below: Process ps=Runtime.getRuntime().ex
-
After Update Bluetooth is not available - any ideas?
Hi After running the update I lost all my menu icons as did a few others by the sounds of it. Fortunately I was able to re-enable them all manually. I forgot about bluetooth though as I wasn't using it at the time. I've since re-started my powerbook,
-
Upgrade to ECC 6 - Changes in ABAP Features
Hi Fiiends, Dear friends we are in process to Upgrade from version 4.7 to ECC6. Can someone please help me with documentation about changes in ABAP features ar any new features available in ECC6 I have seen that there are ABAP debug
-
Hello, I can't install Photoshop CS5 under mac because of the format of my HDD Journaled with Capitol and minor letters. Is there a way to get it installed? Thank you Andreas
-
Hi I'm trying to rent a movie and it won't let me it keeps saying u need to sign in and when I'm doing it it keeps saying declined. I don't now what to do Cheers