Howto send a mail with 2 attachments

hi experts,
i have to realise the following scenario:
- a customer sends us invoice-data via webservice
- sap-pi has to copy the payload
- sap-pi adds some default-values the new payload
- at the end i have to send an email with the original payload and the modified payload
  (every payload as a separate attached file)
is this possible??
could anyone describe me the steps i have to do?
thx in advance,
dieter

thx for your answer - we solved our problem with a bean that we implemented in the communications channel of the sender.
our next problem is that we want to rename the attachments. we made the following settings in the communications channel of the receiver:
1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     1
2     localejbs/AF_Modules/PayloadSwapBean     Local Enterprise Bean     swap
3     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     2
4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
1     Transform.ContentDescription     untitled.xml
1     Transform.ContentDisposition     attachment;filename="original.xml"
1     Transform.ContentType     text/xml;name="original.xml"
swap     swap.KeyName     payload-name
swap     swap.KeyValue     attachment-1
2     Transform.ContentDescription     invoice
2     Transform.ContentDisposition     attachment;name="invoice.xml"
2     Transform.ContentType     text/xml;name="invoice.xml"
the message looks like this:
<SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
- <SAP:Payload xlink:href="cid:original-ID.xml">
  <SAP:Name>attachment-1</SAP:Name>
  <SAP:Description>attachment</SAP:Description>
  <SAP:Type>ApplicationAttachment</SAP:Type>
  </SAP:Payload>
- <SAP:Payload xlink:href="cid:payload-8687af70bfd611dfb3f700e000c5720c<at>sap.com">
  <SAP:Name>MainDocument</SAP:Name>
  <SAP:Description>Main XML document</SAP:Description>
  <SAP:Type>Application</SAP:Type>
  </SAP:Payload>
  </SAP:Manifest>
in our mail, the payload maindocument is an attachment with the name "invoice.xml" -> this works
but the second attachment in the mail is named "untitled.xml" and it's not possible for us to rename this attachment to "original.xml"
any ideas???
thx in advance

