How to send mail from ABAP code?

Hi,
I need to send e-mail from ABAP Code .
e.g:  If sy-subrc ne 0.
     ( send e-mail to  "[email protected]" )
       endif.
Please provide me any Function module for this or any code.
Correct answear will be rewarded my maximum points.
Thanks & Regards,
Gaurav.

Check this code sample
* Send mail
  maildata-obj_name = 'TEST'.
  maildata-obj_descr = 'Test Subject'.
  loop at htmllines.
    mailtxt = htmllines.
    append mailtxt.
  endloop.
  mailrec-receiver = '[email protected]'.
  mailrec-rec_type  = 'U'.
  append mailrec.
  call function 'SO_NEW_DOCUMENT_SEND_API1'
       exporting
            document_data              = maildata
            document_type              = 'HTM'
            put_in_outbox              = 'X'
       tables
            object_header              = mailtxt
            object_content             = mailtxt
            receivers                  = mailrec
       exceptions
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            others                     = 8.
  if sy-subrc  0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
Regards.

Similar Messages

  • Garbage in mail body when sending mail from abap code

    Hi abapers,
    i am sending mail from my program and when the data reaches in mailbox it is as follows.
    佐呓义⁇䅄䕔䌉乏啓䕍⁒低䌉乏啓䕍⁒䅎䕍䤉⁃䥔䭃⁔低म䍉吠䍉䕋⁔䕄䍓䤉⁃䥔䭃呅匠䅔啔॓
    which is not proper.
    I'm attaching the following part of code which i have used.Please let me know if i've made any mistake over here.
    DOCDATA-OBJ_LANGU = SY-LANGU.
      DOCDATA-OBJ_NAME = 'Mail_Excel_File'.
      DOCDATA-OBJ_DESCR = 'Closed Customer Complaints'.      
      DOCDATA-SENSITIVTY = 'F'.
      OBJTXT =
      'Attached compensation request is pending for your approval as on '.
      APPEND OBJTXT. CLEAR OBJTXT.
      OBJTXT =
      'today. Please find the attached Field Investigation Report.'.
      APPEND OBJTXT. CLEAR OBJTXT.
      OBJTXT =
      'This is auto generated mail.Please do not reply to this mail.'.
      APPEND OBJTXT. CLEAR OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ     TABLE OBJTXT INDEX TAB_LINES.
      DOCDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
      DESCRIBE TABLE I_CONTENTS_HEX LINES TAB_LINES.
    *  OBJPACK-DOC_SIZE = TAB_LINES * 255  + STRLEN( OBJTXT ).
      OBJPACK-DOC_SIZE = TAB_LINES * 255  .
      OBJPACK-TRANSF_BIN = 'X'.
    *  OBJPACK-TRANSF_BIN = SPACE.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'XLS'.
    * DOCDATA-OBJ_NAME = 'Excel_File_Attachment1'.
    *  OBJPACK-OBJ_DESCR = FILE_NAME.
      OBJPACK-OBJ_DESCR = P_FILE.
      APPEND OBJPACK.
      RECLIST-RECEIVER = RECIEVER.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-EXPRESS = 'X'.
      APPEND RECLIST.
    * FM called for sending the mail to the intended recipients
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA = DOCDATA
          PUT_IN_OUTBOX = 'X'
          COMMIT_WORK   = 'X'
        TABLES
          PACKING_LIST  = OBJPACK
          CONTENTS_HEX  = I_CONTENTS_HEX
          CONTENTS_TXT  = OBJTXT
          RECEIVERS     = RECLIST
       EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    what will be the problem..
    please help out.
    Regards,
    Navin
    Edited by: navin.c on Jul 10, 2009 8:08 AM

    Hi Krishna,
    I have attachment properly coming the problem is body of mail its is coming in some  unknown language
    佐呓义⁇䅄䕔䌉乏啓䕍⁒低䌉乏啓䕍⁒䅎䕍䤉⁃䥔䭃⁔低म䍉吠䍉䕋⁔䕄䍓䤉⁃䥔䭃呅匠䅔啔॓剐䑏䌠䵏⁐低म剐䌠䵏⁐呓呁单䌉䵏⹐删充低म䅌呓䌠䅈䝎䑅䄠॔剐䑏䍕⁔䕄䅔䱉॓䡓䑁⁅䅎䕍匉䅈䕄䌠䑏ॅ䅂䕓丠䵁ॅ䅂䕓䌠䑏ॅ䅂䍔⁈啎䉍剅䴉乁䙕䝃䐠呁ॅ䅓偍䕌䄠䅖䱉䉁䱉呉ख़䉏䕓噒
    what may be the problem?
    I have used the same logic . im attaching my part of code for your reference .
    DOCDATA-OBJ_LANGU = SY-LANGU.
      DOCDATA-OBJ_NAME = 'Mail_Excel_File'.
      DOCDATA-OBJ_DESCR = 'Closed Customer Complaints'.         "nsc070709+
      DOCDATA-SENSITIVTY = 'F'.
    * Describe the body of the message
    *********new additon of mail content
    * CONCATENATE  'Dear'  L_FIRSTNAME ','
    *  INTO OBJTXT SEPARATED BY SPACE.
    *  APPEND OBJTXT. CLEAR OBJTXT.
      OBJTXT =
      'Attached compensation request is pending for your approval as on '.
      APPEND OBJTXT. CLEAR OBJTXT.
      OBJTXT =
      'today. Please find the attached Field Investigation Report.'.
      APPEND OBJTXT. CLEAR OBJTXT.
      OBJTXT =
      'This is auto generated mail.Please do not reply to this mail.'.
      APPEND OBJTXT. CLEAR OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ     TABLE OBJTXT INDEX TAB_LINES.
      DOCDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    *  OBJTXT = 'Attached is the FIR PENDING CASES'.
    *  APPEND OBJTXT.
    *  DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
      DESCRIBE TABLE I_CONTENTS_HEX LINES TAB_LINES.
    *  OBJPACK-DOC_SIZE = TAB_LINES * 255  + STRLEN( OBJTXT ).
      OBJPACK-DOC_SIZE = TAB_LINES * 255  .
      OBJPACK-TRANSF_BIN = 'X'.
    *  OBJPACK-TRANSF_BIN = SPACE.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'XLS'.
    * DOCDATA-OBJ_NAME = 'Excel_File_Attachment1'.
    *  OBJPACK-OBJ_DESCR = FILE_NAME.
      OBJPACK-OBJ_DESCR = P_FILE.
      APPEND OBJPACK.
      RECLIST-RECEIVER = RECIEVER.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-EXPRESS = 'X'.
      APPEND RECLIST.
    * FM called for sending the mail to the intended recipients
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOCDATA
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          CONTENTS_HEX               = I_CONTENTS_HEX
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      COMMIT WORK.
    Can anybody help me out on this issue.
    Its somewhat on priority.
    Edited by: navin.c on Jul 10, 2009 12:58 PM

  • Function modules to send mails from ABAP

    hi
               can any one give me the function module to send mails from abap to yahoomail or gmail etc. i will be grateful if any one can provide me a sample code.
    thanks & regards
    rajesh

    Hi,
    check this site:
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    Replace the
    p_email(40)   type c default '[email protected]' .
    with ur yahoo or gmail id
    This is the FM that u needed:
    'SO_NEW_DOCUMENT_ATT_SEND_API1'
    http://www.kabai.com/abaps/z00.htm
    http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    /people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface
    Hope this solves your question.
    Best Regards,
    Anjali

  • Uncaught Exception occured while sending mail through abap code.

    Hi,
    Uncaught Exception occured while sending mail through abap code.Run time Errors "UNCAUGHT_EXCEPTION" occured after excuting the call method  CALL METHOD SEND_REQUEST->SEND( ).kindly help in resolving the issue.

    HI,
    Runtime Error:  UNCAUGHT_EXCEPTION details.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_ADDRESS_BCS
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_ADDRESS_BCS' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program 'SAPLZSEND_MAIL' has to be
         terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_ADDRESS_BCS', was not caught in
        procedure "SEND_MAIL" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An exception occurred
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_ADDRESS_BCS"
        "SAPLZSEND_MAIL" or "LZSEND_MAILU01"
        "ZSEND_EMAIL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SEND_MAIL" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    Please help me to resolve this issue.

  • How to send mail from servlets

    m having troubles sending mail from servlets...
    how do you use the SimpleMailUser object needed in the session?
    a sample code on this would be of great help, thanks!

    <html>
    <body bgcolor="white">
    <font size=5 color="black">
    <%@ page import="javax.servlet.http.HttpUtils" %>
    <%@ page import="java.util.*" %>
    <%@ page import = "java.sql.*" %>
    <%@ page import = "java.io.*" %>
    <%@ page import= "sun.net.smtp.SmtpClient" %>
    <%
         String from,to,subject,msgbody,serverName;
         try
    from = request.getParameterValues("from")[0];
    to = request.getParameterValues("to")[0];
    subject = request.getParameterValues("subject")[0];
    msgbody = request.getParameterValues("msgbody")[0];
    serverName = request.getParameterValues("server")[0];
         catch (Exception e)          // Generally Speaking, an Error getting one of these
                                       // Values means that it wasnt passed in; inform the user
              out.println("You must call this JSP from this ");
              out.println("<A href=\"FormMail.htm\"> form</A>.<BR>");
              out.flush();return;
    %>
    Hold On A Moment while I try to Send Your Mail... <BR>
    <%
         out.flush();
         // Here are the real guts of the mail sending
         try
         sun.net.smtp.SmtpClient sm = new sun.net.smtp.SmtpClient(serverName);
         sm.from(from);
         sm.to(to);
         PrintStream msg = sm.startMessage();
         msg.println("To: ");     // Note dont use + for Performance
         msg.println(to);
         msg.println("Subject: ");
         msg.println(subject);
         msg.println();
         msg.println(msgbody);
         msg.println("==============");
         msg.print("This mail brought to you by JSP MAIL..from a user at IP ");
         msg.println(request.getRemoteHost());
         sm.closeServer();
         out.println("Your Mail Has Been Sent!");
         catch (Exception e)
              out.println("The mail couldn't be sent, probably because the mailhost wasnt set correctly.<BR> ");
              out.println("The error message I am getting is: ");
              out.println(e.getMessage());
    %>
    <BR>
    <BR>
    Click here to send another!

  • How to send mail from jsp

    hi,
    i want to send mail from my jsp page.
    1) how can i do this
    2) do i need any mail server for doin this
    thanks
    regards
    manoj

    i want to send mail from my jsp page.
    1) how can i do this
    2) do i need any mail server for doin thisRead
    http://java.sun.com/developer/onlineTraining/JavaMail/
    Rather,
    try this:
    http://jakarta.apache.org/taglibs/doc/mailer-doc/mailer-1.1/index.html

  • Send mail from abap from internal mail id

    Hiiii,
              Is it possible to send mail from internal mail id  by using abap program ?

    Hi,
    I did't get your question, do you want to send mail using ABAP coding. If thats what is your requirement
    check out with link:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/multiple%252battachment%252bon%252be_mail
    Tks,
    Krishna..

  • Send mail from ABAP

    Hi all,
    do you know if i can send email from ABAP, i specify that i don't have WAS. I understand that i must install SAPConnect and SMTP plug-in but in my case will that function ? 
    Regards,

    Hi
    See following  routine it will send you data as attachment.
    FORM send_mail.
      it_doc_chng-obj_name  = text-016.
      it_doc_chng-obj_descr = text-016.
      DESCRIBE TABLE it_objtxt LINES g_lines.
      READ TABLE it_objtxt INDEX g_lines.
      it_objpack-doc_size = ( g_lines - 1 ) * 255 + STRLEN( it_objtxt ).
      it_objpack-doc_type   = 'RAW'.
      APPEND it_objpack.
      it_objpack-head_start = 1.
      it_objpack-head_num   = 0.
      it_objpack-body_start = 1.
      it_objpack-transf_bin = 'X'.
      it_objpack-body_num   = g_lines.
      it_objpack-doc_type   = 'RAW'.
      it_objpack-obj_name   = 'ATTACHMENT'.
      it_objpack-obj_descr  = g_file.
      APPEND it_objpack.
    completing the recipient list
      SORT it_vmail.
      DELETE ADJACENT DUPLICATES FROM it_vmail.
      IF l_client NE 'P'.
        it_reclist-receiver = p_email.
        it_reclist-express =  'X'.
        it_reclist-rec_type = 'U'.
        APPEND it_reclist.
      ELSE.
        LOOP AT it_vmail.
          it_reclist-receiver = it_vmail-smtp_addr.
          it_reclist-express =  'X'.
          it_reclist-rec_type = 'U'.
          APPEND it_reclist.
        ENDLOOP.
      ENDIF.
      it_rec_mail[] = it_reclist[].
      IF NOT p_copy IS INITIAL.
        it_reclist-receiver = p_copy.
        it_reclist-express =  'X'.
        it_reclist-copy =  'X'.
        it_reclist-rec_type = 'U'.
        APPEND it_reclist.
      ENDIF.
      CLEAR it_download[].
      it_download[] = it_objtxt[].
    **********Sending the mail with attachment*****************
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_MAPI'
        EXPORTING
          document_data              = it_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_objpack
          contents_bin               = it_objtxt
          contents_txt               = it_objtxt
          receivers                  = it_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      CASE sy-subrc.
        WHEN 0.
          IF p_update = 'X'.
            PERFORM reference_update.
          ENDIF.
         PERFORM down_load.
          WRITE:/01 text-019.
          SKIP.
          LOOP AT it_rec_mail.
            FORMAT COLOR 5 INTENSIFIED OFF.
            WRITE:/01 text-010,20 it_rec_mail-receiver.
          ENDLOOP.
          ULINE.
        WHEN 1.
          WRITE: / text-012.
        WHEN 2.
          WRITE: / text-013.
        WHEN 4.
          WRITE: / text-014.
        WHEN OTHERS.
          WRITE: / text-015.
      ENDCASE.
      REFRESH:it_objpack,
              it_objtxt,
              it_reclist,
              it_rec_mail.
      CLEAR:it_objpack,
            it_objtxt,
            it_reclist,
            g_lines,
            it_rec_mail.
    ENDFORM.                    " send_mail
    Regards
    Suresh Babu Karanam

  • How to send mails from Oracle database

    Hi All,
    I want to send a mail from my oracle database once my store
    procedure runs successfully or fails.
    How can i do this.
    what are the preliminary modules of Oracle which need to be
    active for me to do so.
    If any once can also mention about any links that give
    information about the same it will be very helpful for me.
    Thanks and Regards
    Srinivas Chebolu

    CREATE OR REPLACE PROCEDURE SEND_MAIL_TCP(
    msg_from varchar2 := '[email protected]',
    msg_to varchar2,
    msg_subject varchar2 := 'E-Mail message from your database',
    msg_text varchar2 := '' )
    IS
    c utl_tcp.connection;
    rc integer;
    BEGIN
    c := utl_tcp.open_connection('1.17.0.218', 25); -- open the SMTP
    port 25 on local machine
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'HELO localhost');
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'MAIL FROM: '||msg_from);
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'RCPT TO: '||msg_to);
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'DATA'); -- Start message body
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'Subject: '||msg_subject);
    rc := utl_tcp.write_line(c, '');
    rc := utl_tcp.write_line(c, msg_text);
    rc := utl_tcp.write_line(c, '.'); -- End of message body
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    rc := utl_tcp.write_line(c, 'QUIT');
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    utl_tcp.close_connection(c); -- Close the connection
    EXCEPTION
    when others then
    raise_application_error(-20000,'Unable to send e-mail message
    from pl/sql');
    END;
    show errors
    exec send_mail(msg_to =>'[email protected]');
    exec send_mail(msg_to
    =>[email protected]',msg_text=>'Look Yaar, I can send
    mail from plsql');

  • How to send mail from a query

    Hi,
    I met a problem, it was about send mail from a query.
    Scenario: First  make an exception in one query , and if the query trigger the exception , it can send a mail.

    Hi Tino,
    If you are in 7.0, you can use Broadcasting by Exception:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/81/0799413985ad5fe10000000a1550b0/frameset.htm

  • Sending e-mail from ABAP Code

    Dear All,
    I am try to send mail using FM --> SO_DOCUMENT_SEND_API1.
    But mail not yet received. I am getting error - RAW3500000000099.
    Giving the error as
    No suitable conversion found for XLS and not getting the data in english i.e. getting data in ASCII format
    I think some Setting problem in SCOT.
    Please help me to do the Setting in SCOT or some other place also.
    Kindly help me... i am waiting for your valuable responsible.
    Regards
    Sudhakar

    Hi All,
    Any body has the idea to maintain SX_OBJECT_CONVERT*  function module to convert excel format.
    Please guide me what are the FM to convert data from ascii to raw because i am getting the data in ascii format when i am sending  email to customer. My login language is english.
    Thanks in advance
    Regards
    Sudhakar

  • How to send mail from UDM ALERT in Oracle 10 Grid control

    Hi,
    I have created a UDM alert in Grid control for a specific target which is sheduled to run every 15 Minutes.So if the sql query which will run for every 15 min returns any records then it will generate the alerts.*If there is any alerts thrown I should immediately send a mail from UDM .How to do this?*

    10.2 library
    http://download.oracle.com/docs/cd/B16240_01/welcome.html
    Administrator's Guide
    Chapter 4
    *T                                                                                                                                                                                                                                       

  • How to send mail from linux with .txt file as attachment ..

    I want to send email from linux box and in the body of the email i want to have the content of dblog.txt file.
    I want dglob.txt file content to be part of the mail body.
    Thanks in advance!!

    Apr 29 15:19:35 lctwprddb01 sendmail[1616]: m3TJJZ4k001616: to=[email protected], ctladdr=oracle (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30109, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m3TJJZhB001617 Message accepted for delivery)
    Apr 29 16:04:52 lctwprddb01 sendmail[1422]: m3TIP6LJ031388: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=01:39:46, xdelay=00:48:01, mailer=esmtp, pri=120423, relay=cluster2a.us.messagelabs.com. [216.82.249.211], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.
    Apr 29 16:07:36 lctwprddb01 sendmail[1619]: m3TJJZhB001617: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:48:01, xdelay=00:48:01, mailer=esmtp, pri=120425, relay=cluster2a.us.messagelabs.com. [216.82.248.44], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.
    Apr 29 16:07:52 lctwprddb01 sendmail[1627]: m3TILs2r031176: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=01:45:58, xdelay=00:48:01, mailer=esmtp, pri=120429, relay=cluster2a.us.messagelabs.com. [216.82.248.45], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.

  • How to send mail from adobe interactive form without opening the outlook

    Hello all,
    When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application.
    Is there a way to do this?
    I tried javascript codes to send mail with UI = false but it did not work.
    Thank you all in advance,
    Eran

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

  • How to send mail from FORMS and PL/SQL

    I want to send a mail from forms + PL/sql.
    I do not want to create a new C program and to make it as USER_EXIT.
    The called function suppose to send it through the default email method as per the NT or UNIX setup.
    Thanks

    Thanks for your reply.
    It requires JServer. We have many clinets around the world and some of them are still running Oracle 7.3.
    Any other sleek solution?

Maybe you are looking for

  • Creation of a Goods receipt based on an ASN in SRM

    Hi, we want to implement a scenario like this (with SRM 7.0): 1) Requester creates Catalog SC; 2) SC gets approved; 3) PO is created (at this moment we haven't chosen between classic or Extended Classic scenario) 4) Supplier Connects to a Portal (not

  • OIM to OID Provisioning - Userid getting 'null' in OID

    OIM provisioned to OID. When Im creating a user in OIM and provisioning the OID resource, the userid is getting 'null' value in OID. Any reasons? How to fix this ? I have checked the design console and the ldapuserDNPrefix is mapped to uid.

  • How to manually change 1099 form $ amounts?

    Hello, We have a small number of vendors that are also paid outside of our SAP system.  We need to generate the IRS 1099 form for all payments made to these vendors.  Is there any way to adjust the amount field(s) that print onto the form from SAP? 

  • Need Loan Ammortization Software made for a Mac

    We are converting from using PC's to Using Mac's One of the pieces of Software that we use is made only for the PC. I would hate to have to install Windows on the Mac just for 1 application. The program in question is T-Value. Does any one know of a

  • Need to send and receive larger byte array

    I have a small WCF service, self hosted in a console app. On the same computer I have a client application. Both are running in the debugger in VS2008. The proxy code and the config file were generatred from the running service using svcutil. In one