Email Sapscript with an individual mail body

Hi
we are sending Sales documents via NAST and SCOT as email to our customer. Currently the document is converted into Pdf and added as attachment to the mail. We can only change the subject line. It is not possible for us to fill the mail body. The body is completly empty.
We would like to fill it with some personalized information.
Have you any ideas, how to do this?
Best regards
Rauno

Hi Vishal
I am not directly using a function module. We set the output type in the NAST record to '5' and SAP does the rest (Transformation into pdf, reading the email-adress from mail partner in the SD-document,...)
Regards
Rauno

Similar Messages

  • Send mail with picture in mail body

    Hi Experts,
    How to send mail with picture in mail body area? ( Note : not as an attachment. )
    Eg:
    ......Header image.....  <<------ I want to insert image here
    Dear user,
    You have received a notification.
    ..... Footer image .....   <<------ I want to insert image here 
    Note : If user opened mail then user can able to see the image.
    Thanks in advance.
    Regards,
    Harish

    Hi Harish,
    Please visit these links:
    1. Embed the picture instead of Linking in Mail forms
    2. Send HTML mail with image
    3. http://sap.ittoolbox.com/groups/technical-functional/sap-dev/html-format-email-528045
    May it helps you.
    Regards.
    Deepak Sharma

  • 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.

  • Why some emails sent with OS X Mail is not delivered, and if I send the same e mail from the website of my hosting provider, to the same recipients, they are delivered?

    Sometime, when I send an email with my Mac Book Pro, i receive the message:
    Hi. This is the qmail-send program at smtplqs01.aruba.it.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.
    But if I try to send the same messagge, at the same email address, from the web site of my hosting providere, ther are not problem...
    Someone can help me?
    Thanks!!!

    Could be a number of things, among them the fact that the recipient's inbox is full, or his/her ISP email server is a bit slow at hand-shaking with yours, and this of course can vary depending on the fact that the recipient's account is IMAP or POP.
    When you send an email from a webmail, the grunt work is done by the SMTP server, and it's up to it to manage the multiple requests, their number, their frequency, their routing, etc... When you send an email from your Mail app, it'll send it once to your SMTP server, who'll process it a certain number of times before giving up, but you'll receive only one failure message.
    If the recipient's an Microsoft Exchange account, you must know that those servers sometimes send and receive email in bulk, and at a variable refresh rate, hence the "Sorry, your email couldn't be distributed...".

  • Email glitch with Yahoo! Mail -- mass mailings!

    This morning, while riding in the Metro (subway), I used my iPhone to respond to a couple of emails through my Yahoo! account. However, AT&T has no service in the subway in D.C. So, I thought that by hitting SEND, the emails would be queued and would go out once I surfaced.
    Boy, did they ever! When service was restored, my iPhone sent each message over 25 times - without my knowing. Also, the mail program crashed (i.e., went black and then booted me back to the main screen) -- much as has happened on multiple occasions with Safari.
    Anyone else having this problem? Does this mean I shouldn't hit SEND without service? Needless to say, the people to whom I sent the gazillion emails were not pleased!
    iPhone   Windows XP  

    It is not possible.

  • How do I set up an email facility with a sky mail address?

    Cant seem to find how to configure a new mail facility using my existing Sky mail facility. Is this possible? If so, can you provide me with a link, please?
    Thx

    Hi
    Did you manage to set up your Sky e-mail on your iphone - if so how did you go about this?
    Many thanks for your help.

  • Set mail body and email id in SO01

    Hi All,
    My requirement is that i need to send a workitem to user in which he will be navigated to transaction SO01(New Message) with a predefined mail body and subject line. There agent will specify the email IDs and will click on send button to send the mail.
    I am not getting how to prepopulate the message field with a predefined content.
    Kindly help me out.
    Regards,
    Guddan

    Hi Rick,
    If you go to SO01, you will find there that  we need to set the mail body and subject line there and also specify some mail IDs there. So i want that mail body field and email IDs to be prepopulated....
    I know how to navigate user to SO01 screen but how should i prepopulate the message body in SO01.
    Regards,
    Guddan

  • Has anyone found the solution to email disappearing with Apple Mail?

    Hello,
    I have seen quite a number of postings about email disappearing with Apple's Mail client, regardless of what account they are using (yahoo, gmail, aol, etc.). What I have noticed is that email vanishes right in front of my eyes from the folders I have created to keep my email in order. Sometimes I move a message or several and I see them in the folder for a day or two, and then a few days later they are simply gone. This happens from the sent folder too. It is random. No, they are not in the trash, or junk, or anywhere else. Doing a full search turns nothing. They are really, really gone.
    Sometimes, I go to a folder and I see how in a second one or several messages disappear from the list and that is it. Never to be found again. Not even if I visit the web-based account I can retrieve them. They are gone.
    The worst part is when they disappear from my sent folder immediately after they leave the outbox, so I am not sure if it sent or not, and I have to retype the whole thing again just to make sure.
    This is extremely annoying, and I have seen I am not the only one to which this happens. Has anyone found a fix for this bug? Should I simply keep all my email in my inbox? Or should I just give up on Apple Mail and use Thunderbird?
    I have an old powerbook G4 with 10.4 and Mail 2. Not like it makes much difference, I've seen people complaining about the same issue in later versions of OS and Mail.
    Thanks for any help
    Annie

    Let's see if we can dind how many Mail files on your computer.
    http://validator.w3.org/
    I'd get EasyFind...
    http://www.macupdate.com/info.php/id/11076
    Here's a direct download link to EasyFind 4.0 which runs in 10.3.9 & up...
    http://www.devon-technologies.com/files/legacy/macosx1039/EasyFind.dmg.zip
    From this page,
    http://www.devon-technologies.com/support/faqs.php?p=default&cat=19
    Freeware applications:
        * EasyFind 4.0
        * PhotoStickies 5.6
        * ThumbsUp 4.3
        * XMenu 1.8
    http://www.versiontracker.com/dyn/moreinfo/macosx/8707
    Use it to search your whole drive for case insensitive & show invisibles...
    .emlx
    (dot ee em el ex)
    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option/alt when clicking on Find button to Find All.

  • Is there ANY way to use another email address with iCloud?

    Apple let you use any email address as an Apple ID, but I really want to be able to use a non-Apple email address with my iCloud mail. Just about every email service (Gmail, Hotmail, etc) allows you to send from a third-party address (once you've done a security verification) so that you don't have to change your email address when switching services. iCloud seems to have no such option. Is there any way round this, or any way to put pressure on Apple to add this basic feature???

    rdepom wrote:
    Is there any way round this
    I'm afraid not
    or any way to put pressure on Apple to add this basic feature???
    http://www.apple.com/feedback/icloud.html - but I don't think it's very likely they'll change it.

  • Need a way to avoid subject repetition in workflow notification's mail body

    Hi,
    In workflow email, subject gets repeated in mail body too. Couple of queries -
    1. Is it possible to remove the repetition in mail body?
    2. If not outright removal, can we at least decrease the font?
    I got <af:panelHeader text="#{bindings.title.inputValue}" id="ph1"> in jspx page, but how do I restrict it to show title in body only in worklist and not in email. Can anyone share exact code snippet (using rendered/visible property) to be put here?
    Thanks,
    Harsh

    Hi;
    Please refer below notes which could be helpful on your issue:
    How to Create a Custom Notification Message for the Approval/Rejection Registration Process in Oracle iStore using JTF Approval? (Doc ID 1081864.1)
    Custom Email Messages Fail in Workflow (wfmessage) (Doc ID 738894.1)
    Regard
    Helios

  • Email Purchase Order with mail body

    Hi, ALL,
    I would like to email purchase order to vendors with customized email subject and body. I did configuration in IMG according to note 191470. I also set up title and text in IMG. Now I can email PO with subject (title). But there is no mail body ( the text? ) . Is there anybody know how to do it? Thanks a lot!
    Jack

    Hi,
    In standard you can send purchase order by mail with subject line (title) only and you can not send mail body text.
    Check the link:
    Send PO External email with attachement and Body text
    Regards,
    Biju K

  • Issue with embading image in mail body

    hi all,
    I want to embade an image in the mail body which im sending using sap.
    I have also tried to search on forum and I got some help which suggested me to use used html coding, I have tried it but the mail is
    thanks

    Hi.,
    First you have to store image in MIME Repository. , then use HTM  type to send mail .,
    check these : [Send Picture in body of Email|Send an picture to body of an email;
    and  [Send HTML mail with image|Re: Send HTML mail with image;
    hope this helps u.,
    Thanks & regards,
    Kiran

  • Maverick Mail Printing Problem: prints email header on separate page from body of email.  Why?!

    Maverick Mail Printing Problem: prints email header on separate page from body of email.  Why?!

    For what it's worth, I can report exactly the same problem.  I just recently converted from Outlook for Mac 2011 to Mail.  I did the conversion while running Yosemite.  I like pretty much everything about Mail EXCEPT that it take 2 pages to print a 1 page email!!  The header appears on the top of p.1, followed by a blank space.  The message begins at the top of p.2.
    If you scale it down, you can get the message to begin to appear on the bottom of p.1, but clearly, Mail is inserting BIG SPACE between the header and the message.  Changing the display fonts for Mail had no apparent effect (except that the font DID change, of course)....still a BIG SPACE between the header and the message. 
    Coming to Mail for the first time, I would have assumed that this was just a quirk of Mail, but am I understanding that some of you Mail users out there USED TO NOT have this problem??  I think it's pretty clear that it's Mail that's causing the problem, not the message, because I went over to my old Outlook and printed the same couple of messages with no such space between the header and the message.  So Mail is inserting a space into the print formatted email message that is NOT there in Outlook's print formatted same message.
    Be really nice to get rid of this problem, but my Apple Care free support has expired.  Not sure I want to pay for something that's generic to Mail!!  Anyone else made any progress on this?

  • TS1627 Please Help. I received 4 emails from 1 person with the same message heading. The emails were automatically grouped by Mail. I replied to the latest mail in the conversation. Once sent the other messages in the conversation disappeared. I NEED THEM

    Please Help. I received 4 emails from 1 person with the same message heading. The emails were automatically grouped Apple Mail. I replied to the latest mail in the conversation. Once sent the other messages in the conversation disappeared. I NEED THEM BACK! They all had very important attachments. I have tried looking for them in deleted items, even though I didn't throw any of them away, still cant find them. Never had this problem before. I'm pretty sure its a setting somewhere. Also tried expanding all conversations, no luck. Searching for the mails under the sent email address, no luck.
    I'm sure they are not deleted but have somehow been hidden by Mail. Very frustrating.
    Thanks in advance for any help.
    Kash.

    I have found found out what has happened. I had requested a statement dating back to April 2012 from a supplier. They replied back with the latest statementof 2013 only but used the same subject heading as the previous monthly statements. Apple Mail automatically grouped these and I thought that they were sent altogether. As soon as I replied to the last email all other the previous emails ungrouped from the conversation leaving me lost as to where they had gone. They were all still sitting in my inbox but no longer part of the trcked conversation. I searched under the subject heading and all individual mails were all still there. (feeling stupid - )

  • Sending email - problems with text in email body

    Hello all,
    for sending emails I use the FM from Thomas Jung (<a href="http:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface).
    Everything works fine, except that the text I attach in documents-content_text doesn't appear as a normal text in the email body but within an .EXT-attachment. Should this be a TXT attachment?
    E.g. when I send the text 'Hello World' the email arrives with an attachment 'Hello World.EXT'.
    Did anyone have the same problem? What's wrong?
    Thanks for your help.
    Regards
    Joschi

    Try this it works fine for me,
    METHOD email_result_as_pdf.
        DATA: lo_document_bcs    TYPE REF TO cl_document_bcs VALUE IS INITIAL,
              lo_send_request    TYPE REF TO cl_bcs VALUE IS INITIAL,
              lo_sender          TYPE REF TO if_sender_bcs VALUE IS INITIAL,
              lo_recipient       TYPE REF TO if_recipient_bcs VALUE IS INITIAL,
              lo_cx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL,
              lo_cx_send_req_bcs TYPE REF TO cx_send_req_bcs VALUE IS INITIAL,
              lo_cx_address_bcs  TYPE REF TO cx_address_bcs VALUE IS INITIAL.
        DATA: li_message_body     TYPE bcsy_text VALUE IS INITIAL,
              li_att_content_text TYPE soli_tab,
              lw_att_content_text TYPE soli.
        DATA: lv_result         TYPE string,
              lv_send           TYPE adr6-smtp_addr
                                     VALUE '[email protected]',
              lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    * Create Object
        lo_send_request = cl_bcs=>create_persistent( ).
    * Add Contents to Mail Body
        APPEND 'Dear Sir,<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Please find the Report contents enclosed.<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Thank You,<BR>' TO li_message_body.
    * Create a Document
        TRY.
            CALL METHOD cl_document_bcs=>create_document
              EXPORTING
                i_type    = 'HTM'
                i_text    = li_message_body
                i_subject = 'New ALV Sample Report'
              RECEIVING
                result    = lo_document_bcs.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Populate the data to the Document Table
        LOOP AT i_sbook INTO w_sbook.
          CONCATENATE
            w_sbook-carrid
            w_sbook-connid
            w_sbook-fldate
            w_sbook-bookid
            w_sbook-customid
            w_sbook-custtype
            w_sbook-smoker
            w_sbook-wunit
            w_sbook-invoice
            w_sbook-class
            w_sbook-forcurkey
            w_sbook-loccurkey
            w_sbook-order_date
            w_sbook-counter
            w_sbook-agencynum
            w_sbook-cancelled
            w_sbook-reserved
            w_sbook-passname
            w_sbook-passform
            w_sbook-passbirth
            INTO lw_att_content_text-line
            SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
          CONCATENATE cl_abap_char_utilities=>cr_lf lw_att_content_text-line
                      INTO lw_att_content_text-line.
          APPEND lw_att_content_text TO li_att_content_text.
        ENDLOOP.
    ** Add the attachment to the document
        TRY.
            CALL METHOD lo_document_bcs->add_attachment
              EXPORTING
                i_attachment_type    = 'RAW'
                i_attachment_subject = 'New ALV Sample Report'
                i_att_content_text   = li_att_content_text.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set the document to the Send Request
        TRY.
            CALL METHOD lo_send_request->set_document
              EXPORTING
                i_document = lo_document_bcs.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Sender
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_sender.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Sender to Mail
        TRY.
            CALL METHOD lo_send_request->set_sender
              EXPORTING
                i_sender = lo_sender.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Receipient
        lv_send = '[email protected]'.
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_recipient.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Receipient to Mail
        TRY.
            CALL METHOD lo_send_request->add_recipient
              EXPORTING
                i_recipient = lo_recipient
                i_express   = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set Send Immediately
        TRY.
            CALL METHOD lo_send_request->set_send_immediately
              EXPORTING
                i_send_immediately = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Send Mail
        TRY.
            CALL METHOD lo_send_request->send
              EXPORTING
                i_with_error_screen = 'X'
              RECEIVING
                result              = lv_sent_to_all.
            COMMIT WORK.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Inform User
        IF lv_sent_to_all EQ 'X'.
          COMMIT WORK AND WAIT.
          MESSAGE 'Mail Sent Successfully' TYPE 'I'.
        ELSE.
          MESSAGE 'Error Sending Mail to External Id' TYPE 'E'.
        ENDIF.
      ENDMETHOD.                    "email_result_as_pdf
    Regards
    Kathirvel

Maybe you are looking for

  • Is there a way to have two separate projects open in different windows?

    On my old editing software, I could have two separate projects open at the same time. I could copy clips from Project A, click over to Project B, and paste the Project A clips to Project B. Is there a way to have two separate projects open with Premi

  • How to send records to the MDM workflow using Java APIs

    Hi All,     Using Java APIs i want to send group/single records to the backend MDM workflows for further processing. Can this be acheived? Please provide me with some code samples if you have any Regards Suresh

  • Jheadstart, JDeveloper and CVS and TeamWork

    Hi We're four-developer team and we've been working with Jheadstart for some months. Now we want to work with team options that provide jdeveloper (CVS or SCM). But, we are a too much suprised with all the problems that other developers had with CVS,

  • RPC fault when calling a CFC from flex

    Hello there, I'm having some startup problems getting Flex and Colfusion 8 to play nice with FDS. I'm using Flexbuilder 2.0.1 and Coldfusion 8 developer edition on IIS on a windows box (XP professional). I use a very simple test CFC in my coldfusion

  • Attributing Documents in the public area of a Collaboration Room

    Is there a way you can attribute documents to your taxonomy that are stored in the public area of a collaboration room?