Mail - editing subject + mail text + name of attachment

the answer to similiar question was that it is not easily possible. May with reports 7.0.
Question: Does "not easily" meean possible or not possible? If possible - HOW?
And what about the other items: mail text and report name?
null

If you work in Windows, maybe you should look on OLE automation. Just create you report files and then create message, attach report files and set mail parameters as you want to.

Similar Messages

  • In Mailing, from subject as standard name

    Hi all,
           I am sending mail in my program, where i need to set From subject as my company name.... How to achieve this
         In below screen shot in place of DEVELOPER company name 'XYZ' should come ..
    please sujjest
    Regards,
    Lokesh.

    Hi Lokesh,
    Write below code, This will send from as [email protected] :
    l_sender = cl_sapuser_bcs=>create( [email protected] ).
        CALL METHOD l_send_request->set_sender
          EXPORTING
            i_sender = l_sender.
    is this the requirement? can you please elaborate.
    Thanks,
    Anil

  • Mail Notification with Custom Subject, Mail Body and PDF File Name

    I have successful configured the Action Profile to send SmartForm Mail as PDF. But i would like to modify the Subject, PDF File Name & add text to mail body when a mail is sent to the user.
    The Subject of the Mail is the same as the PDF file name. How to maintain a pre-defined file name for the PDF file.

    I was able to find a commercial product that works very well. MaxBulk Mailer from Max Programming allows you to import a list of recipients, merge with personalized message and designate an attachment (just image types and PDFs, not all types work) and send.

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • Dynamic name for attachment in the Receiver Mail Communication Channel

    Hi All,
    I want to dynamically set the name of attachment in receiver mail Communication Channel.
    Example: IN__9907211000004_4048454000005_20081211_01000000002643
    The first two numbers 9907211000004 & 4048454000005 I want to read it from the message
    20081211 this is the date and
    And againg this number 01000000002643 is read from message.
    What is the procedure to create Adapter Module? I am new to Adapter Module.
    Any Ideas ideas?
    Thank You,
    Mukhtar

    Hi Michal,
    I had a look to your blog and tried to modify according to my requirement.
    Here is the code
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.*;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
    @stateless
    public class SetAttachmentName implements SessionBean, Module{
         private SessionContext myContext;
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
                          throws ModuleException{
         try {
    Message msg = (Message) moduleData.getPrincipalData();
    //creating parsable XML document
    InputStream XIStreamData = null;          
    XMLPayload xmlpayload = msg.getDocument();
    XIStreamData = xmlpayload.getInputStream();
    DocumentBuilderFactory  docBuilderFactory = DocumentBuilderFactory.newInstance();               
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    Document doc = docBuilder.parse(XIStreamData);
    //finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
    String SenderIDTag = null;
    SenderIDTag = moduleContext.getContextData("SenderIDTag");
    //finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
    Element element = doc.getDocumentElement();     
    NodeList list = doc.getElementsByTagName(SenderIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    String anIDTag = null;
    ReceiverIDTag = moduleContext.getContextData("ReceiverIDTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(ReceiverIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    Date date= new Date(System.currentTimeMillis());
    //Add date to the Message
    SimpleDateFormat dateFormat= new SimpleDateFormat("yyyyMMdd");
    mailFileName += "_" + dateFormat.format(date);
    String BillNrTag = null;
    BillNrTag = moduleContext.getContextData("BillNrTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(BillNrTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    //creating the attachment
    byte by[] =  xmlpayload.getText().getBytes();
    XMLPayload attachmentXML = msg.createXMLPayload();
    attachmentXML.setName(mailFileName);
    attachmentXML.setContentType("text/pdf");
    attachmentXML.setContent(by);
    //adding the message to the attachment
    msg.addAttachment(attachmentXML);
            inputModuleData.setPrincipalData(msg);
        } catch (Exception e) {
            throw new ModuleException(e);
        return inputModuleData;
    I hope this is right Adapter Module coe for my requirement.
    Thank you in Advance,
    Mukhtar

  • WF mail's subject replaced by task name!

    Hi all,
    I'm facing a very annoying and urgent problem on ECC 6 about mail sent
    via workflows.
    In some cases the mail's subject (work item text) is replaced with the task
    name (in SCOT) and if I access the workflow log everything is ok and the
    subject is the one I decided in SWDD.
    I never got this problem on the dev. system but in production it's appening daily.
    Any help would be very appreciated.
    Thanks in advance.
    Angelo

    Translation tools for workflow has improvement possibilities, yes...
    I think if you already have the task in a request the translation will be transported, but I am not sure. Perhaps you have to manually include the translations.
    There have been threads about translating before in this forum. I am sure a transaction for translating has been mentioned in those - I just can't remember what it is.

  • Problen when Sending the text file as attachment to the external mail

    HI,
    I am sending the text file as an attachment to a aexternal mai. mailing is going with text file attachment, but text file is empty. No information in the file is going, only empty text file is going. I am sending the code  iam using. Please suggest, if I need to change any passing parameters orany other other solution.
    tables: knb1,kna1,adr6,ITEMSET,bsid,TSP01.
               INTERNAL TABLES
    DATA: BEGIN OF it_kna1 occurs 0,
            KUNNR LIKE KNA1-KUNNR,
            ADRNR LIKE KNA1-ADRNR,
          END OF it_kna1.
    DATA: BEGIN OF it_email occurs 0,
            ADDRNUMBER LIKE ADR6-ADDRNUMBER,
            SMTP_ADDR LIKE ADR6-SMTP_ADDR,
          END OF it_email.
    DATA: BEGIN OF it_bsid occurs 0,
           KUNNR LIKE BSID-KUNNR,
           BUKRS LIKE BSID-BUKRS,
         END OF it_bsid.
    DATA: BEGIN OF it_final occurs 0,
            KUNNR LIKE KNA1-KUNNR,
            ADRNR LIKE ADR6-ADDRNUMBER,
            EMAIL LIKE ADR6-SMTP_ADDR,
          END OF it_final.
    DATA: BEGIN OF BUFFER OCCURS 10000,
              TEXT(255) TYPE C,
            END OF BUFFER.
    data:xtext type solix_tab." occurs 0 with header line."line.
    data:xi_pdf type soli_tab.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2  WITH HEADER LINE,
          OBJHEAD LIKE SOLISTI1   OCCURS 1  WITH HEADER LINE,
          OBJBIN  LIKE SOLISTI1   OCCURS 0  WITH HEADER LINE,
          OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE,
          RECLIST LIKE SOMLRECI1  OCCURS 5  WITH HEADER LINE,
          DOC_CHNG  LIKE SODOCCHGI1,
         PARAMS   LIKE PRI_PARAMS,
         ARPARAMS LIKE ARC_PARAMS,
         DAYS(1)  TYPE N VALUE 8,
         COUNT(3) TYPE N VALUE 1,
         VALID    TYPE C,
         RECEIVER(30),
         STR(256).
    data:  spoolid    type tsp01-rqident,
           pdf_table like tline occurs 0 with header line,
           v_bytecount type i,
           itab_pdf like tline occurs 10 with header line,
          xi_pdf  like tline occurs 0 with header line,
          xi_pdf  like buffer occurs 0 with header line,
           xi_pdf_1 like xi_pdf,
           v_length(2) type p,
           html  like solisti1   occurs 0  with header line,
           xi_temp      like bapiqcmime occurs 0 with header line,
           xi_mime(255) type c occurs 0 with header line.
              VARIABLES
    data: g_email type adr6-smtp_addr,
          TAB_LINES LIKE SY-TABIX,
          G_FLAG(1) TYPE C.
         g_norm(1) TYPE C,
         g_shbv(1) TYPE C,
         g_merk(1) TYPE C,
         g_park(1) TYPE C,
         g_apar(1) TYPE C.
    data: l_lines     type i,
          line1       type i,
          l_temp(500) type c,
          l_offset    type p,
          l_lineslen(2) type p,
          l_mimelen(2)  type p,
          v_spono like tsp01-rqident,
          l_tabix       like sy-tabix.
    *****VIA SELECTION-SCREEN
    ENDFORM.                    " SEND_TO_SPOOL
    *&      Form  GET_SPOOL_ID
    *&      Form  CONVERT_SPOOL_TO_PDF
    *&      Form  SEND_MAIL
    FORM SEND_MAIL .
      data:l_lin  like sy-tabix,
            l_lint like sy-tabix,
            it_list like abaplist occurs 0,
            l_newline(2) type x value '0D0A'.
    *--Data for the status output after sending
      data: user_address like sousradri1 occurs 1 with header line,
            sent_to_all like sonv-flag.
      clear: reclist, reclist[],
             objtxt , objtxt[],
             objpack, objpack[],
             objbin , objbin[],
             doc_chng.
    *--move list to office table objbin
    *--Start of Changes to support PDF attachments - UB20030116
    loop at html.
       objbin-line = html-line.
       append objbin.
       clear objbin.
    endloop.
    loop at xi_pdf.
       objbin-line = xi_pdf-text.
       append objbin.
       clear objbin.
    endloop.
    *--We may write additional text to the main document
    *--For faxing this will be the cover page. Like sending from SAPoffice
    *--the layout set Office-Telefax will be used.
      objtxt-line = 'NOTE : Please Consider the below Headers'.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Assignment -->  Purchase order number '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Document  -->   Invoice No '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Amount In DC --> Amount Due '.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Please find attached statement for this week'.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'This is an AUTO GENERATED MAIL'.
      concatenate objtxt-line 'Please Do not reply to this mail' into
      objtxt-line separated by ' '.
      append objtxt.
      clear objtxt.
      describe table objtxt lines tab_lines.
      read table objtxt index tab_lines.
    *--Create the document which is to be sent
    doc_chng-obj_name  = 'List'.
      doc_chng-obj_name = 'SAPRPT'.
    doc_chng-obj_descr = 'Customer statement for the week'.
      concatenate 'Customer statement for '
                  sy-datum into
                  doc_chng-obj_descr
                  separated by ' '.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
    *--Fill the fields of the packing_list for the main document:
    *--It is a text document
      clear objpack-transf_bin.
    *--The document needs no header (head_num = 0)
      objpack-head_start = 1.
      objpack-head_num = 0.
    *--but it has a body
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
    *--of type RAW
      objpack-doc_type = 'RAW'.
      append objpack.
    *--Create the attachment (the list itself)
      describe table objbin lines tab_lines.
    *--Fill the fields of the packing_list for the attachment:
    *--It is binary document
    objpack-transf_bin = 'X'.
    *--we need no header
      objpack-head_start = 1.
      objpack-head_num = 0.
    *--but a body
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
    *--of type G_DOC_TYPE
    objpack-doc_type = 'PDF'. "commented on 12/13/2007
      objpack-doc_type = 'TXT'. "commented on 12/13/2007
      objpack-obj_name = 'Attachment'.
    objpack-obj_descr = 'Customer Statement'.
      concatenate 'Customer Statement' sy-datum into objpack-obj_descr.
      objpack-doc_size = tab_lines * 255.
      append objpack.
      reclist-receiver = g_email.
      reclist-rec_type = 'U'.
    reclist-com_type = 'FAX'.
      append reclist.
      data:xi type soli.
    xi-line = 'haisdgsfsdf'.
    append xi to xi_pdf.
    xi-line = 'haisdfdsfd'.
    append xi to xi_pdf.
    xi-line = 'haisfgsdfsd'.
    append xi to xi_pdf.
    xi-line = 'haisdfsgfsdgg'.
    append xi to xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    CALL FUNCTION 'SO_SOLITAB_TO_SOLIXTAB'
        EXPORTING
          ip_solitab        = xi_pdf[]
       IMPORTING
         EP_SOLIXTAB       = xtext[].
    **--Send the document by calling the SAPoffice API1 module for sending
    **--documents with attachments
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          PUT_IN_OUTBOX              = 'X'
         COMMIT_WORK                = 'X'
        IMPORTING
          sent_to_all                = sent_to_all
        TABLES
          packing_list               = objpack
          object_header              = objhead
         contents_bin               = objbin
          contents_txt               = objtxt
          contents_hex               = xtext
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          others                     = 99.

    HI,
    There are lots of bugs.
    Please refer this sample program to fix it.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Best regards,
    Prashant

  • Printing name of attachment in e-mail body

    I'm looking for a way to print the file name of an attachment that arrives in the Mail app. We can print the attachment and the email but the name of the attachment is not printed.

    Hello, and welcome to the Discussions.
    Do you mean routinely, or for one special message?
    Ernie

  • Mail makes new name for attachment

    When I send an word (or pdf) attachement to somebody, Mail changes the name. When it is a word document the name changes from "xxxx.doc" into "xxxx.dococ" and a pdf-file from "yyyy.pdf" into "yyyy.pdfdf". The recipient can not read the document. Does anybody knows what to do?

    Same problem... make me feel really unprofessional for my custommer...
    Here is what is written in the help file of the Mail Attachments Iconizer :
    File name extensions are corrupted.
    This is a bug in certain versions of Mac OS X unrelated to Mail Attachments Iconizer. When there are non-ASCII characters (e.g. ä, é or ®)™ in the file name Mail often corrupts the file name extension (e.g. .pdf, .jpg or .doc) which is often necessary to determine the file type.
    Workaround: The bug seems to be fixed in the recent Mac OS X updates (as of version 10.5.4). Additionaly it is more safe in general to only use ASCII characters in attachment file names. (ASCII characters include unaccented letters of the Latin alphabet, digits, basic punctuation and spaces.)
    I removed the "é" in the file name and it has worked... hope I don't get the problem again... and hopefully the bug will be corrected in further version... (I have Mac OS X 10.5.5 and still have the bug...)

  • Is there a Mail utility to force/encourage Subject line text?

    Is there a utility or product that will force/encourage me to pick from a list of "approved" Mail Subject line text?
    I want Subject Line to (under certain circumstances) to start with [COMPETITION: A Vendor].  And be able to pick from a list of "approved" text.

    Kurt188 -
    Bummer.
    Thanks.

  • Outlook mail app display arabic mail subjects and folders names as "??????"

    outlook mail app display arabic mail subjects and folders names as "??????" , any way to solve this problem ? thanks

    Skydiver119 wrote:
    the ipad likely doesn't have a font to display the mails
    That's nonsense, if you look at the settings you will see you can put the entire device into Arabic if you want, as well as type and read Arabic emails and other docs.  The font is there, but for some reason the encoding is botched, either by the app or the place sending the email to the iPad.

  • Why does my e-mail address and not my name/number appear on recipients phones when I text them?

    When I send text messages recipients are seeing my e-mail address and not my name/number.  Is there something I need to change in "Settings" to identify my number as me (by name) and not to see me as my e-mail address?  Heeeeeeeeelllllllppppppppp.............

    settings->messages and turn off iMessages
    though every time it use the email it's because it's not sendt as a sms but over the internet
    so you saving money

  • Edit subject of incoming mails

    I would like to be able to edit the subject of an incoming post, and then save the edited version so that I can find it easier in future.
    The subject often bears no relation to a mail's contents, and can be a duplicate or fwd with a subject which is completely off-topic.
    Editing the subject and then saving it is possible with Eudora, but is it possible with Mail?
    If not, how can I suggest to the Leopard team to include it as an option.
    I don't care whether it is a regular feature or some kind of Applescript fix.
    Grateful for any ideas . . .
    Message was edited by: tksalvo

    No, not in a parallel universe. Checking google for 'eudora edit subject' there are many discussion posts from 1994 to 2005 eg
    'I did miss the ability to change the subject when I moved from Eudora to Apple Mail. Too many people use non-descriptive or missing subject lines.'
    from styrafome in 2005 on
    http://forums.macosxhints.com/archive/index.php/t-38615.html

  • I need to UNINSTALL the latest upgrade to Mozilla as I cannot locate in my hotmail e-mail a "Subject" line nor an "Attachment" link !!!!!!!

    When it comes to replying or forwarding an e-mail on my hotmail a/c, the newly installed Mozilla/Firefox program does not provide any method for me to insert a "subject" nor to include an "attachment" to the e-mail.
    This is a complete and utter disaster!
    Please advise me soonest how to uninstall the newly installed Mozilla/Firefox.
    If possible to expedite the requested solution (Uninstall), please call me at (Phone number removed by mod); or e-mail me at (email removed by mod)

    First, you need to update to Firefox 17.0.1, as the version you are using (Firefox 3.6.3) is not only known to be buggy with many websites, but it is VERY Insecure. So, please update IMMEDIATELY before you do anything else. https://support.mozilla.org/en-US/kb/update-firefox-latest-version
    Then, AFTER updating (It's critically important that you update), read https://support.mozilla.org/en-US/kb/websites-look-wrong-or-appear-differently

  • How does a name get attached to mail?

    My wife has a 13 inch MBP about 2 1/2 years old and a new iphone. She uses the native mail ap on both devices. When sending mail from her MBP, her name comes through as Barbara Cromer (which is her name). When sending mail from her approximately 3 month old iphone, the name attached is Barbara Cromwell. This started happening about a month ago, not imediately when she got her iphone. Where do I go in settings to change this?

    Hello John
    You should be able to go to Settings > Mail, Contacts, Calendars and select the account that is labeled incorrectly and you should be able to change the Name on the account if they give it as an option. Alternatively, you can remove the account and set it up again.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Regards,
    -Norm G.

Maybe you are looking for