Issue in sending mail while processing PROXY in ECC 6.0

We are implementing PROXY interface with below required functionality:
1.PROXY for posting Accounting Documents
2.For error records, send Error Log (in PDF Format) as E-Mail to recipient maintained separately for the company code
Issue:
-The Email is not getting triggered when XI is sending the input file to ECC through PROXY. Whereas Email is getting generated when PROXY is executed manually in ECC.
Help Needed:
-Please share your inputs on the above issue.

Check in SMB_MONI in ECC if message is generated correctly for proxy? If the data is correctly passsed.
Also check SOST.
Regards
Vinit

Similar Messages

  • HOW TO Send mail while saving VA02

    How can i send mail while saving VA02.
    The mail address i have to pick from custom table based on plant.
    Just for the trial we used : output type :KRML
    Application : V1
    Transaction medium :7.
    and the program RSNASTSO routine SAPOFFICE_AUFRUF_VX is attached in the nace.
    The same output type is attached in va02.If we use this output type with this medium , it is asking us mail partner
    address also in the VA02.
    but we have to get the mail partner from custom table.
    And with this output type , the program attched in the NACE (RSNASTSO) IS NOT GETTING triggered.
    But the mail is being sent to the mail partner which i mentioned in the VA02 Communication method.
    How can i solve this.
    Finally my requirement is i have to send a mail to exter id which is maintained in the custom table while saving VA02.
    Regards
    Ramakrishna L

    Hi,
    We had set a output type in NACE. and that output type we have in the VA02 transaction also.
    But While saving the transaction it is not going through the program mentioned in the NACE for that output type.
    But mail is sent to the SAP Inbox or official id .
    how that mail is gone i am not understanding.
    How can we do to go through the program mentioned in NACE while saving the VA02.
    The mail body coming with text " sales order is blocked" sopme thing like this.
    This same mail i have to sent to the mail id maintained in Custom table plant wise.
    Regards
    Ramakrishna L

  • Issue with sending mail through java stored procedure in Oracle

    Hello
    I am using Oracle 9i DB. I created a java stored procedure to send mail using the code given below. The java class works fine standalone. When its run from Java, mail is sent as desired. But when the java stored procedure is called from pl/sql "Must issue a STARTTLS command first" error is thrown. Please let me know if am missing something. Tried the same code in 11.2.0.2 DB and got the same error
    Error:
    javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. va6sm31201010igc.6
    Code for creating java stored procedure: (T1 is the table created for debugging)
    ==================================================
    create or replace and compile java source named "MailUtil1" AS
    import java.util.Enumeration;
    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;
    public class MailUtil1 {
    public static void sendMailwithSTARTTLS(String host, //smtp.projectp.com
    String from, //sender mail id
    String fromPwd,//sender mail pwd
    String port,//587
    String to,//recepient email ids
    String cc,
    String subject,
    String messageBody) {
    try{
    Properties props = System.getProperties();
    props.put("mail.smtp.starttls.enable", "True"); // added this line
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.user", from);
    props.put("mail.smtp.password", fromPwd);
    props.put("mail.smtp.port", port);
    props.put("mail.smtp.auth", "true");
    #sql { insert into t1 (c1) values ('1'||:host)};
    Session session = Session.getDefaultInstance(props, null);
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    #sql { insert into t1 (c1) values ('2')};
    InternetAddress[] toAddress = new InternetAddress[1];
    // To get the array of addresses
    for( int i=0; i < toAddress.length; i++ ) { // changed from a while loop
    toAddress[i] = new InternetAddress(to);
    //System.out.println(Message.RecipientType.TO);
    for( int i=0; i < toAddress.length; i++) { // changed from a while loop
    message.addRecipient(Message.RecipientType.TO, toAddress);
    if (cc!=null) {
    InternetAddress [] ccAddress = new InternetAddress[1];
    for(int j=0;j<ccAddress.length;j++){
    ccAddress[j] = new InternetAddress(cc);
    for (int j=0;j<ccAddress.length;j++){
    message.addRecipient(Message.RecipientType.CC, ccAddress[j]);
    message.setSubject(subject);
    message.setText(messageBody);
    message.saveChanges();
    #sql { insert into t1 (c1) values ('3')};
    Enumeration en = message.getAllHeaderLines();
    String token;
    while(en.hasMoreElements()){
    token ="E:"+en.nextElement().toString();
    #sql { insert into t1 (c1) values (:token)};
    token ="ConTyp:"+message.getContentType();
    #sql { insert into t1 (c1) values (:token)};
    token = "Encod:"+message.getEncoding();
    #sql { insert into t1 (c1) values (:token)};
    token = "Con:"+message.getContent();
    #sql { insert into t1 (c1) values (:token)};
    Transport transport = session.getTransport("smtp");
    #sql { insert into t1 (c1) values ('3.1')};
    transport.connect(host, from, fromPwd);
    #sql { insert into t1 (c1) values ('3.2')};
    transport.sendMessage(message, message.getAllRecipients());
    #sql { insert into t1 (c1) values ('3.3')};
    transport.close();
    #sql { insert into t1 (c1) values ('4')};
    catch(Exception e){
    e.printStackTrace();
    String ex= e.toString();
    try{
    #sql { insert into t1 (c1) values (:ex)};
    catch(Exception e1)
    Edited by: user12050615 on Jan 16, 2012 12:18 AM

    Hello,
    Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
    So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
    Thanks
    Srikanth
    Edited by: user12050615 on Jan 16, 2012 12:17 AM

  • Issue in sending mails from Apex -Please help

    Getting following error while processing the statment.
    ORA-01403: no data found
    Statement processed.
    create or replace procedure proc_bgv_email_accept as
    id_email number;
    l_startdate date;
    l_vacancy varchar2 (300);
    l_declinedate date;
    l_emailsenddate date;
    today_date date;
    accepted_date date;
    l_id NUMBER;
    candstat varchar2(3);
    l_subject VARCHAR2(255);
    l_body CLOB := '';
    -- ' HTML enabled mail client.' || utl_tcp.crlf;
    l_body_html CLOB;
    l_mgr_emailid varchar2(255);
    l_candid_emailid varchar2(255);
    l_from_emailid varchar2(255) :='[email protected]';
    begin
    select sysdate into today_date from dual;
    for cur1 in (select ID,candidate,hiring_manager,vacancy,hiring_manager_email,candidate_email from bgv where upper(trim(change_reason))=upper(trim('Offer Accepted by Applicant')) and to_char(dataload,'mm/dd/yyyy')=to_char(sysdate,'mm/dd/yyyy'))
    loop
    select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;
    select nvl(proposed_start_date,'8/28/1983'),nvl(REJECTION_DATE,'8/28/1983') into l_startdate,l_declinedate from bgv where id=cur1.id;
    l_subject:='Please confirm';
    l_candid_emailid :=cur1.candidate_email;
    l_mgr_emailid :=cur1.hiring_manager_email;
    l_body_html:='<html>
    <link rel=stylesheet href=http://aru.us.oracle.com:8000/olaf/css/aru_blaf.css type="text/css">
    <body>
    <span>
    <table border=0 cellpadding=0 cellspacing=0 width=800>
    <tr>
    <td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
    </tr>
    <tr>
    <td class=OraInstructionText><font face="Georgia">
    Dear'|| cur1.candidate ||' </b>,<p/></p>
    Please confirm your LOV
    <p/><p/>
    Best Regards,<p/>
    Raj</p></font></td></tr>
    </table>
    <tr>
    <td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
    </tr>
    </span>
    </body>
    </html>';
    l_id := APEX_MAIL.SEND (
    P_TO => l_candid_emailid,
    P_CC => l_mgr_emailid,
    --P_BCC       => '[email protected]',
    P_FROM => l_from_emailid,
    P_BODY => l_body_html,
    P_BODY_HTML => l_body_html,
    P_SUBJ => l_subject);
    APEX_MAIL.PUSH_QUEUE;
    end loop;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    end;
    Edited by: user771319 on Feb 29, 2012 9:05 AM

    the error could be here:
    select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;replace that line with:
    begin
        select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N')
        into id_email,l_emailsenddate,candstat
        from email_sent_log
        where id=cur1.id;
    EXCEPTION
        when NO_DATA_FOUND then
            id_email := 0;
            l_emailsenddate := to_date('08/28/1983','MM/DD/YYYY');
            candstar := 'N';
    end;

  • Sending mail through a proxy client

    I have the following simple code to send mail through a SOCKS proxy client:
    package com.apna.beans;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.activation.DataHandler ;
    public class SMail{
    public static void main(String[]a){
    System.setProperty("proxySet","true");
    /*System.getProperties().put("http.proxyPort","25");
    System.getProperties().put("http.proxyHost","192.168.0.1");*/
    Properties props = System.getProperties();
    String msg = "";
    // Get system properties
    final String username = "vedijitendra";
    final String password = "sendmail";
    props.put("socksProxyHost", "pc-2");
    props.put("socksProxyPort", "1080");
    props.put("mail.smtp.host", "smtp.gmail.com");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.user", username);
    props.put("mail.smtp.auth","true"); // this is imp for authorisation.
    //props.put("mail.host", "192.168.0.1");
    props.put("mail.debug", "true");
    props.put("mail.store.protocol", "pop3");
    props.put("mail.transport.protocol", "smtp");
    try{
    //here the authorisation takes place using an Anonymous class.
    Session session = Session.getDefaultInstance(props,
    new javax.mail.Authenticator (){
    protected
    javax.mail.PasswordAuthentication
    getPasswordAuthentication() {
    return new
    javax.mail.PasswordAuthentication(username,
    password);
    // Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("[email protected]"));
    message.addRecipient( Message.RecipientType.TO, new
    InternetAddress("[email protected]"));
    message.setSubject("Test");
    message.setContent("text", "text/html");
    // Send the message
    Transport.send(message);
    msg = "The mail has been sent.";
    } catch(Exception e){
    e.printStackTrace();
    msg = "The mail has not been sent.";
    I am able to connect to the GMail's SMTP server.
    However, when the Transport. send method is executed, I get:
    java.lang.NullPointerException
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at javax.mail.Transport.send0(Transport.java:168)
    at javax.mail.Transport.send(Transport.java:98)
    Any ideas?

    I have the following simple code to send mail through a SOCKS proxy client:
    package com.apna.beans;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.activation.DataHandler ;
    public class SMail{
    public static void main(String[]a){
    System.setProperty("proxySet","true");
    /*System.getProperties().put("http.proxyPort","25");
    System.getProperties().put("http.proxyHost","192.168.0.1");*/
    Properties props = System.getProperties();
    String msg = "";
    // Get system properties
    final String username = "vedijitendra";
    final String password = "sendmail";
    props.put("socksProxyHost", "pc-2");
    props.put("socksProxyPort", "1080");
    props.put("mail.smtp.host", "smtp.gmail.com");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.user", username);
    props.put("mail.smtp.auth","true"); // this is imp for authorisation.
    //props.put("mail.host", "192.168.0.1");
    props.put("mail.debug", "true");
    props.put("mail.store.protocol", "pop3");
    props.put("mail.transport.protocol", "smtp");
    try{
    //here the authorisation takes place using an Anonymous class.
    Session session = Session.getDefaultInstance(props,
    new javax.mail.Authenticator (){
    protected
    javax.mail.PasswordAuthentication
    getPasswordAuthentication() {
    return new
    javax.mail.PasswordAuthentication(username,
    password);
    // Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("[email protected]"));
    message.addRecipient( Message.RecipientType.TO, new
    InternetAddress("[email protected]"));
    message.setSubject("Test");
    message.setContent("text", "text/html");
    // Send the message
    Transport.send(message);
    msg = "The mail has been sent.";
    } catch(Exception e){
    e.printStackTrace();
    msg = "The mail has not been sent.";
    I am able to connect to the GMail's SMTP server.
    However, when the Transport. send method is executed, I get:
    java.lang.NullPointerException
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at javax.mail.Transport.send0(Transport.java:168)
    at javax.mail.Transport.send(Transport.java:98)
    Any ideas?

  • Have issues with sending mail on WIFI?

    Everything else seems to work on WIFI except sending mail, even receives fine.
    It always sits in the que & then errors out?

    What kind of WiFi, your home, or public? SMTP servers (outgoing mail servers) are picky about who you are and where you are sending from. This is to prevent spammers from using them by impersonating legitimate users. It's also why the iPhone lets you set up more than one SMTP server; if you have several it will try them in sequence until it finds one that works. But it gives each one a minute to try, so if you have several it can take a while to try them all.
    If you can send over 3G its likely that you have your cellular carrier's SMTP server configured on the phone. If this is the only one it's also likely that it won't work on WiFi, because it will only work over the cellular carrier's network. For your home WiFi you need to have (or add) your ISP's SMTP server to the list of outgoing mail servers. Depending on the ISP this may or may not work over the cellular network or other WiFi networks outside your home network. Usually if the ISP's server requires a user ID and password it will work outside of their network.
    When setting up an SMTP server user ID and password are listed as "optional". This may or may not be correct, depending on the SMTP server you are trying to use. It may be optional for the iPhone, but may be required by the SMTP server owner. So you need to check with the ISPs web site for how to configure the server.

  • Can receive but not send mail while traveling

    Hello:
    wondering if there is a solution to this recurring problem. My email address is through my website, via my cable service, and I read it using Mail without a problem. However, when I'm traveling and using internet service other than my home, I can read my mail through Mail - but not send it. When I attempt to mail from the Mail window, it starts to send from my Outbox, and then fails, and delivers the message: "Cannot send using the server smtp [cable service name].net Use the popup menu below to try a different outgoing mail server."
    I can successfully send if I log onto my mail on my website, but it's more steps. Is there a solution to this, or is this just the nature of using outside networks?

    Hi BDAqua;
    So can I just change the port number in my Mail>Pref>Accounts>Advanced pane, and be able to mail while traveling? Or does that create some kind of conflict with my current mail/cable provider settings? Port is currently set to 110. (It does say "check with your sysadmin before changing any of these settings". Alas.)

  • Mail to Mail Mapping Issue in sender mail adapter

    Hi,
    i am using mail package and XIPAYLOAD in my sender mail adapter.
    In the mapping i am getting the payload as an HTML Text.
    When use UDF to read a string the from the Mail Body, i am getting corect value, but when change the test data with only in that string place (if i put other value) from mail body, i am getting different value from same index of the position.
    Please let me know the reason and solution.
    Regards.
    Sreeni

    Hi,
    I replaced all the HTML tags and other stuff with empty space using UDF.
    thanks for your support.
    Regards,
    Sree

  • Issue with Sender Mail Adapter Configuration

    Hi All,
    We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
    Default XI Parameters : Default Interface Namespace and Default Interface Name.
    Also, we are geeting a Nullpoinetr exeception in RWB.
    Kindly provide your suggestions.
    Thanks & Regards,
    Navneeth K.

    Hi.
    I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
    AF_Modules/DynamicConfigurationBean     Local Enterprise Bean
    with
    parameters:
    message.interface=<Your Interface Name>
    and
    message.interfaceNamespac=<Your Interface Namespace>
    Note that last parameter name is not interfaceNamespace but interfaceNamespac .
    It would be great if anyone will explane were Default XI parameters gone and how we can get them back.

  • Issue with Sender Side JDBC processing

    Hello,
    I am facing some problem with Sender Side JDBC Processing.
    I am polling the DB MY SQL Server 2000 and using some SELECT statement i picked up some data and updated the DB with an UPDATE statement. At the receiver side i am using RFC adapter which takes the data from the DB and process further to SAP system.
    At sender side , i can see that the DB has been updated but in Integration Engine / Adapter Engine i could see any message related to that. So now my question is where did the message go.
    Can you please provide the inputs.
    THanks,
    Soorya

    Hi Surya,
    as u mentioned that u r unable to see ur message in IE & Adapter enigne
    pls do chk with the DB connections with XI and make sure that u choose every thing under same name space
    pls try to refersh cache
    thanx
    Sampath

  • Further changes to workflow to send mail while creating material.

    Hi,
    I have created a workflow which sends mail to users when a material is created.
    Now, I want to send mails to specific users depending upon the Industry sector and Material type.
    For eg:
    1) user1 should receive mail if the new material belongs to 'Aerospace & Defense' Industry sector and 'Raw material' Material type.
    2) user2 should receive mail if the new material belongs to 'Retail' Industry sector and 'Semifinished goods' Material type.
    Is there a way where I can create a condition for a mail to be sent?
    Thanks & Regards.

    self answered

  • Can't send mail while send/receive process is ongoing

    I'm Using Microsoft office 2013 std.
    Problem with my outlook 2013, Can't Send an email while the outlook is downloading the emails(send/recieve process is on going) and just stuck to my to my outbox.
    Appreciate for help regarding this issue.
    thanks..

    Hi,
    Was the email been delivered after the send/receive progress finished? Based on my testing, seems it's the default behavior of Outlook email to stay in Outbox when the send/recieve process is on going.
    If the email still stuck in Outbox after the send/receive progress is finished, you can treat this issue as the "email stuck in Outbox" issue and troubleshoot it according to the steps below:
    http://support.microsoft.com/kb/2663435
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Regarding Sending Mail while an employee is hired.

    Hi all,
    Currently we have an process of sending a mail to a set of Email Address while an employee is hired using the Transaction PA40.
    Now the requirement is to remove some Email Address, so that the concern person would get the mail about hiring.
    How can i remove the mail id. Where will be it stored.
    Our customer says that they have used some user exit to hard code. But using SMOD, i check it, but there is no user exit is available.
    So can you provide me a solution for this
    Edited by: Sudeesh Ravindran on Jun 24, 2011 11:33 AM

    Typically you can use user -exit EXIT_SAPFP50M_002 for this kind of activity. Check if include put in this function module is implemented.

  • Intermittent issues with sending mail on Mac Mail but not Thunderbird

    Some background: I have to use my ISP's SMTP server (AT&T) in order to send any mail out from my multiple email accounts. All emails are "validated" to use AT&T's SMTP server so there isn't any issue there. I cannot replicate this issue 100% of the time... it's about 20% of the time and has been experienced on both my Macs. When it does happen, outgoing email will either just hang (gear icon spins endlessly) or I get the SMTP server error message asking me to try another SMTP server (which I don't have).
    What is odd, I recently downloaded Thunderbird using the exact same settings as Mac Mail. Whenever Mac Mail hangs, I try sending an email from Thunderbird and it works just fine. I have also tried sending email from my iPhone while in "airplane mode" and it works just fine.
    I have performed connection doctor, keychain repair, deleted and reentered the SMTP info. So before I dump Mac Mail (which I'd rather not do) and go to Thunderbird, I would be curious if anyone has any suggestions?
    Thx!

    Now following another similar thread: http://discussions.apple.com/thread.jspa?threadID=2774396&start=0&tstart=0. Changed settings to MobileMe's IMAP default settings. Been working for 3-4 days. Hope it continues.

  • Issue in sending mail to SAP Inbox from Workflow

    Hi All,
    I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
    I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
    Thanks,
    Neha

    Hi,
    the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
    In workflow Log the last step shows the details as
    name of the manager and the workflow background for mail sent step as shown below
    Sumit Vij     Background work item created     10.01.2012     12:08:43     
    Sumit Vij     Execution started automatically     10.01.2012     12:08:43     
    Workflow Hintergrund     Work item processing complete     10.01.2012     12:08:44     
    Thanks

Maybe you are looking for