Send logo in an Email

Hi,
I am sending a mail to vendor using the FM SO_DOCUMENT_SEND_API1.
Here, I have put the body of the mail in standard texts and i am attaching the PO as attachment. But we also need the company logo in the signature of the mail.
Now, I can not insert the logo in standard text, but we need it in the body. Can you please suggest a better function module or a work around?

Hi
Please see this link,
Re: Sending an image in Email
Regards,
Richa

Similar Messages

  • Not able to see the output in sost when sending the image in email body

    I am sending the image in email body and when m trying to see the output in SOST then it showing a page 'you are not connected to the internet'
    I am able to see the output when m saving local objects but when m saving it in some package its showing me this page
    Kindly help it
    Regards
    Pratham Kapoor

    Hello Prakash,
    Thanks for the reply
    I am able to see the mail in SOST but when I click on the Display Document to see the content of the mail then I am getting this error of 'you are not connected to the internet'
    My Program is to put the logo in my email body
    I am sending you the attached image

  • Error while sending PDF file by Email

    Hi All,
    I have a requirement to send multiple files by Email attachement from SAP to internet address.
    All files sent correctly, except one PDF file.
    I have 2 spools, and I am using FM CONVERT_OTFSPOOLJOB_2_PDF to get PDF data for Spool.
    Then I am converting the 134 length PDF data to 255 Email Attachement binary table.
    Now I have 2 file F1.PDF and F2.PDF, in SAP Office outbox and in receivers email, F2.PDF opening fine, however for F1.PDF I am getting some error no 109 in Adobe, which says "There was an error processing a page.There was a problem reading this document. (109)".
    Please help in figuring out the reason for this.
    Additional Information F2.PDF has some text data (SAP Script output) and F1.PDF has some text data with logo (SAP Script Output)
    Thanks in advance

    hi check out following code..
    REPORT ZRICH_0003.
    DATA: ITCPO LIKE ITCPO,
    TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA LIKE SODOCCHGI1.
    DATA: MAILPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
    DATA: SOLISTI1 LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
    FORM SEND_FORM_VIA_EMAIL *
    FORM SEND_FORM_VIA_EMAIL.
    CLEAR: MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    REFRESH: MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
    MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
    MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
    MAILTXT-LINE = 'Here is your file'.
    APPEND MAILTXT.
    Prepare Packing List
    PERFORM PREPARE_PACKING_LIST.
    Set recipient - email address here!!!
    MAILREC-RECEIVER = '[email protected]'.
    MAILREC-REC_TYPE = 'U'.
    APPEND MAILREC.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = MAILDATA
    PUT_IN_OUTBOX = ' '
    TABLES
    PACKING_LIST = MAILPACK
    OBJECT_HEADER = MAILHEAD
    CONTENTS_BIN = MAILBIN
    CONTENTS_TXT = MAILTXT
    RECEIVERS = MAILREC
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    ENDFORM.
    Form PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
    CLEAR: MAILPACK, MAILBIN, MAILHEAD.
    REFRESH: MAILPACK, MAILBIN, MAILHEAD.
    DESCRIBE TABLE MAILTXT LINES TAB_LINES.
    READ TABLE MAILTXT INDEX TAB_LINES.
    MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
    CLEAR MAILPACK-TRANSF_BIN.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 0.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'RAW'.
    APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form. just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
    PERFORM GET_OTF_CODE.
    LOOP AT SOLISTI1.
    MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
    APPEND MAILBIN.
    ENDLOOP.
    DESCRIBE TABLE MAILBIN LINES TAB_LINES.
    MAILHEAD = 'TEST.OTF'.
    APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
    MAILPACK-TRANSF_BIN = 'X'.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 1.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'OTF'.
    MAILPACK-OBJ_NAME = 'TEST'.
    MAILPACK-OBJ_DESCR = 'Subject'.
    MAILPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND MAILPACK.
    ENDFORM.
    Form GET_OTF_CODE
    FORM GET_OTF_CODE.
    DATA: BEGIN OF OTF OCCURS 0.
    INCLUDE STRUCTURE ITCOO .
    DATA: END OF OTF.
    DATA: ITCPO LIKE ITCPO.
    DATA: ITCPP LIKE ITCPP.
    CLEAR ITCPO.
    ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    FORM = 'ZTEST_FORM'
    LANGUAGE = SY-LANGU
    OPTIONS = ITCPO
    DIALOG = ' '
    EXCEPTIONS
    OTHERS = 1.
    CALL FUNCTION 'START_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    Close up Form and get OTF code
    CALL FUNCTION 'END_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    MOVE-CORRESPONDING ITCPO TO ITCPP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = ITCPP
    TABLES
    OTFDATA = OTF
    EXCEPTIONS
    OTHERS = 1.
    Move OTF code to structure SOLI form email
    CLEAR SOLISTI1. REFRESH SOLISTI1.
    LOOP AT OTF.
    SOLISTI1-LINE = OTF.
    APPEND SOLISTI1.
    ENDLOOP.
    ENDFORM.

  • Showing the Logo in the email body

    Hi,
    I am trying to show the logo in the email body. When i try to acheive this with SendMail i am getting a red cross icon.

    Hi,
    I wanted to test it before answering you. Inlcuding JPG images in mail works.
    I created a simple piece of PeopleCode to include a jpg image from the Oracle Site.
    Local string &MAIL_CC, &MAIL_TO, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TITLES, &MAIL_TEXT, &MAIL_FILES, &MAIL_FROM, &REPLYTO, &SENDER;
    Local number &MAIL_FLAGS;
    &MAIL_FLAGS = 0;
    &MAIL_TO = "[email protected]";
    &MAIL_CC = "";
    &MAIL_BCC = "";
    &MAIL_SUBJECT = "Testing SendMail with jpg image";
    &CONTTYPE = "Content-type: text/html; charset=UTF-8";
    &MAIL_TEXT = "Iron Man from Oracle Site: " | "<img src= 'http://www.oracle.com/us/hp01-thumb-ironman-1929584.jpg'>";
    &MAIL_FILES = "";
    &MAIL_TITLES = "";
    &MAIL_FROM = "";
    &MAIL_SEP = ";";
    &REPLYTO = "";
    &SENDER = "";
    &RET = SendMail(&MAIL_FLAGS, &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES, &MAIL_FROM, &MAIL_SEP, &CONTTYPE, &REPLYTO, &SENDER);
    If &RET <> 0 Then
       MessageBox(0, "", 0, 0, "Return code from SendMail=" | &RET);
    End-If;output:
    http://www5.picturepush.com/photo/a/12711833/640/12711833.png

  • HT1430 Unable to send or reply my emails from my ipad?

    Unable to use my ipad for sending or reply my emails why?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Setting Up An eMail Account
    http://support.apple.com/kb/ht4810
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • How do i add a company logo to my email signature on my mac book pro

    how do i add a company logo to my email signature on my mac book pro

    I would like to know how to do this as well. All I'm able to do is add the link, but not the button. My colleague has done this on his Outlook on his HP. I'm not sure why this is so difficult!

  • Can send but not retrieve emails using Thunderbird and Windows 8.1

    Hi, I am not able to get Thunderbird to retrieve emails on a new laptop.
    Last week I purchased a new laptop due to an imminent hard disk failure on my old laptop. I will call them "Old" and "New" laptops. (Old laptop is still working for the moment...)
    The Old laptop is nearly 3 years old, and I have been using Thunderbird on it since new without any problems.
    I have downloaded and installed Thunderbird on the New laptop, and can not get it to retrieve emails.
    As the Old laptop is still working (at the moment), I am able to directly visually compare and check settings on both computers.
    THE PROBLEM
    Using Thunderbird on the New laptop, I am able to send emails, I can see all my old emails restored from the Old laptop using Mozbackup, but clicking Get Mail on the New laptop does not retrieve new
    emails.
    When I click Get Mail, the status message in the bottom left corner says "connected to .....<ISP>..." but does not actually get the emails. However, the Old laptop is still able to get emails as it always has.
    My ISP is a large Australian telco that I have used for many years and I have not changed anything with my account. The ISP is POP3.
    WHAT HAVE I TRIED
    I deleted the email account created by restoring from Mozbackup, and attempted using the Thunderbird new account wizard, however Thunderbird did not recognise my ISP and would not create the account - even though it is working perfectly at the same time on the Old laptop.
    All Firewalls I can find have been configured to allow Thunderbird, with the same configuration settings on both machines.
    How do I know I can send but not Get emails from Thunderbird on the New laptop?
    I have sent test emails to myself from the New laptop. Thunderbird sends successfully, I am able to preview the test emails via Mailwasher on the New laptop, and can read, reply, etc, to the emails if I log into my ISP webmail service. However I can NOT get Thunderbird to retrieve and download these emails on the New laptop. If I go to the Old laptop, Thunderbird works perfectly, retrieves and downloads all new emails, including these test emails.
    I am now at the point where I do not know what else to try and would appreciate any suggestions.....
    I have spent many hours over the last 3 days surfing the net, forums, Mozilla Support, etc, and tried everything suggested, without success. The only thing I have NOT tried is starting windows in Safe mode (as per some suggestions), as it is not a viable long term solution.
    OTHER INFO
    Computer Details;-
    "Old" laptop;-
    Windows 7 Home Premium - continuously updated with all Critical and Important updates. 64 bit version.
    Antivirus = Bitdefender Total Security (subscription and licensed). Up to date.
    MailwasherPro 2012 (subscription and licensed). Up to date.
    Thunderbird 24.5.0 working perfectly. Up to date.
    "New" laptop;-
    Windows 8.1 - up to date with all Critical and Important updates. 64 bit version.
    Antivirus = Bitdefender Total Security (subscription and licensed) - downloaded and installed. Up to date.
    MailwasherPro 2012 (subscription and licensed) - downloaded and installed. Up to date.
    Thunderbird 24.5.0 - downloaded and installed.
    Note: I 'downloaded and installed' the Windows 8.1 version of these programs to avoid any potential compatibility problems restoring or copying from a Windows 7 backup version of the programs.
    1) New laptop came with pre-installed with McAfee - which has been Uninstalled due to running Bitdefender (Windows searches for 'McAfee' return nothing found suggesting the Uninstall was successful).
    2) Thunderbird has been added to both Bitdefender and Windows 8.1 firewalls on the New laptop.
    3) Bitdefender and Windows security settings are identical on both laptops - as near as I can determine, I may be missing something - but have checked all settings 3 times by doing a side-by-side visual comparison.
    4) Thunderbird settings are also identical and I am using the same email address and ISP that I have been using for many years.
    5) I migrated Thunderbird settings, accounts and emails from the Old laptop to the New laptop using Mozbackup, then visually checked and compared all settings in Thunderbird between the two machines.
    6) For info, I have used Mailwasher for many years as a simple way to preview and wash mail before running email programs such as Thunderbird - might be overkill, but I have also never had a virus or malware problem, so will keep doing this.
    7) I have Uninstalled and re-installed Thunderbird on the New laptop twice, and done the same with Bitdefender once.
    8) Any config changes I try on the New laptop, I either restart Thunderbird and / or restart the New laptop, or both.
    9) I have not created a Windows 8.1 account and am not using SkyDrive.
    10) Only other software I have installed on the New laptop is Google Chrome, Office Home 2013 and iTunes - all are working.
    Thanks in advance....

    Well there is not much left. If telnet works then the path is clear and there is no hardware firewall blocking ports.
    All that is left is software, so try windows safe mode with networking. A very handy way to eliminate software. it also actually disables most anti virus resident features and is preferred here because anti virus/security programs do not always disable or turn off when they say they have.
    You might also try the McAfee removal tool. https://community.mcafee.com/thread/52788 I notice the rep said yes to both, they did not say not required.
    Finally you could try creating a new profile, and see if it works just to exclude corruption of your existing profile. ( I doubt it but I am at the anything goes point)
    Just as an aside, I have never had an email borne nasty and I for many years never even had an email virus scanner. So yes I think your a bit over cautious with mailwasher, if that is what your using it for. Thunderbird does not support scripting languages or flash, or most plugins in the email sandbox. The result is getting a virus from a mail in Thunderbird is really only possible, for all practical purposes, if you open that password protected zip from the young Russian woman and that is what the anti virus should be blocking anyway when the temp file is written.

  • Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hello Sue,
    I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
    I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
    It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
    Michael

  • Data from check boxes fails to be collected, when sending the PDF as email

    Hi
    I am working on an interactive PDF that should act as an ordersheet for clients to fill out. I am using Acrobat Pro 9, and everything works as intended, but when the client tries to send the order by email (By pressing a button that uses "submit a form" as actio, where it sends the whole PDF to a single email), the pdf pops up in the email client, and everything looks fine, except all of the checkboxes. None of them have been checked, even though the client have done so. I have searched the forums without luck, so now i am trying in here.
    I have made sure that the client is using the version, that has the extended reader rights.
    If you feel need additional information regarding the PDF, just ask.
    Thank you very much for your time.

    Edit>Preferences>Email accounts>List of email accounts. Click the drop-down that says "add account" and select Gmail. After adding it, you can go to the account area and change it to default.

  • How to do debugging for sending inbound or outbound email via ERMS?

    Hi Colleagues,
    I send an email to '[email protected]' with email titile 'CIM: 318238 2013', and want to display inbound email in email assignment block within CIM Service Request 10001503 in ICX. But it fails to be displayed on Web UI. And there is no problem to browse inbound and outbound emails via t-code SCOT as below.
    If I send an email to '[email protected]', there is no problem to display inbound email within one CIM Service Request in ICP as below.
    One related class ZSCL_CRM_ERMS_AH_CIM_CSS=>IF_CRM_ERMS_SERVICE~EXECUTE is used to implement this function, I don't know how to do debugging when sending inbound or outbound email? Could please tell me more detailed steps?
    Kind Regards
    Andie

    Hi Fabian,
    Thanks for your reply.
    How can I add this method ZSCL_CRM_ERMS_AH_CIM_CSS=>IF_CRM_ERMS_SERVICE~EXECUTE to the list in t-code SM50 for doing debugging?
    And another question is that I cannot attach inbound email to CIM Request via ICX email address '[email protected]', but no problem to send inbound email using ICP email address [email protected] as below. Is there any authorization issue for this case?
    Kind Regards
    Andie

  • Sending 'Dunning Letters' via Email ? - -has anyone succeeded ??

    Hi
    Has anyone had any joy with sending Dunning letters via email at all
    We can get it to work via FAX , but get the following error when trying to send via email
    'connection error on node'
    even tho, there is nothing wrong with the node at all
    via SCOT , we have the default conversion as 'raw text to txt'   which works with everthing else
    If we change to 'raw text' to 'pdf'  we actually get two PDF's - one is blank however
    When viewed via SOST, you cannot open it straight up, you have to open an attachment
    when we queried this with SAP, they say that dunning letters are set up to open as attachments
    The function module is almost identical to that used by statements and remiitances, which works absolutely fine
    I have posted this on a more technical forum as it is not an FI issue, it is a technical problem, which i hope someone has come across and able to resolve for us
    Many thanks
    Tony

    Hi
    Have you see SAP Note 1042992 - Dunning by mail w/ SAPscript: Introductory text w/ attachmnt? Please, check the steps that this note suggests. At a release 46B I did with the enhancement F150D001 (at ECC 5.0 it is too), and you have a demo coding in include LX150F01.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot, according your coding check what is the email address for the customer, if the customer doesn't have email, then the letter goes to the SPOOL order. Check it in the include ZX* or in the BTE.
    Edited by: E_Hinojosa on Mar 1, 2012 5:22 PM

  • Unable to send a photo via email

    I am currently trying to sending a photo via email from I-photo, I get the following message ====  The email server didn’t recognize your username/password combination.
    Can anyone please advise ?????

    iPhoto Menu ->
    Preferences ->
    Accounts ->
    Delete and recreate your email settings.
    Alternatively, use Apple's Mail for the job. It has Templates too - and more of them.

  • How can I get a list of emails in my inbox listed by sender and how many emails are in the box from each one, in a concise list.

    I need a List:
    Name of sender and how many emails from that sender:
    ex:
    Wife - 50
    Boss - 75
    ESPN - 200
    It would best to get them in a excel sheet so I can print, review and then make decisions to delete entire names that I know longer communicate with.

    See this thread here
    Display number of emails by sender

  • I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    1)  Apple ID: All about Apple ID security questions
    Torrifromny wrote:
    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file ?
    2)  See Here.  Apple ID: Contacting Apple for help with Apple ID account security
    Ask to speak with the Account Security Team...
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

  • How can I send from a disposable email address?

    I use Abine to protect my identity, and I often create disposable email addresses for websites to contact me. Occasionally I want to send an email to a company or individual but I don't want them to have my real email address (think Craigslist). But when I write an email, I'm only able to send From the "registered" email accounts in TB. Is there a way to change the "From:" to a disposable address? I have tried numerous times to create an account using a disposable address but I'm never able to succeed. Interestingly, I used to be able to do this many many TB versions ago, I don't know which one, but now I can't.
    Can anyone tell me how to accomplish this? This is an important privacy concern and I'm surprised Mozilla hasn't considered this.
    Thanks in advance for any help.

    I should have mentioned that I'm using TB 31.0 on a MAC running 10.9.4.

