Html mail with scripts

Hi,
How can i send the HTML emails with the scripts.

moved to thunderbird for what I needed to accomplish.

Similar Messages

  • Send HTML mail with flash

    Hi
    Does anybody knows how to send a HTML mail with flash to a
    person?
    grtz
    Tom

    Hi!
    You need to use a serverside script like php or asp. I have a
    html string in
    the swf which I send as LoadVars.send() to the server.
    Of cource the server has to be configured correctly to
    support the mail
    function.
    //Micke
    "MatMaar" <[email protected]> skrev i
    meddelandet
    news:e3atb2$c2r$[email protected]..
    > Hi
    >
    > Does anybody knows how to send a HTML mail with flash to
    a person?
    >
    > grtz
    > Tom

  • How to send HTML mail with images multipart/related message

    Hi,
    Could any body tell me how to send HTML mail with images in "multipart/related" message,if any body can give the code ,it would be helpful.
    Thanks

    Hi,
    Could any body tell me how to send HTML mail with
    ith images in "multipart/related" message,if any body
    can give the code ,it would be helpful.
    ThanksHi!
    Refer to
    http://developer.java.sun.com/developer/onlineTraining/JavaMail/index.html
    I've found it very helpful.
    Look at the last part for a code showing how to send HTML mail!
    Regards

  • Send HTML mail with an image

    Hi there,
    I'm trying to send html mail with an image. I'm able to see the image but in another section, at the very bottom of my message. Is it possible to display the image in the main part of my message ?
    Here my code :
    MimeMultipart multi = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    String htmlText = <H1>Test</H1><img src=\"cid:image\">";
    messageBodyPart.setContent(htmlText, "text/html");
    multi.addBodyPart(messageBodyPart);
    MimeBodyPart imagePart = new MimeBodyPart();
    DataSource fds = new FileDataSource("C:\\Resources\\Templates\\logo.jpg");
    imagePart.setFileName( "geologo.jpg" );
    imagePart.setDataHandler(new DataHandler(fds));
    imagePart.setHeader("Content-ID","<image>");     
    multi.addBodyPart(imagePart);
    msg.setContent(multi);
    Transport.send(msg);

    How many different e-mail clients have you tested that with?

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • Send html mail with apple mail

    I used to send a html newsletter with apple mail. I opened the html file in safari pressed cmd + i and a html mail was created. On Yosemite there seems to be a bug with this feature. After pressing cmd + i it creates a mail and html website is selected in this mail, but the mail body is empty. Now I have no ideo how to send the newsletter. Apple mail was the only way to achive a correctly displayed newsletter on most common mail clients.
    Does anyone have the same problem or a solution?

    Seems to be a bug in Safari under Yosemite. Occurs only with HTML pages which are stored locally on the Mac and then opened with Safari.
    Two options for a work around:
    (1)
    When Apple Mail shows a blank page, choose PDF instead of WEB PAGE in the mail header.
    Thereafter, the contents will appear as a PDF attachment.
    (2)
    Publish the HTML page. Surf with Safari to the published page. Use the command "File : Send : Email this page".
    Now it should work.

  • HTML mail with iWeb?

    I trust that everyone saw/received one of those e-mails, that are an html document (from a store as an example).
    Is it possible to do that with iWeb? Design a page and export it as an html-e-mail?
    Thank you.

    I emailed it to Old Toad. I don't have your email!
    I use an application called SerialMailer to create html flyers and send bulk email. If you do a lot of this kind of stuff it may be worth looking at.
    I have some info here....
    http://www.iwebformusicians.com/PromoPage/EBlast.html
    Mail Chimp and Mad Mimi are two companies worth looking at as they do a really great service which is free for small numbers.
    http://madmimi.com/
    http://www.mailchimp.com/

  • Send HTML mail with image

    Hi experts and gurus,
    how can I send an HTML email which is displaying an image in the HTML context (table)?
    I'm using the 'SO_NEW_DOCUMENT_SEND_API1' like below:
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = ls_doc_data
          document_type              = 'HTM'
          put_in_outbox                = 'X'
          commit_work                 = 'X'
        TABLES
          object_content             = gt_mail_body
          receivers                  = gt_receiver .
    I think that might switch to function module 'SO_NEW_DOCUMENT_ATT_SEND_API1', but I have no clue how to set up the PACKING_LIST properly and to incorporate the image into the HTML code afterwards.
    Can anybody help me?
    Regards, Steffen

    Hi,
    I am also trying to send the image in the mail body but the image is not being displayed in the mail.
    I am using cl_bcs class to send the image as the attachment in the mail and the body content but the
    image is not being displayed instead all I can see a box with red cross however, the attached gets open.
    But it is not able to find the image source I guess.
    I am using Lotus notes to check the mail.
    Please help me ......
    I am uploading the image file from desktop into my code then I am attaching it in the mail.
    Please let me know the solution
    The code is as follows :
    REPORT  ztest_mail_544.
    DATA: l_send_request         TYPE REF TO cl_bcs,
            l_document             TYPE REF TO cl_document_bcs,
            l_sender               TYPE REF TO cl_sapuser_bcs,
            l_sub                  TYPE char50,
            l_recipient            TYPE REF TO if_recipient_bcs,
            tl_contents            TYPE STANDARD TABLE OF soli,
            tl_reciev              TYPE STANDARD TABLE OF somlreci1,
            lp_encrypt             TYPE bcsd_encr,
            wa_contents            TYPE solisti1,
            l_doc_len              TYPE so_obj_len,
            l_cnt                  TYPE sy-tabix,
            l_rcv_email            TYPE adr6-smtp_addr,
            l_result               TYPE sy-binpt,
            l_bcs_exception        TYPE REF TO cx_bcs,
            l_subj                 TYPE string,
            l_doc                  TYPE REF TO cl_document_bcs,
            e_result               TYPE sr_state,
            ls_receivers           TYPE somlreci1,
            ll_text                TYPE uname.
    DATA filename TYPE string .
    DATA : it_tab TYPE solix_tab.
    filename = 'C:\Documents and Settings\Desktop\otter.jpg'.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = filename
        filetype                      = 'BIN'
      TABLES
        data_tab                      = it_tab
    EXCEPTIONS
       file_open_error               = 1
       file_read_error               = 2
       no_batch                      = 3
       gui_refuse_filetransfer       = 4
       invalid_type                  = 5
       no_authority                  = 6
       unknown_error                 = 7
       bad_data_format               = 8
       header_not_allowed            = 9
       separator_not_allowed         = 10
       header_too_long               = 11
       unknown_dp_error              = 12
       access_denied                 = 13
       dp_out_of_memory              = 14
       disk_full                     = 15
       dp_timeout                    = 16
       OTHERS                        = 17
    wa_contents-line = 'Mail containing pics <br/>'.
    APPEND wa_contents TO tl_contents.
    CLEAR wa_contents.
    wa_contents-line = '<p><img src="otter.jpg" width="304" height="228"></img > </p><br/>'.
    APPEND wa_contents TO tl_contents.
    TRY.
    *-- Create persistent send request
        l_send_request = cl_bcs=>create_persistent( ).
           tl_contents[] = it_mail_body[].
    *-- Get the length of the Document
        DESCRIBE TABLE tl_contents LINES l_cnt.
        READ TABLE tl_contents INTO wa_contents INDEX l_cnt.
        l_doc_len = ( l_cnt - 1 ) * 255 + STRLEN( wa_contents ).
    *-- Subject of the mail
        CLEAR l_sub.
        l_sub = 'test mail for image'.
        l_document = cl_document_bcs=>create_document(
                     i_type       = 'HTM'
                     i_text       = tl_contents
                     i_length     = l_doc_len
                     i_subject    = l_sub
                     i_language   = sy-langu
                     i_importance = '9' ).
    *-- Add document to send request
        CALL METHOD l_send_request->set_document( l_document ).
    *-- Don't send delivery info for successful mails
        CALL METHOD l_send_request->set_status_attributes
          EXPORTING
            i_requested_status = 'E'
            i_status_mail      = 'A'.
    *-- Set sender
        l_sender = cl_sapuser_bcs=>create( 'HR_SUPPORT' ).
        CALL METHOD l_send_request->set_sender
          EXPORTING
            i_sender = l_sender.
        DATA : i_attachment_type    TYPE  soodk-objtp,
               i_attachment_subject TYPE  sood-objdes .
        DATA : t_attachment TYPE STANDARD TABLE OF  solix.
        TRY.
           l_att_type = i_attachment_type.
           l_subject  = i_attachment_subject.
            i_attachment_type = 'jpg'.
            t_attachment[] = it_tab[].
            l_doc = l_document .
            i_attachment_type = space.
            i_attachment_subject = 'otter.jpg'.
            CALL METHOD l_doc->add_attachment
              EXPORTING
                i_attachment_type    = i_attachment_type
                i_attachment_subject = i_attachment_subject
                i_att_content_hex    = t_attachment.
          CATCH cx_document_bcs.
        ENDTRY.
        l_recipient = cl_cam_address_bcs=>create_internet_address('xyz @abc.com' ).
        CALL METHOD l_send_request->add_recipient
          EXPORTING
            i_recipient  = l_recipient
            i_express    = 'X'
            i_copy       = ''
            i_blind_copy = ''.
        IF sy-subrc = 0.
        ENDIF.
        CALL METHOD l_send_request->set_send_immediately( 'X' ).
    *-- Send Email
        CALL METHOD l_send_request->send(
            EXPORTING
              i_with_error_screen = 'X'
            RECEIVING
              result              = l_result ).
        COMMIT WORK.
      CATCH cx_bcs INTO l_bcs_exception.
        write : 'mail not sent '.

  • Sending HTML mail with swnconfig/swn-selsen

    Hi,
    I have made configuration with SWNCONFIG to send notification by Email in HTML format.
    I've a problem, the task description is well in HTML but in a file attachement, what
    I want is the body of the email in HTML with the task description and no file attachement.
    Have you some idee ?
    Thanks for you help.
    Pierrick LEONARD

    Nobody can help me ?

  • Send html mail with navigateToURL(new URLRequest('mailto:

    hi!
    do you think its possible, to send html text to the email client of the mobile device?
    i tried different ways, but without success.
    Way 1
    navigateToURL(new URLRequest('mailto:[email protected]'+'?subject=Subject'+'&body= <html><body>Hello world<br><img src="http://www.republicofcode.com/wp-content/uploads/2012/04/Pins2_300_250.png"></body></html>'));
    Way 2
    var hdr:URLRequestHeader = new URLRequestHeader("Content-type", "text/html");
    var request:URLRequest = new URLRequest('mailto:[email protected]?subject=Subject&body=<html><body>Hello world<br><img src="http://www.republicofcode.com/wp-content/uploads/2012/04/Pins2_300_250.png"></body></html>');
    request.requestHeaders.push(hdr);
    navigateToURL(request);
    Maybe i need another content type than text/html?
    In the reference i've read, that the default one is: application/x-www-form-urlencoded
    http://help.adobe.com/de_DE/FlashPlatform/reference/actionscript/3/flash/net/URLRequest.ht ml#contentType
    Any ideas?

    you could try:
    function submitPoll(e:MouseEvent):void {
      //sending the email stuff
      var request:URLRequest = new URLRequest("mailto:[email protected]"+"?subject=Subject"+"&body= Hello world ");
      navigateToURL(request, "_blank");
      request.method = URLRequestMethod.POST;

  • When sending html mail from ocfo or direct telnet smtp_in returns an error

    <lots of markup/>
    ......<snip>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN
    style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>
    500 5.6.0 Data command failed: too many headers
    550 5.7.1 Closing connection
    Connection closed by foreign host.
    Has anyone seen this problem? I get the feeling that smtp_in is counting every html tag as a header, should I increase the "Maximum Number of Headers Allowed in a Message" parameter in smtp_in to fix this problem? If so what might be a reasonable setting? I increased it from 1000 to 2500 but could not get a particular email to send. Small amounts of HTML send ok.
    thanks!

    OK, I think I have narrowed this to a problem somewhere between the listener and SMTP_IN. This problem only occurs when using SMTP over SSL. I switched my two SMTP_IN processes, I made the non-SSL into SSL and vice-versa. The problem followed the process with the SSL configuration. I have no idea what in the listener configuration (or the smtp_in config as its shown through em) could caused this kind of problem. Small html mails with basic markup in them work fine over SMTP SSL, but big html mails with lots of nasty markup alway fail, they just stay in the outbox and then ofco needs several folder refreshes (or restart) in order to be able to again view any of the "mail" type folders (imap).
    Thunderbird also has these symptoms minus the need to refresh/restart after a failed html mail sending attempt.
    Anyone seen/seeing anything like this?

  • 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

  • How to Send mail with an attachment of html file?

    Hi all,
    i am using Oracle 11g Database R1 on Windows 2003 Server R2. I am using the below script for sending a mail with an attachment
    declare
    vInHandle utl_file.file_type;
    flen number;
    bsize number;
    ex boolean;
    l_Output raw(32767);
    fname varchar2(30) := 'TEXT.TXT';
    vSender varchar2(30) := '[email protected]';
    vRecip varchar2(30) := '[email protected]';
    vSubj varchar2(50) := 'Weekly Invoice Report';
    vAttach varchar2(50) := 'TEXT.TXT';
    vMType varchar2(30) := 'Content-type: text / html';
    begin
    utl_file.fgetattr('ORALOAD', fname, ex, flen, bsize);
    vInHandle := utl_file.fopen('ORALOAD', fname, 'R');
    utl_file.get_raw (vInHandle, l_Output);
    utl_file.fclose(vInHandle);
    utl_mail.send_attach_raw(sender => vSender
    ,recipients => vRecip
    ,subject => vsubj
    ,attachment => l_Output
    ,att_inline => false
    ,att_filename => fname);
    end;
    this Script is Working Fine for text based file only. but i want to send a html file from oracle directory. is it possible? .... Please Advice me... if it possible please provide a sample code or any Link Related to this.
    Thank You So Much for Your Help
    Shan

    if it possible please provide a sample code or any Link Related to this.Perhaps the maildemo is of use to you, read more threads about it's use here:
    http://forums.oracle.com/forums/search.jspa?objID=f75&q=maildemo
    OTN code sample link:
    https://codesamples.samplecode.oracle.com/servlets/tracking?id=S516

  • When I forward an HTML email with embedded graphics to someone, it forwards it as plain text.. this is driving me batty.. how do I forward such mails INTACT??

    I have the latest Thunderbird installed on a new 64-bit Winblows Eight netbook.. fantastic program, but one problem is driving me absolutely batty, and after using the latest Thunderbird for weeks, I simply can't figure out how to fix it..
    I'm on a lot of mfr. and other kinds of mailing lists, like eBay watch list alerts, and so on.. these are not s p a m (although I get plenty of that.. who doesn't).. but lists I WANT to be on..
    Many such emails from those mailing lists are in HTML format with embedded graphics.. I'm not talking about graphic file attachments, but embedded graphics which are coming from the senders' servers, and appear AS a graphic in the email.. sometimes such emails are one huge graphic with hardly any text.. all well and good..
    However, here's the problem.. when I want to forward such an email to a friend, Thunderbird ALWAYS formats it as plain ASCII text.. I know this because I look in the "sent mail" folder, and can see that it has turned an HTML email with embedded graphics into plain ASCII text..
    I absolutely can't figure out how to get it to forward an HTML email with embedded graphics INTACT, so the sender receives it looking the way it looks when I receive it from a mailing list, or an advertiser, or eBay, or whoever..
    Is Thunderbird capable of forwarding an HTML email with embedded graphics INTACT?.. If so, how / where do I turn on that capability?..
    If the capability to do this isn't built into the program, is there an add-on I can install that will give it that ability?..
    I am not new to computers.. but this really has me stumped.. I want to put Thunderbird on my 32-bit Vista laptop and stop using its horrible "Windoze Mail" program, which I've been using for years, and is slower than snot, and has all kinds of other problems..
    So, assuming whoever reads this FULLY understands my question, PLEASE tell me how to get Thunderbird to have the ability to forward an HTML email with embedded graphics AS-IS, so the receiver(s) I forward it to see it exactly the way I see it when I receive it.. if that ability is built in, please tell me how to turn it on.. if that ability is not built-in, please tell me what add-on I need to install to give Thunderbird this capability.. if Thunderbird absolutely can't forward an HTML email with embedded graphics at all, please also tell me that..
    A virtual box of candy and a dozen long-stemmed roses to anyone who can give me a solution that works..
    Thanks..

    Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
    Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
    I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
    I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
    Thanks again..
    Harv..

  • Is there any way, to create with Adobe Muse HTML-Mail Templates?

    Is there any way, to create with Adobe Muse HTML-Mail Templates? or to convert the createt page to only html content? any other tool like an website copyer?
    tanks for help!

    Off the top of my head, you should be able to create mail templates in muse BUT it will require  very basic html/css knowledge on your part. I am assuming you want to do just the signature?
    Create the design you would like on one page, dont do any kind of styling in a master page. Then export the site into a folder. Open the html file with notepad/ textedit and then copy just the code for JUST the template. Throw it in you mail app of choice and it should work.
    This seems like something that would be done alot quicker in dreamweaver in design view.
    PLEASE NOTE: ^i could be completely wrong - but in theory this may work.

Maybe you are looking for