Error in sending external mail

hi ..
while sending mail using BCS objects .... i am geting error
Internal error: SO_OBJECT_MIME_GET Exception: 2
....i too configured SCOT transaction wit port number 25 , mail host and also given the internet email id for mailing user....
plz do help me ...

This error occurs when you send a mail via the SMTP node and can have several causes:
1. Default domain not set
2. Default code page not set (only with multi-codepage systems)
3. Code page not suitable for sending mail
4. COMMIT WORK is missing (programming error)
5. Workplace plug-in is missing
Solution
Activate the SAPconnect trace and resend the document if necessary. The next time the SAPconnect send job is running, search for the entries marked in red in the SAPconnect trace of the document. The applicable solutions, depending on these entries, are listed below:
1. Default domain not set
Trace entries:
BCS->MIME_MESSAGE_GENERATE
Sender Address Not Found 80
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: SENDER_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
or:
BCS->MIME_MESSAGE_GENERATE
Error during MIME Flow Generation
BCS->MIME_MESSAGE_GENERATE
Error During Automatic Determinaton of Default Internet Domain
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MIME_BCS
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must set the domain of the SAP System (Settings --> Default Domain).
2. Default code page not set (only with multi-codepage systems)
Trace entries:
CL_BCOM_MIME->GET_CODEPAGE
Termination: Multi-Codepage Systems Not Supported
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page on the SMTP node.
3. Code page not suitable for sending mail
Trace entries:
CL_BCOM_MIME->GET_CHARSET
Termination: Charset Cannot Be Determined for SAP Code Page
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page (an entry is available in table TCP00A) that is suitable for sending mail on the SMTP node.
4. COMMIT WORK is missing (programming error)
Trace entries:
SO_OBEJECT_MIME_GET
No Send Order Exists -> Termination
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
Solution: See note 429427 for the correction.
5. Configuration for the sending of Business Objects
An attempt is made to send a document of type OBJ to an external recipient. This requires a conversion to TXT/HTML format, but the necessary modules are not configured correctly.
Trace entries:
SX_OBJECT_CONVERT_OBJ_HTM
Converting Document Format from OBJ to TXT/HTML
SO_OBEJECT_MIME_GET
No MIME Document Received. Error Code: MNA_DOC
SX_GENERATE_NDR
Internal Error: SO_OBJECT_MIME_GET Exception: 0
or
SX_GENERATE_NDR
Internal error: SO_OBJECT_MIME_GET Exception: 2
Solution:
Please refer to Note 530932.
1. You can refer to SAP Note 487754.
2. Error in Sending External Mail
3. Re: BWCCMS: send email if process chain fails?
Hope this will solve your issue.
Re: Send mails
Re: SCOT Setup
Reward points..

