Encounter error when sending HTML format email

please reference below codes, when the lt_html has more than one line, the email could not been displayed properly in my inbox.
did you encounter this kind of problem? Pls help, thank you.
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = lt_html
i_length = conlengths
i_subject = 'HTML format email' ).

Hi,
please show the 3-line html-code that does not work:
in lt_html, also value and/or method to fill for conlengths
Save email as text and show whats there.
This is required for the answer.
Regards,
Clemens

Similar Messages

  • Error when sending HTML format mail from Oracle 9i forms

    Dear All,
    i have created one procedure with 15 in parameter by which i can send mail in HTML format. due to length problem i am using 15 parameter, every parameter has length 32767, i am splitting HTML coding after every parameter length fulfilled
    when 3 or 4 parameter only fulfilled mail comes well, but more than 4 parameter fulfilled mail is not coming, will any one of you kindly please help me to resolve this
    following procedure i am using.......
    PROCEDURE P_SEND_MAIL( subject_p varchar2, salutation_p varchar2, plan_hdr_msg_p varchar2,
    plan_dtl_msg_p_1 varchar2, plan_dtl_msg_p_2 varchar2, plan_dtl_msg_p_3 varchar2, plan_dtl_msg_p_4 varchar2,
    plan_dtl_msg_p_5 varchar2, plan_dtl_msg_p_6 varchar2, plan_dtl_msg_p_7 varchar2, plan_dtl_msg_p_8 varchar2,
    plan_dtl_msg_p_9 varchar2, plan_dtl_msg_p_10 varchar2, plan_dtl_msg_p_11 varchar2, plan_dtl_msg_p_12 varchar2,
    plan_dtl_msg_p_13 varchar2, plan_dtl_msg_p_14 varchar2, plan_dtl_msg_p_15 varchar2, summary_p varchar2,
    cmplmntry_sign_msg_p varchar2, mailto_p varchar2 ) IS
    mail_from varchar2(100);
         mailhost varchar2(30) := 'MAIL-SRVR';
         crlf varchar2(10) := CHR(13)||CHR(10);
         mess_bdy varchar2(10000);
         Port number := 25;
         conn UTL_SMTP.CONNECTION;
    begin
         mail_from := 'IT-Department';
         mess_bdy := 'Date: ' ||TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' )|| crlf ||
         'From:' ||mail_from|| crlf ||
         'Subject:'||subject_p|| crlf ||
         'To: ' ||mailto_P|| crlf ||'' || crlf;
         conn:= utl_smtp.open_connection( mailhost, Port );
         utl_smtp.helo( conn, mailhost );
         utl_smtp.mail( conn, mail_from);
         utl_smtp.rcpt( conn, mailto_P );
         utl_smtp.data( conn, 'MIME-Version: 1.0' ||CHR(13)|| CHR(10)||
         'Content-type: text/html' || CHR(13)||CHR(10)||
         mess_bdy||salutation_p||plan_hdr_msg_p
         ||plan_dtl_msg_p_1||plan_dtl_msg_p_2||plan_dtl_msg_p_3||plan_dtl_msg_p_4||plan_dtl_msg_p_5
         ||plan_dtl_msg_p_6||plan_dtl_msg_p_7||plan_dtl_msg_p_8||plan_dtl_msg_p_9||plan_dtl_msg_p_10
         ||plan_dtl_msg_p_11||plan_dtl_msg_p_12||plan_dtl_msg_p_13||plan_dtl_msg_p_14||plan_dtl_msg_p_15
         ||summary_p||cmplmntry_sign_msg_p);
         utl_smtp.quit( conn );
    exception
         when others then
         null;
    END;

    did u encounter any error?
    Be more clear in ur saying. As i understood that - is when coming to 5th parameter u r not able to access it. Is it right?
    Message was edited by:
    USER_X

  • How do I  Send HTML formatted email  using  class in  javax.mail pkg

    How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?

    Please see
    http://javaalmanac.com/egs/javax.mail/SendApp.html
    for Quintessential Program to Send E-Mail.
    Then substitute line
    msg.setText(content);
    /with this one
    msg.setContent( content , "text/html");
    it should do in simplest form.

  • Can not send HTML formatted email since Mavericks?

    Hi..
    I was using Thunderbird happily in Mountain Lion and all was well. But as soon as I upgraded to Mountain Lion I can no longer send any HTML formatted emails at all. Everything I paste into Thunderbird get instantly converted to 'plain text'. Apart from manually editing basics like font colour, italics, bold I can't do much else.
    'Compose messages in HTML' is checked across all accounts, and 'Delivery Format' is set to 'Rich Text HTML'.
    Yet thunderbird refuses to render any pasted HTML formatted material.
    If I can not find a solution to this I will have to find an alternate mail client as rich formatting is critical for me.

    I just wiped Thunderbird completely from my system (Mavericks) and reinstalled from scratch. Yet still it will not render any HTML pasted into an email copied from Safari.
    I did however manage to paste HTML from Firefox and then Chrome into Thunderbird and they both rendered perfectly.
    But.. things get a bit strange. I am able to copy HTML from any webpage opened in Safari and paste it into a Googlemail email also opened in Safari and it renders fine.
    This is such a pain as Safari is my browser of choice and Thunderbird my email client of choice. But they just don''t want to work together in Mavericks.
    :((

  • Error when sending excel as email attachment

    Hi All,
    I am sending excel document as email attachment through F.M. SO_DOCUMENT_SEND_API1. I am getting the attachment but when i open it, it is giving error "The file is not in recognizable format....."
    Please let me know how can i solve this problem.
    Regards,
    Saba

    Hi Saba,
    Check this link I think will surely help.
    [http://www.sap-img.com/abap/sending-email-with-attachment.htm]
    Regards,
    Amit.

  • Getting error when sending text to email

    I get this error on my phone "messages with enhanced features cannot be sent to email". What is it talking about? These are simple word texts. I need to get them to my email for print copies.

    Extended length is a msg over 160 characters in length.
    You could also try the text select and copy/paste them into an email from your gmail account on the phone to the email address you are trying to email.
    Edit:  Here is a quick copy/paste straight form the vtext.com website just for reference:
    Q. What are the features available from Enhanced TXT Messaging?
    A. In addition to the features of TXT Messaging, with a new EMS capable
    handset you can enjoy the following additional features:
    a.. Extended Message Length: An EMS capable handset will allow you to
    compose an Enhanced TXT message over 1000 characters long.
    b.. Text Formatting: Some EMS capable handsets will allow you to apply
    text formatting to the message text such as Bold, Italics, and Underline in
    your Enhanced TXT Message.
    c.. International Characters: An EMS capable handset will allow you to use
    foreign language characters such as 'ü', 'ñ', and 'é' in your Enhanced TXT
    Message.
    d.. Embedded Media Objects: Most EMS capable handsets include a menu of
    sounds, graphics, and animated icons that you can insert into the body of
    your Enhanced TXT Message. These embedded media objects are displayed
    (sounds are played) when the message is opened on the receiving EMS capable
    handset.

  • Error when send date format to R3

    All,
    i want to send date to BAPI , field type sy-datum, i'm using java.sql.Date as reference (yyyy-MM-dd), but error occurs , does anyone know why?

    Hi Oscar,
    First convert your date in the desired format using SimpleDateFormat .
    Then set the Date.
    SimpleDateFormat smpdtFormat =new SimpleDateFormat("yyyy-MM-dd");
    String validFr="";
    validFr = wdContext.nodeProductDate().getElementAt(0).getAttributeValue("Validfr").toString();
    <node element name>.setValidDate(new Date(smpdtFormat.parse(validFr).getTime()));
    Check this Threads.
    Re: Problems with java.sql.Date
    Re: format SimpleDateFormat
    Regards,
    Mithu

  • Error when sending payslip to email

    HI,
    Any  HR-ABAP  Experts please help me my client requirement is sending payslip(smartform) to email , so i convert smartform to pdf and attche it to email for this i write one zprogram  its working means pdf file  attched to email  but getting error to open the document error like this "the file is damaged and could not be repaired ",
    i think getting problem in below FM  PAYSLIP_VARIANT = '   '  , how to write varient for CUSTOM SMARTFORMS.
    CALL FUNCTION 'GET_PAYSLIP'
    EXPORTING
    EMPLOYEE_NUMBER = WA_PERNR-PERNR
    SEQUENCE_NUMBER = WA_RGDIR-SEQNR
    PAYSLIP_VARIANT = '   '
    IMPORTING
    P_INFO          = P_INFO
    TABLES
    P_FORM          = P_FORM.

    Hi Venkat,
    Check OSS note 1430123.
    Hope this will help!
    Muktar

  • Error when sending photo via email

    Hi
    I recieve this message when trying to send an photo via email from iphoto.
    "The email server didn’t recognize your username/password combination".
    There is no option to change/re-enter password that I can see.
    Any ideas

    what version of iPhoto?
    in iPhoto '11 re-enter the information under the accounts tab  in the iPhoto preferences
    LN

  • HTML formatted email with international content displays wrong character

    When reading HTML formatted email on the iPhone iOS4.1, it will sometimes display wrong characters.
    Comparing email source content from various html formatted emails I can see that;
    it displays incorrectly when:
    - HTML formatted content
    - Content type is marked as text/html with charset ISO-8859-1 (Latin1) which is the default html standard character encoding.
    - The international characters are not written in html conversion format, i.e. ø instead of ø
    It displays correctly when:
    - The content is marked as text/plain and encoded as Quoted-printable
    Anyway, the email which is display wrong characters on iPhone displayes correctly on OS X Mail app. Leading me to a temporary conclusion that it is a bug in iOS4.
    Can anybody confirm this?

    No matter which format you choose, you're sure to offend some recipients. Some people object to HTML, based on security or privacy concerns. Some prefer HTML because it's a more effective means of communication for some purposes.
    If your default composition format is HTML (or plain text), hold Shift when you click Write, Reply or Forward to switch the format to the opposite type, or if HTML is the default, select Options/Delivery Format/Plain text only in the Write window to make a one-off change.

  • HTML Formated Email From Oracle Database

    Hello,
    I am generating email alerts from oracle 11g,10g using utl_mail.send.
    I want to genrate/send email in HTML formated.
    How i can send HTML formated email form Oracle Database (11g,10g)
    Thanks In Advance

    hi,
    inside oracle apex 10g. i am using this.
    please try
    begin
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => 'test',
    P_BODY_HTML => '<table><tr><td>data</td></tr></table>' || SYSDATE,
    P_SUBJ => 'Test Email working '
    wwv_flow_mail.push_queue(
    P_SMTP_HOSTNAME => 'localhost',
    P_SMTP_PORTNO => '25'
    end;
    Thanks
    LOGA
    www.go-websoft.com
    Apex Consulting & Development

  • Blank message body when sending or receiving HTML formated emails Exchange 2010

    I Have just installed Exchange Server 2010 over the weekend on a customers system.  All clients using either Outlook 2003 or 2007 are unable to see any text in the body of emails that are formatted in HTML.  If they receive an email formatted as HTML there is no body text, if they send an Plain Text formatted email the recipient sees the text in the body.  This problem presents across all Exchange users and affects all HTML formatted emails sent or received since transitioning from Exchange 2007 to 2010.  Plain Text and Rich Text email present with no issues. If we import old email via a pst they afre able to see all email text both HTML and plain text. when we access the clients email account via OWA all emails work but then if we go into outlook 2003/2007 and click the email it removes the body text from the email in both the client and OWA have tried Outlook connection issues with Exchange 2010 mailboxes due to RPC encryption requirement
     http://support.microsoft.com/default.aspx/kb/2006508 and it made no difference at all.
    Thanks
    Update: Have just tested further and all pc seem to work ok with either 2003 or outlook 2007 on.  The problem only seems to be happening on the remothe desktop services server which has outlook 2007 ( have also tried outlook 2003 with same results)

    We have just migrated to Exchange 2010 and have had some blank emails come in to our system.  We think we have a reason and fix for
    it. Hopefully this helps someone else…
    Staffs have their own private mailbox (as you would expect) but also share common mailboxes like "Support" and "Info". When an email came
    into the inbox on a shared mailbox, it might be blank. Plain text emails seemed to be okay. 
    We found that when an email came in, it was readable for about two or three seconds (you need to be setup to send a test and check the inbox quickly - we used Outlook 2007 with the reading pane turned on) and then it blanked out!. We checked the incoming
    email by using the arrow keys to select it and then select the email below the new email, if you go back and forth between them you can see the good new email suddenly goes blank.
    So send another test, but this time make sure the email is set to “Plain Text”. Our email turned up fine, two seconds latter
    it had a NOD32 signature appended to the end of it saying that it had been scanned by NOD32 (you may have seen this kind of note appended to the end of emails before).
    What appeared to be happening is that one or more users sitting at their desks in Outlook had different settings configured in NOD32 (they
    were supposed to be using the server based profile that we control). We thought we had the server doing the AV work, but several of our client PCs had NOD32 enabled to integrate with Outlook. New items received in the shared Inbox’s were being scanned
    by the client PCs and having a signature appended which was mucking up the HTML format of the email and Exchange 2010 blanked them out.
    Make sure your AV products aren’t corrupting the email formats causing them to be displayed blank. Try tests using OWA only and don't
    access the mailbox using Outlook.
    Thanks.

  • Apex_mail.send / HTML formatting Ignored When Sent via Trigger

    I have a PL/SQL procedure that sends a formatted email using the apex_mail.send procedure. This procedure works 100% perfectly if I run the procedure either from a scheduled job (using dbms_scheduler), or when I siimply call the procedure "ad hoc" from the APEX SQL Editor. However, when the exact same procedure gets invoked/called from a DB trigger, some of the formatting instructions get ignored with regards to font face and font size. I am stumped by this. Any ideas?
    BTW, I'm using APEX 4.2.
    Thanks in advance

    Sorry totally my fault - no issue at all... more a problem with the tester! users with an external email address are receiving the email it just seems when the email is sent from Apex standalone is appears in the inbox but when it is sent from within an iframe it is sent straight to the junk mail by the email client... still a little strange there is a difference in behaviour but at least it doesn't totally fail as I first thought.

  • HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome

    HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome. Extra large font sizes and weird formatting issues only when printing emails from Gmail within Chrome. No problems when printing the same email from Gmail+Internet Exolorer or Thunderbird. Using the IE Tab extension in Chrome prints the email correctly but the style of Gmail's message window is completely weird ie: formatting bar is spread out vertically instead of horizontally. I believe it is clear that this is an application specific issue between the HP LASERJET CP1525nw printer and Google Chrome + Gmail. This printing scenario does not occur when printing anything else or when printing via another printer. I would appreciate receiving any suggestions to solve this issue.
    OS: Windows 7 Ultimate x64
    Browser: Google Chrome 15
    HP Print driver: HP Universal Print Driver for Windows PCL6 v5.4.0
    Printer is connected by WiFi to 4 computers

    Hi AbZu, 
    You need to contact Google Chromes technical support as this is only an issue with Chrome. You have indicated that the printer functions correctly everywhere else. Check out the link below for Google Chrome technical support. Let me know if you need additional assistance?
    http://support.google.com/chrome/?hl=en
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • HTML formatted Email notification with embedded images

    I am using Oracle BPM 6.5 (Studio) and been spending my wheels on trying to send out an email from a process with formatting. I am able to send emails in plain text. I get a parseexception whenever I try to set the content type property of MAil object. Not sure what might be going on. Here is the sample code.
    reminderEmail as Mail
    reminderEmail = Mail()
    reminderEmail.from="[email protected]"
    reminderEmail.recipient="[email protected]"
    reminderEmail.subject="Review xx Information"
    reminderEmail.contentType = "Content-Type: text/html; charset=utf-8" (IT WORKS WITHOUT THIS LINE)
    reminderEmail.message = "<HTML><h2>Please check and resend the message</h2></HTML>"
    send reminderEmail
    It would be great if I can get a sample to send out HTML formatted emails. I know it should work because the automatic notification mail that is sent out by the engine is HTML. This is the one where it says "The instance can be accessed "here""
    Thanks so much

    If you want to send the html page and have it
    reference the images and css files on your web
    site, that's pretty easy. Just create a message
    with text/html content that is your html page.
    If you want to include all the images and css files
    in your message along with the html page, you'll
    need to create a multipart/related message and
    you'll need to change all the html to reference the
    images and css files using "cid:" references.

Maybe you are looking for

  • Asset Creation in PR and PO and MIGO as a single Line item with "N" qty

    Hi All, In Purchase requestion ME51N Now we are creating "n" number of assets ( All are same item but "s.no" will vary) with "n" number of line item. Instead of this I have to enhance to create only one line item( For same item) with "n" quantity. fo

  • Oracle Streams setup for multiple schemas in a same database

    We are on 11.1.0.7 and will be using Oracle 11g Streams that will replicate the data real-time for two schemas between the source and target set of schemas with in the same database. We will be doing DDL as well as DML replication. I created the foll

  • Where to put my site

    This question has been buggin me for a while and I just thought I'd ask. I wasn't sure whether to put this on the iWeb or .mac forum, so I copied it to both. First, I am a novice with almost anything about website making, so forgive me for misused te

  • Retrieve members of particular tree within a particular ESSBASE dimension

    Hi folks, to explain it very simple :-) 1) I am in an Event Script (i.e. After Fileimport) 2) I would like write a script or create a logic, that retrieves base members of a particular tree within a particular ESSBASE dimension (target system is ESSB

  • How do you add a device in MAX after getting Error 200220

    Hello, I am receiving the following error when I launch my datalogging software When I open MAX, I noticed that the NI device I am using (USB-TC01) is not listed. Would anyone out there be able to let me know how do I add the the TC01 device? I know