Similar Messages

  • Slow up loading for sending E mail with attachments

    Slow up loading for sending E mail with attachments. It takes a long time to send most attchments. I'm on cable and had no problems prior to changing to Mac.com

    You need to start in the app that contains the file that you want to send as an attachment, and use that app's functionality (assuming that it has it) to select the file and connect it to an email - you can't start in the Mail app itself

  • How to send e-mails with attachments using microsoft exchange servers?

    I was wondering if there was a way to send e-mails with attached data files.  The e-mail server utilizes a Microsoft Exchange Server.  I would appreciate any help that is provided.

    What version and type of development system of LabVIEW do you have. You have the SMTP Email Send File and SMTP Email Send Multiple Attachments in all except the base package.

  • Cannot send e-mail with attachments. have aol mail.

    i have aol mail. everytime i try to send mail with pictures, i get an error message saying server
    http,smtp cannot be found. seems like i cannot send any attachments.
    == This happened ==
    A few times a week
    == March

    Hello Andy.
    First of all, and although possibly not related to your problem, I will remind you that the version of Firefox you are using at the moment as been discontinued and is no longer supported. Furthermore, it has known bugs and security problems. I urge you to update to the latest version of Firefox, for maximum stability, performance, security and usability. You can get it for free, as always, at [http://www.getfirefox.com www.getfirefox.com].
    As for your problem, read this support article. Hopefully it will be helpful:
    http://support.mozilla.com/en-US/kb/Websites+look+wrong

  • How to Send E-mail With Attachments

    <Sorry, if this is in the wrong forum>
    I want to be able to send e-mails from a procedure having attached a file which is retrieved from a BLOB.
    I found Note:120994.1 on Metalink. This note describes how to do this with Sun's JavaMail and a Java Stored Procedures. Unfortunately, it takes the attachment from the file system of the OS, not from a BLOB.
    Has anyone adapted this JSP to retrieve attachment from a BLOB? Is it possible? Maybe it is easy, but unfortunately I don't have experience with Java.
    Or has anyone another approach for this task?

    You can create a link that sends an email message (mailto:)
    http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Article s/MailLinks.html#//apple_ref/doc/uid/TP40007892-SW1

  • I send e-mail with attachments but they dont show in folder

    I am sending e-mails using MacMail and if I send one with an attachment it doesn't show in the sent folder, although the e-mail has been sent and received. Can anyone help me or tell me why ?

    Hello, and welcome to the Discussions.
    Is this a POP or IMAP type account? If the latter, what are your selections in Mail Preferences/Accounts/Mailbox Behaviors regarding Sent messages?
    Are you reporting that you can send, from within the Mail app, a message without attachment and it will be archived in the Sent mailbox, but not if it has an attachment?
    Ernie

  • How to create a hyperlink to send e-mail with attachments (INSDESIGN CS6 for DPS)

    Hello,
    I need to create a hyperlink button that sends e-mails having images as attachment. Can you please help?
    Thank you.

    You can create a link that sends an email message (mailto:)
    http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Article s/MailLinks.html#//apple_ref/doc/uid/TP40007892-SW1

  • Problems sending e-mail with attachments

    Hi.
    When I try to send a photo as an attachment to an e-mail the phone won't send it unless I am connected to wi-fi, not through my mobile connection. Is it possible to change these settings? I can send/recieve 5GB for free each month through my mobile service provider, so that shouldn't be a problem...

    When you are trying to send over your wireless carrier is it 3G?

  • Can't send e-mail with attachments, what's wrong?

    This problem seems to be intermittent. Regular e-mails work fine but as soon as I add an attachment the program keeps trying to "connect" but never completes the process.

    Make sure that your anti-virus software isn't blocking the uploading of those files.

  • Cannot send mail with attachments-plain mail its ok. Any ideas?

    Out of the blue I cannot send e-mails with attachments (any kind). Mail without attachments go out without problems.
    Very weird.
    I have an iMac, mac mail 5.2. and Lion.
    Please help.
    Thanks

    Perhaps the mail server has a size limit that it allows. Might try a free web service and see if that will work for those attachments.

  • How to send mail with attachments - ALBPM 5.7

    Hi All,
    I am new to BPM,
    Someone could help giving me a example of Send Mail with attachments in Aqualogic Studio 5.7?
    thanks,
    Renata

    nombrefichero="C:\\Temp\\test.doc"
    subject as String="Subject"
    message as String="Message"
    mailAttachment = Fuego.Net.MailAttachment(source : BinaryFile.readToBinaryFrom(name : nombrefichero), fileName : "test2.doc")
    mailAttachments[0] = mailAttachment
    correo as Mail
    correo.attachments = mailAttachments
    correo.contentType = "text/html"
    send correo
    using from = "[email protected]",
    recipient = "[email protected]",
    subject = subject,
    message = message

  • Receiving mail, but can't send mail with attachments?

    Hello,
    I can't send mails anymore, I have been able to send some without any attachments (i.e. reply doesn't work as it automatically attaches the original text). This started 3 days ago. Also, my mail doesn't seem to recognize powerpoint and word docs., but I a know the people who have send me such files do not have VISTA. When I choose "open with" then it works. So I have 2 problems, one being moe urgent then the other.
    1) can't send mail with attachments
    2) .doc (word), .pps (powerpoint)attachments are not always recognized.
    thank you all!!!

    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if it then works

  • Sending mails with attachments using oracle 8i

    Hi,
    Could anybody please send a sample code for sending mails
    with attachments using oracle 8i.
    Thanks in advance

    For oracle8i there is an example package from OTN:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
    Hop this helps,
    Michiel

  • I re-send a mail with 3 pdf attachmets to an outlook account and the attachments do not arrive to the receiver, if the receiver is a Windows PC. If the receiver is an iPhone the attachments can be accessed til the moment Unload the full message is pushed

    I re-send a mail with 3 pdf attachmets to an outlook account and the attachments do not arrive to the receiver, if the receiver is a Windows PC. If the receiver is an iPhone the attachments can be accessed til the moment Unload the full message is pushed

    It is NOT legitimate. It is SPAM
    The latest Firefox release is 7.0.1 which you should update to by visiting http://www.mozilla.org/en-US/firefox/new/

  • Geary cannot send mail with attachments

    I've been using Geary, a mail client, and I've never been able to send any mail containing attachments. The same mail, meanwhile, gets through if I use Thunderbird. The exact messages which Geary posts if I run it through a terminal are:
    ** Message: smtp-client-session.vala:80: Unable to QUIT: Error writing data to TLS socket: The specified session has been invalidated for some reason.
    ** Message: smtp-client-session.vala:88: Unable to disconnect: Unable to shutdown socket: Transport endpoint is not connected
    These two messages keep repeating. There is no problem with mails not containing attachments. Has anyone else had the same problem? Or is this a bug I should be reporting upstream?

    Perhaps the mail server has a size limit that it allows. Might try a free web service and see if that will work for those attachments.

Maybe you are looking for

  • Problem with Select Statements

    Hi All, I have a performance problem for my report because of the following statements. How can i modify the select statements for improving the performance of the report. DATA : shkzg1h  LIKE bsad-shkzg,          shkzg1s  LIKE bsad-shkzg,          s

  • IMovie file won't open in quicktime, Everything is updated!

    It is a 29 min. .mp4 file that should be compatible with quicktime but only getting error messages. Once it played 4 min of it and that was it. Trying to export the video to an SD Card or Disc. Is there something I need to do when 'sharing' the file

  • Users with two monitors

    Hi: I have an application using either JInitiator 1.3.x or Sun Java Plug-In 1.4.2.x which works fine. But I have several users with two monitors and if the user move the application to the secondary monitor the menu didn't work (using JInitiator or S

  • Can't Download PDF and ZIP Oracle Documentation

    Hi! I love you all at OTN. You are doing a great job, enlightening us about Oracle technologies. Well done. I experienced a problem while trying to download the Oracle documentation files in pdf format. All the download management software I tried to

  • Md5 of application

    I hope you'll forgive a somewhat-modified follow-up to a previous question, but I'm still having problems. Often when downloading an application, the application includes an "md5" code for security. I'm trying to generate such a code in Unix for comp