MLGR - external Mail with text in the body

Hi,
I have a little problem. I setup the MLGR-Message as defined in the wiki.
It works fine with SBWP. There is the message text in the body. When I send it
to an external email-address, then the text is a pdf in the attachment. I'd like to have the text
also in the body of the external mail, so that the user don't have to open the attachment.
What do I have do?
Regards Ralf

Hi Ralf,
the easiest solution will be to switch to Medium 5.
Transmission Medium 5: Communication Strategy - Message Control (CA-GTF-BS) - SAP Library
and if necessary develop some lines of coding to find the correct mail-addresses and the content-stuff.
Class CL_BCS is very good documented and is really easy to use.
or another solution I found in my documents:
Transaction SO16 --> Send Mail to homeaddress. But that implements that you just send mails to internal users.
(And I'm not sure, if you just done exact that to get it to external users)
The SCN-Search brought me this one, but that is what you already got I think:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e19d4c-b72d-2d10-72ad-a38a70c2a53f?quicklink=index&…
~Florian

Similar Messages

  • Default text in the body of mail when sent to vendor thru PO

    Dear friends,
    We need to put in the email body a message to vendor.
    We wrote in the tcode NACE a message in the text field and the email was generated , but without the text body !
    The attachment has been generated correctly. but no text in the body mail...
    Does anyone knows the way to send email with a default body text to vendors ?
    best regards,
    Ale

    Hi
    You need to do some configuration for this.
    Goto NACE .
    Select EF and click on OUTPUT TYPES.
    Then select Output Type NEU and click on processing routines .
    In that you have to add a new entry - medium 5 .
    Then you need to assign a program, form routine and form.
    You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE .
    Now the subject will be PO No. 1800004202.
    You need to maintain your email id in tcode SU01 and also the vendor's email id.
    Now while creating a new purchase order , change the medium to External Send .
    Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    Goto tcode ME9F .
    Execute.
    Select the checkbox and click on Output Message.
    You will get a message MAII 00000000000001 generated .
    If the BASIS guys have made the necessary configuration for sending mail then the mail will go .
    You can see the status and what is sent via tcode SOST.
    Hope it helps
    Best Regards

  • Want to send a email with images and text in the body of email in iOS

    In iOS, we have written a code to send an email,  with embedded images and text in the body of the email ( not attachment) using mail composer. It works well with iOS devices like iPhone and iPad, but does not work in window based OS. Can anybody help. The code is

    Thanks James !, do you have an idea how to  find the window resource which I belive will be included in our appllication pack.
    In above  I have missed to copy the code,below is the code. This might help you to help me.
    NSMutableString *imgContent = [[[NSMutableString alloc] initWithString:@"<html><body>"] retain];
    UIImage *imageData = [UIImage imageNamed:@"Midhun.png"];
    NSData *imageDataInBase64 = [NSData dataWithData:UIImagePNGRepresentation(imageData)];
    NSString *base64String = [imageDataInBase64 base64EncodedString];
    [imgContent appendString:[NSString stringWithFormat:@"<p><b><img src='data:image/png;base64,%@'></b></p>",base64String]];
    [imgContent appendString:@"</body></html>"];
    MFMailComposeViewController *emailWin = [[MFMailComposeViewController alloc] init];
    [emailWin setMessageBody:imgContent isHTML:YES];

  • How Do highlight text in the body of an email message in Mac Mail?

    Can anyone tell if IF and HOW I can highlight text in the body of an email message using Mac Mail (in Yosemite).  I do NOT mean MARKUP an attachment.  I want to highlight a word or phrase in the body of my email message.  I know I can change the font color, but can't seem to add a highlight!  Thanks!

    Hi,
    is is possible, - link is below. Works on Yosemite, btw.
    http://www.mihalick.us/how-to-highlight-text-in-yellow-using-apple-mail/

  • Problems in sent of external MAIL with the service SAPCONNECT

    Hello all
    We configured the service SAPCONNECT in my system quality  for sending the mail and this is not problem, I executed  tests with direction of mail internal and the are sent without any problem.
    But the problems starts is when I sent the mail external and the message that displays is
    Status received for this document:
         System Messages
    Sent on:
         25.01.2011 11:29:07
    Sent by:
         Marco Gerardo Ceballos V.
    Status for Recipient xxxxxxx@aaaaa:
         No delivery to xxxxxx@aaaaa, as recipient unknown
    The request of area of development is send the external mails.
    I review the configuration in the transaction SCOT and I not see a problem.
    ATTE
    Gerardo Ceballos

    Hi,
    Please check the parameter icm/server_port_1, if this parameter is not set, add in TX RZ10 with the value:
    PROT=SMTP,PORT=25
    Restart the instance, then create a service user with the S_A.SCON profile.
    In the SICF, open the SAPCONNECT service and check the configuration:
    Host data: profile parameter = 0 // host configuration= :
    Logon Data: Add the service user that you create
    Handler List: CL_SMTP_EXT_SAPCONNECT
    Save and active
    In the SCOT add the domain in menu settings and add the mailhost and port in the SMTP node, Click the button SET in the internet option and add a * in field address area.
    Go to SMICM --> Go to --> Services and check that the port that you add in the parameter icm/server_port_1 is active
    Go to SBWP and send the message.
    Good Luck
    AG

  • I wanted to tell that the forums were working well again. And then I saw that I could not enter text in the body again with Windows Chrome.

    After long waiting and clicking I succeeded to reach this body.
    Now I understand why there is so few traffic the last days.
    Success
    Cor

    After long waiting and clicking I succeeded to reach this body.
    Did you try to find any more details to refine your symptom description?  E.g. this sounds like it might be a variation of the one where in IE we see no Edit toolbar but apparently in that case we could treat it like an HTML source edit pane and
    then Submit that.  I only see those very sporadically.  Another possibility suggested by this description ("could not enter text in the body") would be to turn off CSS.  I don't know how you would do that using Chrome but in IE you could
    use View, Styles, No Style (Alt-V y N ).
    FWIW for me the biggest problem that I had in the last few days was related to DNS.  I don't know what was going on but in some cases I had to resort to using nslookup's second operand to request a lookup from Google's DNS server (e.g. 8.8.8.8) and
    then try to work with the IP address that that returned.  I was mostly on Answers where that happened though.
    Robert Aldwinckle
    Robert,
    I'm just an average user, not as knowledged as you. I thought these forums were for persons like me. 
    Success
    Cor

  • When I send an e-mail with text it comes out gobble de gook the other end

    when I send an e-mail with text it comes out the other end gobble de gook and the recipient cannot under stand what I am saying it does not happen with anyone else only Mozilla Firefox
    == This happened ==
    Every time Firefox opened
    == past two years since I got vista

    Hi aandjmibert; 
    Hope you are doing well and sorry to hear that you are having this issue.
    Let’s make sure that we collect the most possible information may be relevant to your issue. Please bear in mind the more information that you provide to us the better picture we will have about the factor or factor that are contributing to your situation.
    Please provide to us as most of the following information as possible to you.
    ~ OS Operating system i.e. Apple, Win, Linux. Let’s us know if the operating system is updating automatically or not. If you are able please let us know the build.
    ~ Complete printer model i.e HP Photostat c310a.
    ~ Please include any other information that you feel may be relevant.
    I reintegrate the fact that the more information you include, the better the chances of all members of the community to gather a complete picture of your situation and this will increase the probabilities being able to help you in a promptly and more effective matter.
    Thanks
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • I'm using Firefox w/ Yahoo Mail on a Mac. When I try to copy/paste text in the body of the emai, it thinks I'm inserting a picture & all kinds of little text boxes appear. What can I do to get rid of all the little text boxes?

    This always happens when I try to copy/paste text into the body of my yahoo email. It only started happening when i switched to a mac.

    Try this extension:
    *Extended Copy Menu (fix version): https://addons.mozilla.org/firefox/addon/extended-copy-menu-fix-vers

  • My iPhone 5 only display the apple screen with text on the top (like a command prompt). Has anyone else seen this???

    I was checking my mail and suddenly i get the apple screen with text on the top (like a command prompt). It won't receive phone calls and it doesn't respond to anything. I tried to force shutdown, reset, etc and nothing happened... Now the screen changed to vertical gray lines. I'm attaching a picture of both screen displays. Someone please help!!!!!

    Try a reboot by holding both the power and ome buttons until the apple logo appears.  If that does not bring it back, take it to an Apple store genius bar and have the technicians test it.

  • Send mail with attachment from the uploaded file

    hi,
    From a form thread i got the following code to send mail with attachment with the file uploaded from the file upload ui element.
    public void onActionLoadFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionLoadFile(ServerEvent)
         WDWebResourceType FileType = null;
         String FileName = new String();
              //get attribute info for context attribute 'FileUpload'
              IWDAttributeInfo attributeInfo =
                   wdContext.getNodeInfo().getAttribute(
                        IPrivateEmailView.IContextElement.FILE_UPLOAD);
              //get modifiable binary type from the attribute info,requires type cast.
              IWDModifiableBinaryType binaryType =
                   (IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
              IPrivateEmailView.IContextElement element =
                   wdContext.currentContextElement();
              //if a file in the 'FileResource' attribute exists
              if (element.getFileUpload() != null) {
                   try {
                        String mimeType = binaryType.getMimeType().toString();
                        byte[] file = element.getFileUpload();
                        //get the size of the uploaded file
                        element.setFileSize(this.getFileSize(file));
                        //get the extension of the uploaded file
                        element.setFileExtension(binaryType.getMimeType().getFileExtension());
                        //NOTE: context attribute 'FileName' must not be set
                        //because the FileUpload-UI-element property 'fileName'
                        //is bound to it. Consequently the fileName is automatically
                        //written to the context after file upload.
                        //report success message
                        wdComponentAPI.getMessageManager().reportMessage(
                        IMessageEmailComp.SF_UPLOAD,
                             new Object[] { binaryType.getFileName()},
                             false);
                        FileType = binaryType.getMimeType();
                        FileName = binaryType.getFileName();
                   } catch (Exception e) {
                        throw new WDRuntimeException(e);
              //if no file in the 'FileResource' attribute exists
              else {
                   //report error message
                   IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
                   msgMgr.reportContextAttributeMessage(
                        element,
                        attributeInfo,
                        IMessageEmailComp.NO_FILE,
                        new Object[] { "" },
                        true);
              //clear the FileResource context value attribute
              //element.setFileUpload(null);
              String URL;
              URL = this.CreateAndGetPathFileUpload(
                                  wdContext.currentContextElement().getFileUpload(),
                                                      FileName);
    //          if (URL.length() == 1){
    //               //ERRORE
         wdContext.currentContextElement().setPATHFileUploaded(URL);
        //@@end
      public boolean send( java.lang.String subj, java.lang.String mess, java.lang.String dest, java.lang.String attach, java.lang.String FileName )
        //@@begin send()
         InitialContext ctx = null;
         Address[] address = null;
         Message msg = null;
         Session sess = null;
         MimeBodyPart bodyPart = null;
         Multipart mp = null;
         // "141.29.193.71" == milvl2ja.icn.siemens.it (SMTP di Siemens)
           try {
              Properties props = new Properties();
              props.put("domain","true");
              ctx = new InitialContext(props);
              sess = (Session) ctx.lookup("java:comp/env/mail/MailSession");
              msg = new MimeMessage(sess);
              IWDClientUser utente = WDClientUser.getCurrentUser();
              String senderEmail = utente.getSAPUser().getEmail();
              InternetAddress addressFrom = new InternetAddress(senderEmail);
              msg.setFrom(addressFrom);     
              String EmailDEST = dest;
              InternetAddress addressTo = new InternetAddress(EmailDEST);
              msg.setRecipient(Message.RecipientType.TO, addressTo);
              msg.setSubject(subj);
    //          if ((mess != null) && (mess.length()>0)) {
    //                 msg.setContent(mess, "text/plain");
    //            } else {
    //                 msg.setContent("", "text/plain");
              //Gestione ATTACHMENT...
              String attachedFileName = new String(wdContext.currentContextElement().getFileName());
              boolean hasAttachment = (attachedFileName != null) && (attachedFileName.length() > 0);
              boolean isMultiPart = (mess != null) && (mess.length() > 1);
              //adding an attachment makes the message multipart
                 if (isMultiPart || hasAttachment) {
                    mp = new MimeMultipart();
                    // add text parts
                      if (mess != null) {
                         for (int i = 0; i < mess.length(); i++) {
                           bodyPart = new MimeBodyPart();
                           bodyPart.setContent(mess,"text/plain");
                           mp.addBodyPart(bodyPart);
                    //attach the file to the message if needed
                    if (hasAttachment) {     // avoid the case with no text parts
                         bodyPart = new MimeBodyPart();
                           bodyPart.setContent("Allegato incluso nel messaggio.","text/plain");
                           mp.addBodyPart(bodyPart);
                           // the part with the file
                           FileDataSource fds = new FileDataSource(attach);
                           MimeBodyPart attachmentBodyPart = new MimeBodyPart();
                        attachmentBodyPart.setDataHandler(new DataHandler(fds));
                        //URL URLattachedFileName = new URL(attach);
                        //attachmentBodyPart.setDataHandler(new DataHandler(URLattachedFileName));
                           attachmentBodyPart.setFileName(FileName);
                           mp.addBodyPart(attachmentBodyPart);
                    msg.setContent(mp);
                 } else {
                    if ((mess != null) && (mess.length() > 0)) {
                         msg.setContent(mess, "text/plain");
                    } else {
                         msg.setContent("", "text/plain");
              //fine ATTACHMENT 
              msg.setSentDate(new GregorianCalendar().getTime());
              msg.saveChanges();
              address = msg.getAllRecipients();
              Transport.send(msg, address);
           } catch (Exception e) {
                 e.printStackTrace();
                 return false;
           return true;
        //@@end
    When i used the same code in my application i am gett ing error in many places..
    1)FileDataSource fds = new FileDataSource(<b>attach</b>);
    attach cannot be resolved
    2)attachmentBodyPart.setFileName(<b>FileName</b>);
    fliename cannot be resolved
    3)byte[] file = element.getFileUpload();
    type mismatch cannot convert sting to byte[]
    4)element.setFileSize(this.getFileSize(file));
    method getFileSize() is undefined
    5)element.setFileExtension(binaryType.getMimeType().getFileExtension());
    method getFilExtension() is undefined
    6)URL = this.CreateAndGetPathFileUpload(wdContext.currentContextElement().getFileUpload(),FileName);
    method CreateAndGetPathFileUpload() is undefined.
    7)wdContext.currentContextElement().setPATHFileUploaded(URL);
    from the above error i can understand that only i have got the part of the code.
    Please send me the complete coding.
    some method definitions are missing....
    Please help me to send the mail with attachment from the file uploaded from the file upload ui element.
    Thanks in advance,
    shami.

    hi,
    I got this from the following link
    Re: Attaching an excel file
    plz help me ...
    I am using 2004s with nwds 7.0.06.
    also tell me what should be the type of the context variable FileUpload
    Thanks in advance,
    shami.

  • Send External mail with Attchment from SAP

    Hi All,
    OUR REQUIREMENT: We need to send EXTERNAL MAIL with ATTACHMENT(Excel) form SAP .
    We have developed a function module which converts the internal table data into Excel Format and sends it as an attachment to External Mail.
    ISSUE : But our issue is we are unable to open that document using GOOGLE DOCS Could any one help me how to do this.
    it was thriughing error like
    Error log is .
    ''Sorry, we are unable to generate a view of the document at this time. Please try again later.
    You can also try to download the original document by clicking here. Alternatively, you can view the plain HTML (automatically redirecting).
    Regards
    Venkat .
    Edited by: venkata pradeep on Mar 5, 2012 10:26 AM
    Edited by: venkata pradeep on Mar 5, 2012 10:28 AM

    Is the excel file recognized by MS Excel? If not, then issue is you have wrongly converted your attachment and/or your FM to create an excel file was wrongly coded or you have passed it wrongly to your mail code.
    If you consider an OOP approach in sending external mail, refer to this link:
    http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

  • HT4623 issues with texting after the 6.1 update on my iPhone

    issues with texting after the 6.1 update on my iPhone

    My wife and I are on different networks ie GCI vs AT&T after we both updated our iphones to 6.1 we no longer can receive texts messaging even though both are phones say the message was delivered. we can however text with other iphone users as long they are withing the same carrier and with everyone as long as they are not other iphones regardless of the carrier as well as with other iphon users that are still using 6.0. My wife and I also have ipads with wifi only and the one we updated to 6.1 is having the same issue while the one that is still 6.0 has no issue and will send and receive messages with out issue even to and from the 6.1 devives that are having issues. I have contacted both service providers and was told it is a Apple messaging issue. At this point I just would like to find and reinstal the 6.

  • Oracle forum watch : please send mail with subject as the question

    Hi Site Administrator,
    The oracle forum send a mail if we are watching any topic. Earlier the subject was named as the question subject , which was very helpful.
    Now we are gettting the mail with subject as the topic name ex java programming, new to java etc.
    With the current form we have to see inside each mail to know what is the question asked. Earlier from the subject itself we were able to find what is/may be the question. Which has helped to easily and quickly scan through. So please change this new pattern to old pattern. Since that is the best practice.
    Hi moderator
    Please put my question in the suitable section if it is not placed in the right one.

    793619 wrote:
    Hi moderator
    Please put my question in the suitable section if it is not placed in the right one.Put it there yourself.
    Community Feedback (No Product Questions)
    The Java and Solaris moderators aka community moderators are not authorized to move content anywhere and everywhere on forums.oracle.com. In future, please check the forum listings and find the correct forum to post to.
    I'm locking this thread and it will be removed later.
    db

  • How send e-mail with XML + PDF and body text

    Hi everyone,
    I have a new requirement but I´m with doubts, how to send an e-mail with two attachements (XML and PDF) and body text using -
    MIME: multipart/mixed;boundary
    I already have code to send XML + body text as you can see below:
    Element contentType = docout.createElement("Content_Type");
      root.appendChild(contentType);
      Text contentTypeText = docout.createTextNode("multipart/mixed;boundary=--AaZz");
      absTraceLog.addDebugMessage("Content_Type e-mail --- "+contentTypeText.toString());
      contentType.appendChild(contentTypeText)
    String text = "----AaZz\r\nContent-Type: text/plain; charset=UTF-8\r\n" +
            "Content-Disposition: inline\r\n\r\n" + nfeText +
            "\r\n----AaZz\r\nContent-Disposition: attachment; filename="+ prefixo +" "+ chaveNFe +".xml" +"\r\n\r\n" + xmlString + "\r\n";
    Element content = docout.createElement("Content");
    root.appendChild(content);
    contentText = docout.createTextNode(text);
    Content.appendChild(contentText);
    The code above work good, but I can´t duplicate any field from XiMail 3.0 - because it´s 0:1.
    So how to do that ?
    Thanks.
    Regards,
    BR.
    Viana.

    Eng,
    That´s works good with mailPackage:
                content= "--" + "--Zz" + CRLF
                        + "Content-Type: text/html; charset=UTF-8" + CRLF
                        + "Content-Disposition: inline" + CRLF + CRLF
                        + textBodyMail + CRLF
                        + "--" + "--Zz" + CRLF
                        + "Content-Type: application/xml; name=" + attachmentName + CRLF
                        + "Content-Disposition: attachment; filename=" + attachmentName + CRLF
                        + "Content-Transfer-Encoding: base64" + CRLF + CRLF
                        + encoder.encode(inputString.getBytes("UTF-8")) + CRLF
                        + "--" + "--Zz" + CRLF
                        + "Content-Type: application/pdf; name=" + pdfName + CRLF
                        + "Content-Disposition: attachment; filename=" + pdfName + CRLF
                        + "Content-Transfer-Encoding: base64" + CRLF + CRLF
                        + encoder.encodeBuffer(new BASE64Decoder().decodeBuffer(pdfAttachment));
    Regards,
    BR.
    Ricardo Viana.

  • Can't read body of e-mail and can't send e-mails with text in body.

    The mail on my IPOD touch suddenly doesn't show up in the body of the text. Only can read "From, To and Subject". I also am unable to send e-mails as I can't get into text body. I have twice deleted the account and installed again but problem still occurs.
    Can somebody please help or direct me to where I can find help.

    Software was just updated and works fine.

Maybe you are looking for

  • Can not do anything on the app store ( need to update my payment method)

    Ok, so i got my ipad about a year ago, and for the first three months, i have been using itunes cards to download stuff from the app store. Soon after this, i realised that since i dont really go out, it could be a bit of an inconvenience for me, so

  • Best practice for upgrading from ADS 9.1 to ADS 11

    So we will need start upgrading installs from Advantage Database Server (ADS) version 9 to ADS version 11. Is there a set of best practices? Certain procedures? How do we gracefully fall back if it doesn't work? Does anyone have experience with the d

  • Adobe: Please Give Us An RoboHelp - AIR Help Forum

    Hi all, A client of mine is very interested in the AIR Help format after I showed them a test project. As with any new format, there are risks and bugs, and I want to know about as many of them as possible before I begin a large project with tight de

  • Administrator password reset procedure failed on Weblogic 11g

    We run a Weblogic Server 11g, the web console password for the user 'weblogic' is lost. The password reset procedure described "java weblogic.security.utils.AdminAccount newAdmin newPassword ." does not work, this java class is not found "Could not f

  • Implementing Country legal changes for US/Canada/Australia

    Hello Experts, We need your expertise advice in implementing Country Legal Changes for US/Canada/Australia. Currently we are at HRSP 29, implemented HRSP41 in this week and implementing HRSP 42 in next month, Can you please advice us are there any sp