Maybe you are looking for

  • My iphone 4 won't sync to my computer/load with my itunes as it is already synced to another computer. How do i sync it with my own itunes?

    I have recently been bought an Iphone 4 from my dad in australia, he unlocked it for me on his computer and i think he must've "synced" it with his computer aswell as whenever i plug in my iphone to my own laptop, it doesn't open on itunes the way my

  • [Deploy Tool] How to create a  Servlet?

    Hello, i try to assemble and deploy a java servlet with the deploy tool in NW4, but to no avail. I managed to use jsps succesfully, but up to now i failed with servlets. When i try to access the WAS after deploying my exercise, i get: <b>404 Requeste

  • Bold Lines in Table

    Hi all, is it possible to print some lines bold dependent on certain criteria? e.g. I have a table with amounts and if an amount is higher than 10k the whole line or the amountfield should be shown bold. I added a programming node in the correspondin

  • Latest OS X on a G3 B&W ?

    Hello, I've got a 350 Mhz G3 B&W. I'm not sure of what revision it is. I'm currently running 10.2.6 on it. I'm wondering if I can install tiger on it or would it be better to stick with 10.2.6. Would it be slower? More Stable? All input greatly appre

  • What happened here... Warping? or What

    I just noticed a bending of the aluminum of the screen this morning. I haven't the slightest clue what happened. I have NEVER dropped the machine, keep it in a speck seethru case, which I then put into an incase bag, and then finally put into my back