Similar Messages

  • Send External mail with Attchment from SAP

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

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

  • Sending external mail using SO_NEW_DOCUMENT_ATT_SEND_API1

    When i use this RFC by appending the internal table receiver with receiver: sapuser name and rec_type  B it triggers mail to the sap user login .But when i give external email address for receiver with rec_type 'U' it is not triggering any mail.Can anyone please tell me how to use this RFC in sending external mails??

    I went back and you are right "INT" was not the REC_TYPE it was the COM_TYPE.
    Sorry for any confusion caused.
    However,
    I suggest 2 more tests and then I give up and can not think about anything else.
    Try:
    #1
    REC_TYPE = 'X'.
    if it does not work.
    #2
    REC_TYPE = 'R'.
    Hope that will do the trick. I was trying a lot when I had to get that working some time ago.
    And surely the other colleagues point to something which must be setup as well. Transaction SCOT the SMTP settings.
    Furthermore there could be another issue. I remember that I worked at a client who had turned off the send settings on their email server. So SAP finished everything and handed the emails on to a mail server. The mail server had a setting to block any emails from the development environment.
    So that might be another cause of your issue.

  • How to send External mail in sap HR workflow

    Hi experts,
         Anybody con tell me how  to send External mail in sap HR workflow ?
    Regards,
    Umesh.

    Hello,
    Check the workflow builder. There is a step type of "Send mail". Just put that into your workflow definition, and your workflow will send mail.
    Regards,
    Karri

  • How to send external mails to the user

    Dears,
    How to send external mails to the user who creates the sales document (Quotation)
    Can you please suggest what modification required in the FM
    Thanks,
    pinky

    You can have a partner function like 'Created by' and use an exit to populate the User ID to this partner function(dont have the system right now but i think this can be done with standard partner detr. procedure also)
    Then, create an Output type for that Partner function with transmission medium as 'External Send'. You can use the standard SAP program to trigger the email. To send the actual email after the output is trigerred, the link connection has to be set up be BASIS but if you want to check, then goto SOST and see if the email got trigerred or not.

  • Send External Mail Through One Exchange Server Only

    Hello,
    I'm very stuck on something & new to exchange.  I have two Exchange Servers:
    MAIL1: Windows Server 2003 & Exchange 2007 SP2
    MAIL2: Windows Server 2008 R2 & Exchange 2007 SP3
    All accounts are going to move eventually to MAIL2.  Until then, I would like any external emails sent, to be sent through MAIL1.
    So far all all internal mail can be sent & received, and any external mail received.  But I cannot send external mail from mailboxes on MAIL2 (just mine on MAIL2 at the minute).  MAIL1 works fine for everything.
    Can someone kindly explain what I should do to get all external mail sent through MAIL1?
    Thanks,
    Stacy

    Hi Stacy,
    We can just remove mail2 server from the mail2's send connector and add mail1 server to it.
    Then we can send mails to outside via mail1.
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Problem in Sending External Mail

    Hi all,
    I am facing a problem in sending message to the external mail server. My problem is i have created a workflow template and in that i have created a send mail step and in that i am giving a message and the recipient type is email address and the email address is [email protected]
    But i am not receiving any mail to my outlook. The configuration in scot are perfect.
    When i tried to send a message from my inbox new message i can able to see the mail in my outlook.
    Please help me in this issue, it is very urgent.
    Regards
    Balaji E.

    Hi Prasath,
    Thanks for your kind help. I checked that too, but giving me an error
    Short Text
    "Cannot process message in SAP System"
    Long Text:
    Cannot process message in SAP System
        Message no. XS817
    Diagnosis
        Processing could not be continued due to a technical or configuration
        error in the SAP system.
    System Response
        Processing was terminated.
    Procedure
        Processing was terminated in the SAP system. The reason is given in the
        details below:
        The received e-Mail address WIPRO6 does not corres
    Can any one help me in this issue.
    Note : For the user WF-Batch there is no email id specified then i specified that and saved it.
    Regards,
    Balaji E.

  • Error while sending a mail using UTP_MAIL package in Oracle 10g

    Hi,
    We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ...
    SQL> connect sys/password as sysdba
    Connected.
    SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql
    Package created.
    Synonym created.
    SQL> @$ORACLE_HOME /rdbms/admin/prvtmail.plb
    Package body created.
    SQL > alter system set smtp_out_server = '<mail_server_ip:25>' scope =spfile;
    System altered..
    Now we try the code
    begin
    utl_mail.send(
    sender => 'sender's mail',
    recipients => 'receiver mail',
    CC => 'optional',
    subject => 'Testing utl_mail',
    message => 'Test Mail'
    end;
    But we get the following error...
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 139
    ORA-06512: at "SYS.UTL_MAIL", line 405
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    We also tried connecting to the mail server through telnet .But it is not getting connected..
    Please help us to solve the issue.

    From your own posting you may have the clue, if you try to access your mail server through telnet and it is not successful, it means the service is down or there are networking issues.
    On pre 10gR2 versions there was a bug 4083461.8. It could affect you if you are on 10gR1
    "Bug 4083461 - UTL_SMTP.OPEN_CONNECTION in shared server fails with ORA-29278 Doc ID:      Note:4083461.8"
    This was fixed on 10gR2 base and on 9.2.0.8.0
    ~ Madrid

  • Error while sending E-Mail -- 501 Syntax error in parameters or arguments

    Dear Friends,
    I was trying to send E-Mail using the NTLM Authentication mechanism using the below program:
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import javax.mail.PasswordAuthentication;
    import java.util.Date;
    import com.sun.mail.smtp.*;
    public class MailerWithAuthentication
         private String     smtpServer;
         private String      fromEmailId;
         private String      toEmailId;
         private String      ccEmailId;
         private String      bccEmailId;
         private String      subject;
         private String      message;
         private String host;
         public MailerWithAuthentication(String toemail, String msg,String sub,String fromId,String host)
              this.toEmailId = toemail;;
              this.subject = sub;
              this.message = msg;
              this.fromEmailId=fromId;
              this.host=host;
    public void sendMail()
              String mailContent = "";
              try
                   Authenticator authenticator = new Authenticator();
                   Properties props = new Properties();
              props.put("mail.smtp.host",this.host );
              props.put("mail.smtp.port", "25");
              props.put("mail.smtp.auth", "true");
              props.put("mail.smtp.auth.mechanisms", "NTLM");
              props.put("mail.smtp.auth.ntlm.flags", "0x00000200");          
              props.put("mail.smtp.auth.ntlm.domain","sal.ad");
              props.put("mail.debug", "true");
              Session session = Session.getDefaultInstance(props,authenticator);
    Message msg = new MimeMessage(session);          
              MimeMessage message = new MimeMessage(session);
              message.setContent("This is a test", "text/plain");
              message.setFrom(new InternetAddress(this.fromEmailId));
              message.addRecipient(Message.RecipientType.TO,new InternetAddress(this.toEmailId));
              Transport.send(message);
              catch (Exception e)
                   e.printStackTrace();
                   System.out.println("Exception in MailerThread : run: " + e.getMessage());               
    private class Authenticator extends javax.mail.Authenticator {
              private PasswordAuthentication authentication;
              public Authenticator() {
                   String username= "sal.ad\mailuser";
                   String password = "mail@123";          
                   authentication = new PasswordAuthentication(username, password);
              protected PasswordAuthentication getPasswordAuthentication() {
                   return authentication;
    public static void main(String args[])
              try
                   System.out.println(" Usage : java MailerWithAuthentication <To-Email> <Message> <Subject> <From-Email> <Mail-Server-IP>");
                   MailerWithAuthentication mailer = new MailerWithAuthentication (args[0],args[1],args[2],args[3],args[4]);
                   mailer.sendMail();
              catch(Exception e)
                   e.printStackTrace();
    Following is the output while running the program:
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_14/jre/lib/javamail.providers (No such file or directory)
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_14/jre/lib/javamail.address.map (No such file or directory)
    Mechanishm = NTLM
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG SMTP: trying to connect to host "192.168.14.6", port 25, isSSL false
    220 ****************************************************************************
    DEBUG SMTP: connected to host "192.168.14.6", port: 25
    EHLO
    501 Syntax error in parameters or arguments -
    HELO
    501 Syntax error in parameters or arguments -
    javax.mail.MessagingException: 501 Syntax error in parameters or arguments -
    =================================
    The error is :
    EHLO
    501 Syntax error in parameters or arguments -
    HELO
    501 Syntax error in parameters or arguments -
    =================================
    Please tell me what went wrong here. Is it due to any mistake in the program ?
    Thanks in advance.

    hello Anirudh Pucha,
    thanks for your message,
    i'm downloading all the files you advised and one more doubt regarding SOA installation,
    i'm using BPEL Process manager 10.1.3.1.0 installed on my machine and not installed SOA Suite (problem in installing AS Middle tier), i send voice,sms through BPEL PM which works fine, and faced problem in e-mail notification only, according to me with out installing SOA suite we can use BPEL PM or please let me know the procedure to install the downloading files.
    if possible please send me a details in word documents to my mail "[email protected]".
    Thanks again

  • Getting error when sending SMTP mail using javamail api

    hi all
    i am new to javamail api...and using it first-time....i'v used the following code
    <%
    String mailHost="mail.mastsale.com";
    String mailText="Hello this is a test msg";
    String to="<a href="mailto:[email protected]">[email protected]</a>";
    String subject="jsp test mail";
    try
    String from="<a href="mailto:[email protected]">[email protected]</a>";
    String mailhost = "mail.mastsale.com";
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailhost);
    // Get a Session object
    Authenticator auth = new SMTPAuthenticator( "<a href="mailto:[email protected]">[email protected]</a>", "abcd" );
    Session session1 = Session.getInstance(props,auth);
    //Session.setDebug(true);
    //construct message
    Message msg = new MimeMessage(session1);
    msg.setFrom(new InternetAddress(from,"Your Name"));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
    msg.setSubject(subject);
    msg.setText(mailText);
    //msg.setHeader("X-Mailer",mailer);
    msg.setSentDate(new Date());
    msg.saveChanges();
    //Send the message
    out.println("Sending mail to " + to);
    Transport.send(msg);
    catch (MessagingException me)
    out.println("Error in sending message for messaging exception:"+me);
    %>
    and
    SMTPAuthenticator.java
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class SMTPAuthenticator extends javax.mail.Authenticator {
    private String fUser;
    private String fPassword;
    public SMTPAuthenticator(String user, String password) {
    fUser = user;
    fPassword = password;
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(fUser, fPassword);
    Now getting error as: Error in sending message for messaging exception:javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550-(host.hostonwin.com) [208.101.41.106] is currently not permitted to relay 550-through this server. Perhaps you have not logged into the pop/imap server 550-in the last 30 minutes or do not have SMTP Authentication turned on in your 550 email client.
    Can anyone help me?

    i got the following error while using the below code,
    -----------registerForm----------------
    DEBUG: setDebug: JavaMail version 1.3.2
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    :::::::::::::::::::::::::::::::::<FONT SIZE=4 COLOR="blue"> <B>Error : </B><BR><HR> <FONT SIZE=3 COLOR="black">javax.mail.AuthenticationFailedException<BR><HR>
    -----------registerForm----------------
    public class SendMailBean {
    public String send(String p_from, String p_to, String p_cc, String p_bcc,
    String p_subject, String p_message, String p_smtpServer,String FilePath) {
    String l_result = "";
    // Name of the Host machine where the SMTP server is running
    String l_host = p_smtpServer;
    //for file attachment
    String filename = FilePath;
    // Gets the System properties
    Properties l_props = System.getProperties();
    // Puts the SMTP server name to properties object
    l_props.put("mail.smtp.host", l_host);
    l_props.put("mail.smtp.auth", "true");
    // Get the default Session using Properties Object
    Session l_session = Session.getDefaultInstance(l_props, null);
    l_session.setDebug(true); // Enable the debug mode
    try {
    MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
    // Setting the "To recipients" addresses
    l_msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse(p_to, false));
    // Setting the "Cc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.CC,
    InternetAddress.parse(p_cc, false));
    // Setting the "BCc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.BCC,
    InternetAddress.parse(p_bcc, false));
    l_msg.setSubject(p_subject); // Sets the Subject
    // Create and fill the first message part
    MimeBodyPart l_mbp = new MimeBodyPart();
    //123
    ///////l_mbp.setText(p_message);
    l_mbp.setContent(p_message,"text/html");
    // Create the Multipart and its parts to it
    Multipart l_mp = new MimeMultipart();
         //l_mp.setContent(html,"text/html");
    l_mp.addBodyPart(l_mbp);
    // Add the Multipart to the message
    l_msg.setContent(l_mp,"text/html");
    // Set the Date: header
    l_msg.setSentDate(new Date());
    //added by cibijaybalan for file attachment
         // attach the file to the message
    //Multipart l_mp1 = new MimeMultipart();
         if(!filename.equals(""))
                   String fname = filename;
                   MimeBodyPart mbp2 = new MimeBodyPart();
                   FileDataSource fds = new FileDataSource(fname);
                   mbp2.setDataHandler(new DataHandler(fds));
                   mbp2.setFileName(fds.getName());
                   l_mp.addBodyPart(mbp2);
              // add the Multipart to the message
              l_msg.setContent(l_mp);
    //ends here
         l_msg.setSentDate(new java.util.Date());
    // Send the message
    Transport.send(l_msg);
    // If here, then message is successfully sent.
    // Display Success message
    l_result = l_result + "Mail was successfully sent to : "+p_to;
    //if CCed then, add html for displaying info
    //if (!p_cc.equals(""))
    //l_result = l_result +"<FONT color=green><B>CCed To </B></FONT>: "+p_cc+"<BR>";
    //if BCCed then, add html for displaying info
    //if (!p_bcc.equals(""))
    //l_result = l_result +"<FONT color=green><B>BCCed To </B></FONT>: "+p_bcc ;
    //l_result = l_result+"<BR><HR>";
    } catch (MessagingException mex) { // Trap the MessagingException Error
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+mex.toString()+"<BR><HR>";
    } catch (Exception e) {
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+e.toString()+"<BR><HR>";
    e.printStackTrace();
    }//end catch block
    //finally {
    System.out.println(":::::::::::::::::::::::::::::::::"+l_result);
    return l_result;
    } // end of method send
    } //end of bean
    plz help me

  • Error while sending E-Mail Notification

    hi,
    when i tried to send mail from BPEL i faced error, where i configured the outlook with gmail server its working fine,here i paste the ns-emails.xml and the error code is server.
    ns_emails.xml
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="ALL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>my name</FromName>
    <FromAddress>my email address</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>smtp.gmail.com</SMTPHost>
    <SMTPPort>587</SMTPPort>
         <AuthenticationRequired>true</AuthenticationRequired>
    <UseTLS>true</UseTLS>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>pop.gmail.com</Server>
    <Port>995</Port>
    <Protocol>pop3</Protocol>
    <UserName>my email address</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">my password</Password>
    <UseSSL>true</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>
    Error in server:
    javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS
    command first. a4sm326251tib.11
    at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTran
    sport.java:1020)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTranspor
    t.java:716)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTrans
    port.java:388)
    at oracle.tip.pc.services.notification.email.EmailDriver
    .sendMessage(EmailDriver.java:215)
    at oracle.tip.pc.services.notification.email.EmailDriver
    .send(EmailDriver.java:185)
    at oracle.tip.pc.services.notification.DefaultNotificati
    onServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
    at oracle.tip.pc.services.notification.NotificationServi
    ceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
    at oracle.bpel.services.notification.queue.sender.MDBCon
    sumer.deliverNotification(MDBConsumer.java:256)
    at oracle.bpel.services.notification.queue.sender.MDBCon
    sumer.onMessage(MDBConsumer.java:137)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
    hodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
    atingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoin
    PointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContext
    Impl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterce
    ptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContext
    Impl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContext
    ActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContext
    Impl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(
    InvocationContextPool.java:55)
    at com.evermind.server.ejb.MessageDrivenConsumer.onMessa
    ge(MessageDrivenConsumer.java:347)
    at com.evermind.server.ejb.MessageDrivenConsumer.process
    Messages(MessageDrivenConsumer.java:233)
    at com.evermind.server.ejb.MessageDrivenConsumer.run(Mes
    sageDrivenConsumer.java:169)
    at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    please help me out to resolve the issue.
    thanks in Advance
    Aswath Thaniga

    hello Anirudh Pucha,
    thanks for your message,
    i'm downloading all the files you advised and one more doubt regarding SOA installation,
    i'm using BPEL Process manager 10.1.3.1.0 installed on my machine and not installed SOA Suite (problem in installing AS Middle tier), i send voice,sms through BPEL PM which works fine, and faced problem in e-mail notification only, according to me with out installing SOA suite we can use BPEL PM or please let me know the procedure to install the downloading files.
    if possible please send me a details in word documents to my mail "[email protected]".
    Thanks again

  • Error when sending a Mail (SUBSTITUTE_NOT_DEFINED in SO_OBJECT_SEND)

    Hello,
    we want to send an e-mail from ABAP during the inbound processing of IDocs. We use the function module SO_OBJECT_SEND. During the perform CHECK_USER_ROLE the exception SUBSTITUTE_NOT_DEFINED is raised. Because of this error the mail is not sent. What does this mean? What do we have to do to finally send the mail?
    Best regards,
    David

    this might help:
    http://help.sap.com/saphelp_nw70/helpdata/EN/8d/25f558454311d189430000e829fbbd/frameset.htm
    Or, go to your (or the person responsible in the Idoc processing) SAP inbox (SBWP transaction). Via the menu you can maintain a substitute (Menu->Settings->Workflow settings->Maintain Substitute.

  • Sending External mail

    Hi, i have a couple of reports that send notifications via e-mail, and they are working fine, except that the e-mails only get to the SAP inbox of the users... I want the e-mails to go outside of SAP into our exchange server.
    Is there a parameter that needs to be set when calling the function that sends the e-mail from ABAP, or is it a Basis problem?
    If you need any more details, please tell me.
    Thanks in advance

    Hi
    Try below code it worked for me..It sends mail to external mail IDs as well..
    Hope it work for you.!!
    *& Report  ZTUSM_SEND_MAIL                                             *
    REPORT  ZTUSM_SEND_MAIL.
    DATA: att_size TYPE i,        " att Size
          att_itab_size TYPE i,   " Attachment size
          mailtxt_size TYPE i.    " Text in mail size
    DATA:
    it_mailpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE, " Dist details
    it_mailhead LIKE solisti1   OCCURS  1 WITH HEADER LINE," Header data
    it_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,   " Rec List
    it_mailtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,    " Mail Text
    it_att_data LIKE solisti1 OCCURS 0 WITH HEADER LINE,   " Attachment data
    it_doc_att LIKE sodocchgi1.                          " Attri of new doc
    Text in the mail.
    it_mailtxt-line  =
    '<BODY BGCOLOR="#FFFFCC">' &
    ' This is a test mail,  Line Number--1'
    APPEND it_mailtxt.
    it_mailtxt-line = ' This is a test mail,  Line Number--2' &
                      ' This is a test mail,  Line Number--2'.
    APPEND it_mailtxt.
    it_mailtxt-line = 'This is a test mail,  Line Number--3' &
                      ' This is a test mail,  Line Number--3' &
                      ' This is a test mail,  Line Number--3'.
    APPEND it_mailtxt.
    DESCRIBE TABLE it_mailtxt LINES mailtxt_size.
    Create the att File
    concatenate 'Attachment Line Number 1' space into
    it_att_data-line.
    APPEND it_att_data.
    concatenate 'Attachment Line Number 2' space into
    it_att_data-line.
    APPEND it_att_data.
    concatenate 'Attachment Line Number 3' space into
    it_att_data-line.
    APPEND it_att_data.
    DESCRIBE TABLE it_att_data LINES att_itab_size.
    Attributes of new doc
    CONCATENATE 'Attach' space 'mail'
                INTO it_doc_att-obj_descr SEPARATED BY space.
    it_doc_att-sensitivty = 'F'.
    it_doc_att-doc_size   = mailtxt_size * 255.
    Create Pack to text in mail body.
    it_mailpack-transf_bin   = space.
    it_mailpack-head_start   = 1.
    it_mailpack-head_num     = 0.
    it_mailpack-body_start   = 1.
    it_mailpack-body_num     = mailtxt_size.
    it_mailpack-doc_type     = 'HTM'.
    APPEND it_mailpack.
    Create Pack for Attach.
    it_mailpack-transf_bin   = 'X'.
    it_mailpack-head_start   = 1.
    it_mailpack-head_num     = 1.
    it_mailpack-body_start   = 1.
    it_mailpack-body_num     = att_itab_size.
    it_mailpack-doc_type     = 'HTM'.
    CONCATENATE 'My' space 'Attachment' INTO it_mailpack-obj_descr.
    it_mailpack-doc_size     = att_itab_size * 255.
    APPEND it_mailpack.
    it_reclist-receiver   = '[email protected]'.
    it_reclist-express    = 'X'.
    it_reclist-rec_type   = 'U'.
    *it_reclist-notif_del  = 'X'. " request delivery notification
    APPEND it_reclist.
    Call FM to send email
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              document_data              = it_doc_att
              put_in_outbox              = 'X'
         TABLES
              packing_list               = it_mailpack
              object_header              = it_mailhead
              contents_txt               = it_mailtxt
              contents_bin               = it_att_data
              receivers                  = it_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.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Mark if helpful
    Regards

  • Error in sending OUTLOOK mail step

    Hi ,
    Here is the design of sending the mail.
    From the OUTLOOK MAIL TO INITIATOR step i m getting the required mail id to whom mail should be sent from SAP system regarding the errors.
    then on moving to the send mail step i m encountering the error ,below is the data elements i maintained in the send mail step.
    But when a workflow is triggered i m getting the below error-->

    Hi Ranjith
    In your email step, the Type ID should be U - Email Address and not G - Org Object
    Specify the recipient type as Email and then select the container element which contains the email ID.
    Type ID G - is for org objects and to send directly to email IDs ... you need to use type U
    regards,
    Modak

  • CMWS CANNOT SEND EXTERNAL MAIL WITH EXCHANGE 2013

    Hi, all. i have integrated the cmws 1.5 server with exhcange 2013 mail server , now the webex can send mail to the user which in exchange, but cannot send mail to external mail server, how can i  fix this trouble? thank you.

    Hi Bin,
    Please look into exchange configuration, as it is not allowing emails from CWMS to be relayed to the Internet. This is not due to CWMS configuration.
    Thanks,
    Derek Johnson
    Conferencing TAC

Maybe you are looking for