Sending mail from workflow inbox to outlook,when idoc error occurs

Hi All,
I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
Searched in SDN , but my issue was not solved..
Could you please help me out with this issue to get the mail from workflow to outlook inbox.
Thanks,
Praveena

Hi Praveena,
Please check if the necessary SCOT settings have been made in your system to send mails outside SAP box. Check with your basis team if the SMTP connection between external system (Outlook, Lotus, etc) has been maintained or not.
Then check in t-code SOST if you are getting the mail here when sent from workflow.
Hope this helps!
Regards,
Saumya

Similar Messages

  • Sending mail from sap Inbox to outlook

    Hi All,
    Iam new to SAP workflow. Here I need to send the mail from SAP Inbox to Outlook for high priority keeping red flag as icon.
    can anyone tell me how to set up this and go ahead to start.
    Thanks
    Kumar

    IF I understand you correctly, you want to send a mail to Outlook (external email address) as a step in Workflow.
    If you are on Release 6.20 or above the following solution will work. I do not remember what is available in earlier releases.
    1) Define a multiline element based on SOXNA-FULLNAME to hold the email addresses. How you populate this element with the addresses depends on your requirements.
    2) Insert a Send Mail step in the workflow.
    3) In the Mail Tab, Select 'U' as Recipient Type.
    Assign the Multi Line element defined in Step 1 to E-Mail Address.
    4) Define the Subject and the body as needed.
    Please note that you should have External mail sending from SAP enabled and a batch job that runs periodically to push the mail.
    Cheers,
    Ramki Maley.

  • Sending mails from SAP inbox to Outlook

    Hi,
    I am able to send mails to the SAP user's inbox in the SAP workplace thru my abap program but i would like send it to their outlook mail box. I'm able to get mails if i configure outlook to receive emails from SAP mail box but i would like to do it vice versa. I got the user's SMTP address.how do i do it? Is there any configurations are necessary or anything to do with my exchange server? give me some valid sugesstions.

    Hi,
    Check this link
    http://www.sapdevelopment.co.uk/reporting/email/email_sapmail.htm
    http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
    Thanks & Regards,
    Judith.

  • Error in sending mail from SAP to microsoft outlook

    Hi all.
    Greetings.
    I have a requirement to send mail from SAP to Outlook.
    SMTP is configured here....i have checked the steps.
    I am using FM "SO_NEW_DOCUMENT_SEND_API1" to send the mail text.
    when i check the SOST Tcode i got message "Wait for communications service".
    after evry 10 minutes the sap connect all process runs..as it is configured in SCOT transaction, but even after 30 minutes the mail is not sent.
    I don't know how should i check the error message?
    tell me the checking stepls plz?...how should i step through in checking this?
    what are the prerequsites for sending mails from SAP to Microsoft outlook?
    regards
    Prashant Tiwari
    Edited by: prashant tiwari on Feb 6, 2009 10:26 AM

    Hi prashant,
    Pls refer to the link below:
    Re: Inbound Email- SAP Connect
    or
    check your userid .
    If not correct  no mail will go from u r id.
    Try it with another user id.
    or try using the following function module
    'SO_NEW_DOCUMENT_ATT_SEND_API1'
    I Hope this helps you with the issue.
    Thanks
    Ravi Aswani

  • Sending Mail from workflow or updating container elements

    Dear friends,
    I'm new to work flow.
    My requirement: <b>send mail from workflow to a user after dead line is missed</b> I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Reposted under different thread

  • Sending mail from workflow or Updating container from FM

    Dear friends,
    I'm new to work flow.
    My requirement: send mail from workflow to a user after dead line is missed I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Hi,
    => To get the deadline worked via programming, you can write your own logic. In current case,
    1. Create a custom function, having proper input and output parameters like End Time to wait if in case you have maximum of 2 days of wait.
    The total wait time is calculated from the Endtime, which is input to function module.  From the Endtime, the start date and end date are calculated and then the difference between the two dates is counted as total wait time.
    Here at the most 2 days of wait time is calculated.
    * Local parameters
      DATA: LV_UTCSTART TYPE /SDF/CMO_TSTMP,
            LV_UTCEND   TYPE /SDF/CMO_TSTMP,
            LV_SECOND   TYPE /SDF/CMO_SEC,
            LV_ENDDATE  TYPE SY-DATUM,
            LV_STR TYPE STRING.
      IF ENDTIME >= SY-UZEIT AND ENDTIME <= '235959'.
    *   Today's date
        LV_ENDDATE = SY-DATUM.
      ELSE.
    *   Tomorrow's date
        LV_ENDDATE = SY-DATUM + 1.
      ENDIF.
    * Get the Start Time for function module
      CONCATENATE SY-DATUM SY-UZEIT INTO LV_STR.
      MOVE LV_STR TO LV_UTCSTART.
      CLEAR LV_STR.
    * Get the End Time for function module
      CONCATENATE LV_ENDDATE ENDTIME INTO LV_STR.
      MOVE LV_STR TO LV_UTCEND.
      CLEAR LV_STR.
    * Get the total wait time in seconds
      CALL FUNCTION '/SDF/CMO_TIME_DIFF_GET'
        EXPORTING
          UTC_START = LV_UTCSTART
          UTC_END   = LV_UTCEND
        IMPORTING
          SECOND    = LV_SECOND
        EXCEPTIONS
          PARAMERR  = 1
          OTHERS    = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Wait for total time
    WAIT UP TO LV_SECOND SECONDS.
    2. Now, create one method in the BOR object whose event triggers your workflow.
    3. Use this method in an activity step in you workflow where you want to wait on some given conditions.
    => You can use the email ID which was given by earlier step in Send Mail step. Just make your email id field as Export/Import <i><b>AD_SMTPADR</b></i> type of parameter. In the send mail, use this Id in Email Address input.
    Hope this helps your.
    PS If the answer solves  your query, plz close the thread by marking it Solved and rewarding each reply.
    Regards

  • When I send mail, I keep getting this message. An error occurred while sending mail. The mail server responded: "JunkMail rejected - 71-12-190-31.dhcp.leds.al

    When I send mail, I keep getting this message.
    An error occurred while sending mail. The mail server responded: "JunkMail rejected - 71-12-190-31.dhcp.leds.al.charter.com ([127.0.0.1])
    [71.12.190.31]:52956 is in an RBL, see
    http://www.spamhaus.org/query/bl?ip=71.12.190.31". Please check the message recipient [email protected] and try again.
    How do I get rid of this problem?
    WNS

    Hi there,
    If you have a closer look at message you are receiving it already states the problem. The domain 71-12-190-31.dhcp.leds.al.charter.com is blacklisted by spamhaus.org (is in an RBL).
    Your TB is (my guess) setup to send the message directly to the recipient.
    As a rule of thumb the majority of mail sent from a dynamic dns address (the kind of address you are getting from your ISP) is blacklisted as a precaution against spam abuse due to virus/trojan infected PC's.
    Nothing you can change there. Stop sending the message directly and use your ISP's account instead.
    /Frans

  • Send Workitem from Sap inbox to outlook

    Hi all,
    Any one please explain how to send workitems in sap inbox to outlook.
    What all configurations are needed?
    Thanks in advance

    First you need to be able to send an e-mail from SAP Business Workplace to your e-mail address. If that's not in place you need to configure the e-mail connector or whatever it is called. Basis people should be able to help you with that. It not only involves setting up SCOT to transmit messages with address type INT, you also need to have jobs running on your application server to pass on the SMTP messages.
    Once that is working you can start thinking about e-mail notifications for workflow. If you have transaction code SWNCONFIG in your system, you should use the extended notifcations that you configure there - that is SAP's recommendation. In order to use it it seems you must have SAP Web AS running.
    The other alternative (unless you are on a release < R/3 4.6C) is the report RSWUWFML2.
    For assistance setting up any of these three, please post your specific questions.
    In both cases you need to have a sender address defined for the user that executes the report, any user sending e-mail must have an e-mail address in the user record.

  • SCOT don't work correctly when I send mail from Workflow

    Hi.
    I setting from SU01 the mail of users. I send an email from Workflow, I find this mail in SCOT.
    But the SCOT don't send the mail to user.
    Can I solve it?
    Regards
    Angela

    Hi Angela,
    I don't think your problem lies in SAP. You need to check with the exchange guys to see if the e-mail you send is relayed in the exchange server. Depending on your sending address it is possible the exchange server will not send it on. Depending on the place the exchange server is, there is a possibility there still is a firewall which blocks smtp communication.
    Regards,
    Martin

  • Send Mail from workflow with a Long URL

    Hello,
    My problem is that when an email gets generated from the workflow in my application, the generated url is quite long. As a result the link is not completely underlined in the email. I know there are limitations discussed in SAP note 363986. But does anybody know a workaround using aliases for the URL? and an example for the same would be great.
    Regards,
    Manoj.
    Message was edited by:
            Manoj Vudathala

    Hello!
    I had the same requirements a while ago and even sent OSS note because customer insisted - even though I informed about the known restrictions.
    Well, SAP replied back that the restrictions are still valid and we tried to use alias and splitting email to multiple container elements but still did not work!
    Using send mail step will simply not work with long URL's!
    But there is a work around if the requirement is business critical - you can create a smartform that has the email text and then pass the URL to the smartform. Smartforms can handle the long URL. You can then trigger a method in your workflow that will send the smartform as email. Hope that gives you an idea!
    Harald

  • Sending mail from workflow

    I am using 2-level approver ESS Leave workflow .I need to send mails to outlook from workflow .
    I am successfully able to send mail to 1st approver AGENT_001.AGENTS , but not to 2nd approver.
    But I am choosing 2nd  approver through rule 00000168 .
    There is no rule kind of thing in send mail step . Also if I send mail through a activity step and set it as background task , it does not allows me to choose agent through rule .
    is there any other though which i can choose 2 approver and its mail id .
    Points will be rewarded

    Hi Sahiba,
    You have to get the agent 2 before the task and put  his id in task.
    You can create a custom method for it or you can insert this logic into an exitisting method which is calling before the taks.
    Thanks & Regards,
    Malpani

  • Sending mail from JSP through Microsoft Outlook

    Hi all,
    i want to send an e-mail from JSP by clicking on link or button through Microsoft's Outlook..
    Can anyone guide me..

    something like this,
              try{
                   props = new Properties();
                   props.load(this.getClass().getClassLoader().getResourceAsStream("contact.properties"));
                   int i=0;
                   String referer = props.getProperty("contact.allow.referer."+i);
                   email = props.getProperty("report.email.error");
                   while(referer != null){
                        i++;
                        contact.put(referer, "true");
                        referer = props.getProperty("contact.allow.referer."+i);
              }catch(Exception e){
                   e.printStackTrace();
              try{
                   Session session = (Session)new InitialContext().lookup(this.props.getProperty("reports.jndi.email"));
                   SMTPMessage m = new SMTPMessage(session);
                   m.setFrom(InternetAddress.parse(this.props.getProperty("report.email.from"))[0]);
                   m.setRecipient(RecipientType.TO, new InternetAddress(this.email));
                   m.setSubject(this.getSub());
                   StringBuffer msg = new StringBuffer();
                   msg.append("Employee Name: "+fn + " " + ln +"\n");
                   msg.append("Employee ID: "+this.getId()+"\n");
                   msg.append("Message: "+this.getMsg()+"\n");
                   m.setText(msg.toString());
                   m.setReplyTo(InternetAddress.parse("no-reply"));
                   m.saveChanges();
                   Transport trans = session.getTransport();
                   trans.send(m);
                   trans.close();
              }catch(Exception e){
                   e.printStackTrace();
              }          contact.properties:
    reports.jndi.email=java:comp/env/globalMail
    report.generation.timeout=3000
    report.email.subject=Some Subject
    [email protected]
    [email protected]

  • Sending mails from SBWP to MS Outlook

    Hi,
    I'm trying to configure SMTP in my SAP system. I'm successful in getting notifications and alerts generated by a program into my inbox in SBWP. Can somebody please tell me how do I configure it to receive them into my email Inbox in Outlook? What are the changes should I make from the regular configuration. I followed the SAP Note: 455140 for configuring SMTP.
    Thanks in Advance,
    Rajesh Manoharan

    hi
    good
    go through this link hope this would help you to solve your problem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034
    thanks
    mrutyun^

  • Remainder mail from SAP inbox to Outlook

    Hi All,
    My scenario is like this. In one employee SAP inbox work item is pending from last five days. At that moment i want to send a mail to his Outlook .Means  sending reminder emails to the employee after every 5 days to his outlook by seeing his workitems in SAP inbox.
    Please tell to How it wil happen.

    Hi
    Check this link also..
    [Dead line setup for mail|Deadline (Reminders) set up;
    Hope this link will resolve ur issue..
    Regards
    Kiran

  • Sending Mail from jsp

    Hi guys,
    can anyone help me out of this problem ??
    I have written a piece of code which sends mail from a jsp page.
    When I use the 'Recipient'(TO) as an address in the same domain
    (ie,<xxx>@<apeejaygroup.com>) it works fine.
    But when I use an address such as <xxx>@<rediffmail.com>
    the code gives an error like -
    "javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 550 5.7.1 ... Relaying denied"
    I am sending the piece of code for reference..
    String host ="192.168.33.11";
    String from="[email protected]";
    String to="<xxx>@apeejaygroup.com";
    ( HERE USING THE ADDRESS AS <xxx>@<rediffmail>.com
    GIVES THE EXCEPTION - javax.mail.SendFailedException: 550 5.7.1 ... Relaying denied )
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    javax.mail.Session session1 = javax.mail.Session.getDefaultInstance
    (props, null);
    MimeMessage message = new MimeMessage(session1);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
    message.setSubject("Your Registration Details");
    message.setContent(body,"text/html");
    Transport.send(message);
    Please help me out of this.
    Regards
    Satrajit

    as you said that it might require authentication
    but our mail server doesn't require authentication to mail.
    Now what should i do ??Many servers are now authenticating by requiring you to fetch your e-mail before sending. This is basically because most SMTP mail servers CAN NOT authenticate in the normal sense of the word. So, they use the fetch process for authentication. The fetch process already requires authentication normally. Then your IP address will be good for, say, 20 minutes, and you can relay e-mail through the server.
    It works with most E-mail clients such as Outlook or Netscape, because the default behavior is to 1.Connect to the POP server, 2.Login, 3.Download any new mail, 4.Connect to the SMTP server, 5.Upload any mail to send.
    Even if you don't have any mail, your IP address will at least have been authenticated. Even if you just check for mail, and not download any, you should be OK.
    So what I'd suggest is that you write some code that attempts to connect to your mail system's POP server, get authenticated successfully, then try sending out the e-mail through the SMTP server.

Maybe you are looking for

  • How to exclude sales office for combination sales order type/division?

    Hi experts, I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

  • Computer crashed, need to load itunes from ipod onto new computer.

    My hard drive on my pc crashed. I purchased a new computer and I need to transfer all my itunes from my ipod to my new laptop. When I try, a message tells me to erase my ipod and set up new account. I purchased alot of itunes other the past two years

  • Using "Keychain Access" as a Password Manager

    Hello All, While searching for a secure, trustworthy password manager I started wondering why I couldn't just use Keychain Access built into the Mac OS. I've tried others and they're all nice in their own way but why not use what's already there? Any

  • Encore Remote Preview Buttons Not Working in Preview Mode

    I have had this annoying problem on several ocassions and it's back again. I have never been able to figure out what causes it. When in the prview mode to test the DVD compliation to see if the remote buttons will change between the menu buttons I cr

  • Hard Drive acting up...

    My hard drive is acting up....I have a 320Gig on an iMac running Mountain Lion 10.8 Suddenly my HD is loosing space dramatically.  I can see the capacity just rising as I watch it in Get Info.  I know I have about 1 gig available, but then suddenly i