How to attach two files in the send mail action

Hi experts
I want to attach two files in the send mail action . I tried using ; as a separator but it did not work .
Regards,
Antonio R . Rubalcaba

Thanks Jeremy,  
Yes I am contemplating the another threat .  I still want to send two files because the two files have very distinct type of information .  The first one is operational and the second one is about statistics .  Of course that I can send both type of inforrmation in only one file . I just want to save time to the end user and let him select what infomation he wants to see .
Thanks and my best wishes for you and your family ,
Antonio

Similar Messages

  • How to attach a document using the Send mail component

    Hello,
    I would like to know how to attach a document in a email using the Send mail component.
    There are these nodes into the atom but I don't know how to use it.
    <attachment doc="/ds/grp/doc" pltype="xml">
              <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/vpf:Msg/vpf:Body"/>
            </attachment>
    Does anyone know ?
    Thank you.

    Hello All,
    Regarding to the mail adapter, here are some updates:
    1. B1i will support sending HTML attachemnt via "Send Email" atom in B1 882 PL09. An example here:
    <attachment doc="test.htm" pltype="htm">
    <![CDATA[<html>
      <head>
        <title>Enter the title of your HTML document here</title>
      </head>
      <body>
        <p>Enter the body text of your HTML document here</p>
      </body>
    </html>]]>
    </attachment>
    2. In addition, B1i will support sending binary attachment and sending html content in Q1,2013.
    Thanks & Best Regards,
    Qiaoli

  • How to attached Two file in Email.

    Dear Friends,
    i have an email optoion in my Application .But right now it send mail with out attchment.i want to send meil with attachment .
    i have Two File browser item to attach file ,Please tell me how can i attach these two file with email
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000):=:P1_TO;
    from_add varchar2(1000);
    l_body varchar2(4000):=:P1_DESCRIPTION;
    l_sub varchar2(1000):=:P1_SUBJECT;
    BEGIN
       select email_id into from_add from user_master where user_id=:app_user; 
       l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => l_body,
            P_subj      => l_sub);
      COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How to attached two file in email .
    How can i do this.
    Thanks

    hI,
    thanks to reply me.
    It's REGARDS .
    eg.
    if i am sending any mail then in Bottom of Email Body My Name and Contact No Should be Display.
    Thanks

  • How to attach a file to the mail

    How to attach a file to the mail

    I know that this can be done when going to any PDF program and push (send as  email)
    This also can done with multiple files or even with separate pages from that PDF file (Many programs can do that, like: PDF expert, Adobe Reader, iBooks, PDF Provider, Documents, etc)
    But what if I begin to wright an email, then I wanted to attach a file (such as PDF, or word, or any file) , FOR BASIC APPLE MAIL IT IS UNAVAILABLE
    You can attach Photo or Video but not PDF or other document
    There are some email programs that can attach files to email such as my.mail (as you can see from the photo)
    But why Apple don't provide such simple service ???

  • How to attach input file in the Test Script in SECATT in ECC6 ?

    Hi ,
    How to attach input file in the Test Script in ECC6  in Tcode SECATT ?
    For Testing in SECATT in ECC6, how to attach input file which contains multiple records ?
    Best Regards,
    Padhy

    Hi and Welcome to the Community!
    Since you have balance, and the issue is in your Work domain, you need to work with your server admins, as it's possible they are forbidding (via IT Policy) the ability to do as you desire.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to attach a file in the utl_mail utility in oracle 10.2.0

    hi,
    where is the default file destination to attach a file in the utl_mail utility in oracle 10g. i have to send an attachment..
    regards,
    Deepak
    Edited by: Deepak_DBA on Nov 4, 2009 3:10 PM

    HI,
    I have succesfully created utl_mail and send mail.. but could not able to attach a file in that mail..
    i have used the procedure given below..
    DECLARE
    rfile VARCHAR2(255);
    BEGIN
    UTL_MAIL.send_attach_varchar2(sender =>'[email protected]',recipients =>'[email protected]',subject =>'Test new Mail',message => 'Oracle World',mime_type => 'text; charset=us-ascii',priority => 3,attachment => rfile,att_inline => TRUE,att_mime_type=> 'text/plain; charset=us-ascii',att_filename => 'i:\session.txt');
    END;
    regards,
    Deepak

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • How to process two files at the same time using BPM

    Hi experts,
    I have a Integration Process it takes two files one Header xml and one Lines xml. These files shoudl be processed at the same time because them will be mappend in a Idoc.
    The realy trouble is that these inbound xmls never are executed at the same time. Then a IP is executed for each inbound xml.
    This is the IP:
    http://picasaweb.google.com/hose86/SapXi#5377539387476591346
    This is related documentation:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/cb/15163ff8519a06e10000000a114084/frameset.htm
    I try to do all what I know, but It don't work fine :S
    Thanks in advance and Regards,
    Jose Antonio.

    Hi Jose,
    Don't specify any end condition for  fork step and check the start process check box in both the receive step.
    Also put all steps inside the block.. so that the control step in deadline branch can throw exception and after that the BPM ends. As per the design now, if a deadline exception is raised (it will b handled) but after that the transformation step and send step is executed. There the BPM fails.
    Regards
    Suraj
    Edited by: S.R.Suraj on Sep 4, 2009 5:39 AM

  • How to open two files in the one window in PSE11?

    In older versions of PSE I was able to open two picture files in the same window by just resizing them smaller so that I could deal with them side by side........I couoldn't do it in PSE=10, and I upgraded to PSE11 and still don't know how to do it.  Can somone assist me?  Thanks..

      In the Organizer select two thumbnails and hit the F12 key to compare them. But I guess you mean in the Editor application. In Expert Mode it‘s possible to work with floating windows rather than fixed tabs but you first need to set your preferences. Go to:
    Edit >> Preferences >> General (Windows)
    Photoshop Elements Editor >> Preferences >> General (Mac)
    Then put a checkmark in the box against “Allow Floating Documents in Expert Mode”
    Click OK
    You can now open your two images and use the layout button at the bottom to choose various configurations or to cascade.
     

  • How to attach a file to the mail in jsp

    hi.i would like to send mails with in local server with files as attachments.i wrote this code but its not working.please help
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
    if("Send".equalsIgnoreCase("send"))
    try
         String subject="",from="",url = null,to="";
         String mailhost = "local server";
         Properties props = System.getProperties();
    String msg_txt="";
         String strStatus="";
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    Attachfiles1=request.getParameter("fieldname1");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    // message.setSubject(subject);
    // message.setHeader("X-Mailer", mailer);
    // message.setSentDate(new Date());
    message.setText(msg_txt);
                   // Final message = part1 + part2
                   Multipart mp = new MimeMultipart();
                   message.setContent(mp);
                   // Message part 1 is text - add to multipart
                   MimeBodyPart m1 = new MimeBodyPart();
                   m1.setContent(msg_txt, "text/plain");
                   mp.addBodyPart(m1);
                   // Message part 2 is binary (file to send)
                   MimeBodyPart m2;
                   // Support multiple file send (separated by ";")
                   FileDataSource fds = new FileDataSource(Attachfiles1);
                        m2 = new MimeBodyPart();
                        m2.setDataHandler(new DataHandler(fds) );
                        m2.setFileName( new File(Attachfiles1).getName() );
                        mp.addBodyPart(m2);     // add to final message (part 2)
    //message.addAttachment(new Attachment(new File(Attachfiles1)));
    //BodyPart messageBodyPart = new MimeBodyPart();
    //BodyPart messageBodyPart2 = new MimeBodyPart();
    //Multipart multipart = new MimeMultipart();
    ////messageBodyPart = new MimeBodyPart();
    //javax.activation.DataSource source = new javax.activation.FileDataSource(Attachfiles1);
    //messageBodyPart.setDataHandler(new DataHandler(source));
    ////messageBodyPart.setFileName(new File(Attachfiles1).getName());
    //messageBodyPart2.setText(msg_txt); // set the txt message
    //multipart.addBodyPart(messageBodyPart);
    //multipart.addBodyPart(messageBodyPart2);
    //message.setContent(this.multipart);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemailpp.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="JAVA">JAVA
    <option value="DOTNET">DOTNET
    <option value="SAP">SAP
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>
    Name<br><input type="text" name="Name"><br>
    </th>
    <th>
    EmailId<br><input type="text" name="EmailId"><br>
    </th>
    <th>
    ContactNumber<br><input type="text" name="ContactNumber"><br>
    </th>
    <th>
    Position<br><input type="text" name="Position"><br>
    </th>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="User1">User1
    <option value="User2">User2
    <option value="User3">User3
    <option value="User3">User4
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <!--<b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    -->
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    message.setText(msg_txt);Don't do this. You want a multipart message. You want the msg_txt
    to be the first part of the multipart, which you do below.
                   // Final message = part1 + part2
                   Multipart mp = new MimeMultipart();
                   message.setContent(mp);
                   // Message part 1 is text - add to multipart
                   MimeBodyPart m1 = new MimeBodyPart();
                   m1.setContent(msg_txt, "text/plain");m1.setText(msg_txt); // would be better
                   mp.addBodyPart(m1);
                   // Message part 2 is binary (file to send)
                   MimeBodyPart m2;
                   // Support multiple file send (separated by ";")
    FileDataSource fds = new
    new FileDataSource(Attachfiles1);
                        m2 = new MimeBodyPart();
                        m2.setDataHandler(new DataHandler(fds) );
    m2.setFileName( new File(Attachfiles1).getName() );Since you're using JavaMail 1.4, you can replace much of the above
    with simply:
    m2.attachFile(Attachfiles1);
    But none of the problems above should prevent your code from working.
    You do understand, of course, that the name of the file is a filename
    on the server, not the client that's running the browser, right?
    When you say "its not working", what exactly do you mean?

  • How to attach HLP file with the existing forms

    We have FORMS 5.0 application running. We have developed .HLP and .CNT files using ROBOHELP utility. I would like to attach the help file to the existing form. I want to use the registry to set the help file path so that I won't hardcode the path. I tried
    using WINHLP32.exe file using the HOST command. This need path settings in the machine. Does any body know other methods instead of using HOST command.
    Thanks in advance.
    Bye
    Meenakshi Sundaram Ganesh

    You could use the d2kwutil.pll and execute the Win_api_shell.Winhelp procedure

  • How to attach XML file in the response of Web Services

    Hi
    I am new to the WEB SERVICE. this my requirement.
    I need to make a class file a web service. and i need to get data from the data base and attach it in the response. I need to use SOAP MEssaging for this. so how to call the service from the JSP and how to get the data from the response,Before that which technology i need to use for this requirement. Plz let me know how to accomplish this task. I have gone thur lot of tech stuff and i am confused a lot, what to use and how to use. Will any one help me out.
    Thanks
    Vidya

    Hey VP, thanks for replyng.
    I have read the codes from a book and havesome code for client. The server side is yet to be done....but I have problems in compiling them as I am Unable to import javax.xml.soap.*;
    This is basically a request to the Server asking it to find the match of the word "Mickey" from the XMLfile at the server...JAXRPC is involved(I Presume:) There are some supporting files.........hey But it doesn't compile only here. Hope it does in yrs
    *******The client..........**********
    * Client
    package com.aby.jwsdp.soap.client;//the package
    import javax.xml.messaging.URLEndpoint;
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import com.aby.jwsdp.soap.client.Fault;//supporting file
    import com.aby.jwsdp.soap.client.RequestMessage;//supporting file
    public class Client {
         static final string SERVICE_ENDPOINT="http://localhost:8080/chap/servlet/chap.RecieveServlet";
         public static void main(String args[]) {
              if(1!=args.length) {
                   System.err.println("Usage: java "+"com.aby.jwsdp.soap.client.Client <name>");
              } else {
                   new Client(args[0]);
         public Client(String name) {
              try{
                   URLEndpoint endpoint = new URLEndpoint(SERVICE_ENDPOINT);
                   SOAPConnectionFactory scf=SOAPConnectionFactory.newInstance();
                   SOAPConnection connection = scf.createConnection();
                   RequestMessage reqMsg = new RequestMessage();
                   reqMsg.setName(name);
                   SOAPMessage replySOAP = connection.call(reqMsq.getMessage(),endpoint);
                   if(Fault.hasFault(replySOAP)) {
                        Fault fault = new Fault(replySOAP);
                        System.err.println("Recieved SOAP Fault");
                        System.err.println("Fault Code: "+fault.getFaultCode());
                        System.err.println("Fault string: "+fault.getFaultString());
                        System.err.println("Fault detail: "+fault.getFaultDetail());
                   }else {
                        ResponseMessage respMsg = new ResponseMessage(replySOAP);
                        String responseValue = null;
                        try{
                             responseValue = respMsg.getValue();
                             System.out.println("Response: "+responseValue);
                        }catch(SchemaException e) {
                             System.err.println("Parsing error");
                   connection.close();
              }catch(EXception e) {
                   System.err.println(e/toString());
    /*@author Aby
    *Fault.java
    package com.aby.jwsdp.soap.client;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPFault;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.Detail;
    import javax.xml.soap.DetailEntry;
    import java.util.Iterator;
    public class Fault {
         protected SOAPFault soapFault;
         public Fault(SOAPMessage msg) throws SOAPException {
              SOAPPart soapPart = msg.getSOAPPart();
              SOAPEnvelope envelope = soapPart.getEnvelope();
              SOAPBody soapBody = envelope.getBody();
              soapFault = soapBody.getFault();
         public static boolean hasFault(SOAPMessage msg) throws SOAPException {
              SOAPPart soapPart = msg.getSOAPPart();
              SOAPEnvelope envelop = soapPart.getEnvelop();
              SOAPBody soapBody = envelop.getBody();
              return soapBody.hasFault();
         public String getFault() {
              return soapFault.getFaultCode();
         public String getFaultString() {
              return soapFault.getFaultString();
         public String getFaultDetail() {
              String ret = null;
              Detail detail = soapFault.getDetail();
              if(null!=detail) {
                   Iterator it = detail.getDetailEntries();
                   if(it.hasNext()) {
                        DetailEntry detEntry = (DetailEntry)it.next();
                   ret = detEntry.getValue();
              return ret;
    * RequestMessage.java
    package com.aby.jwsdp.soap.client;
    import com.aby.jwsdp.soap.client.Client;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPException;
    public class RequestMessage {
         protected SOAPMessage soapMessage = null;
         public RequestMessage()
         throws SOAPException {
              MessageFactory mf = MessageFactory.newInstance();
              soapMessage = mf.createMessage();
         public void setName(String name)
         throws SOAPException {
              SOAPPart soapPart = soapMessage.getSOAPPart();
              SOAPEnvelope envelope = soapPart.getEnvelope();
              SOAPBody body = envelope.getBody();
              SOAPElement requestElement;
              requestElement = body.addChildElement(envelope.createName("GetValueByName","myns","www.syngress.com/JWSDP/soap-example"));
              SOAPElement paramElement;
              paramElement = requestElement.addChildElement("name");
              paramElement.addTextNode(name);
         public SOAPMessage getMessage() {
              return soapMessage;
    check this out then we will see

  • How to attach a file fin the middle tier in the workflow notification

    My requirement
    1) File is there in the middle tier (file name : invoice_99.pdf )
    2) From workflow notification I need to read that file (invoice_99.pdf) and
    open it from the notification when user click on it
    can you please let me know is there any way to handle this

    Thiru,
    This is not the right forum for this.
    Btw, I have done exactly same requirement several times and it's easy to do.
    1)Create a Document Attribute and specify to attach it to the notif msg.
    2)Create a PL/SQL function activity in workflow
    3)In the PL/SQL proc, Load the file using dbms_lob into a LOB and set the attribute using
    wf_engine.SetItemAttrText(itemtype      => itemType
    ,itemkey      => itemkey
    ,aname      => 'SRQ_REPORT'
    ,avalue           => 'PLSQLCLOB:xxx_gbl_wf.get_pdf_quote/'||v_report_request_id||':'||v_qot_number);
    Hope this helps
    Srini

  • When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    It should be an attachment.  Your Mac just displays a preview of certain attachments (such as .pdfs) in the body of the message.  A PC, for example, will see it as an attached file rather than a preview.
    You can save the attachment on your Mac by Control-clicking on it and selecting Save Attachment.

  • How to process a text file (mail attachment) using the sender mail adapter?

    Hi guys,
    Is it possible to process mail attachments using the sender mail adapter? Let's say I have a structured text file (attachment) which needs to be mapped and sent to target system.
    Post please any thoughts or experience.
    Thanks,
    Olian

    Hi Olian,
    Have a look at these helpful links -
    1. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05&overridelayout=true
    2. http://www.riyaz.net/blog/xipi-configuring-the-sender-mail-adapter/
    3. http://help.sap.com/saphelp_nw70/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    Regards,
    Sunil Chandra

Maybe you are looking for