Mail from Workflow to external system with mail text in body of mail

Hi All,
I have extended workflow WS12300111 to send mail to external system. But in external system mail text is coming in attachment & without formating (Multiple lines are coming in single Row).
I want to know how to send text in body of mail (instead of attachment)  to external system, when we are sending mail using Send Mail option in Workflow.
Thanks & Regards,
Rajesh

Thanks Rick, I am aware of this function module - but trying to use workflow tool - "Mail Send" option. I need to send text & link to my portal application.... Now I can send text in body of mail... but how can we provide link in mail to open portal application to make user to perform required action (Leave approve or Reject etc)..
I am new to Workflow soo learning thru my errors and from queries on SDN
-Rajesh

Similar Messages

  • 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

  • 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

  • How do I sync my g-mail from my Mac OS X with my iphone?

    How do I sync my g-mail from my Mac OS X with my iphone? When I delete from my phone in g-mail I want the mail to be deleted from my Mac also. Can some-one help me with this. 

    You need to setup both of your email apps with imap.
    not sure if these are the greatest instructions ...
    https://support.google.com/mail/troubleshooter/1668960#ts=1665018,1665139
    Robert

  • When I try to send e-mail I get an error message stating that the e-mail address was rejected by the server.  When I send to e-mail from another address, I get back an error saying the e-mail address is unknown.  My e-mail has worked fine for years until

    When I try to send e-mail I get an error message stating that the e-mail address was rejected by the server.  When I send to e-mail from another address, I get back an error saying the e-mail address is unknown.  My e-mail has worked fine for years until yesterday.  HELP!

    The specific text of the error message is very important here — I'm not sure exactly you're encountering here.
    If you're able to connect to your email server and are able send email to other email addresses and if the failures are specific to one email recipient address, then please contact the intended recipient of the failing email, and confirm their address is valid.  (This is the way I'm reading your question.)
    If you are unable to send any email to any other email addresses and this is specific to your email address, then try the web mail client interface (if one is available) to verify your login user and password, and check with your email ISP for assistance.  If your email password works via web mail, follow this Apple troubleshooting guide, then — if everything else fails — I'd probably then entirely remove the email account from Mail.app and re-add it per your email ISP's particular setup requirements.  (Some issue with the setup or maybe a corrupt setting in OS X or a problem at the mail ISP servers is a common problem, but this effects attempts to send to all email addresses via that account.)
    An email account setup is specific to an email provider, unfortunately.   If you're using one of the more common email ISPs, then there are usually setup guides and frequently-asked questions posted online.

  • How do I remove Apple Mail from my hard drive? Over 10,000 downloaded into my mail and continues to freeze up---  I just want to use my gmail account directly

    How do I remove Apple Mail from my hard drive? Over 10,000 downloaded into my mail and continues to freeze up---  I just want to use my gmail account directly

    I go to Gmail to do my email yes, in my browser, but ya know how sometimes you click on a website to email someone and it pulls up apple mail, and then tons of email dump into apple mail and it frequently causes my computer to lock up and have to shut down w/escape.  I thought it would be  better to take it off if I could

  • 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 OUTLOOK mail from Workflows

    HI ,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.
    How should i send the mail to OUTLOOK from SAP.

    Hi Ranjith,
    Here's some friendly advice for you:
    - don't post the same question twice
    - if you get a specific error message ('wait for communications service'), try investigating it yourself by googling it.
    In this case, your issue is almost certainly with your mail setup - you can confirm this by trying to send a mail from SBWP to an external address. If so, it's a Basis issue, not workflow. You can safely hand it off to your Basis team.
    cheers
    Paul

  • 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

  • Can Process Siebel salesorder and another order type from a another external system in OSM with O2A PIP?

    We have OSM 7.0.3 with O2A PIP.  We are currently getting the salesorder from Siebel and processing fine.  Is there a way to also get another order type from another external system and generate an orchestration plan to only go to provisioning (not SOM)?

    Hi, I believe that in principle what you described is possible.
    I assume your other order source would transorm through AIA to the EBM message structure.
    Please bear in mind that milestones are automatically generated to AIA, you would need to somehow address branching the milestones to the originating system.
    However, since you want your other order to only go to SOM, you might consider submitting the other order directly there?
    Why have it do through COM when COM has no value-added in termes of orchestration (since you always want just one and the same function).
    Also, pls consider that with some future evolution of O2A, SOM is likely to take a service order as in input, which would be transformwed from the commercial order.
    The right choice here depends on the wider context of your requirement.
    Hope this helps.
    regards
    Viktor

  • Thunderbird prefixes mail from BT yahoo email address with [SPAM]

    When I open Thunderbird to read mail from BT yahoo, the mail is prefixed with [SPAM]. This has happened in the last few days, BT maintain it is nothing to do with them and to my knowledge nothing has changed in the last months. The messages are not shown as spam in BT yahoo mail.
    Whislt talking to BT they sent me a mail which (as Thunderbird was opened) was received without the [SPAM] prefix and this morning an Amazon email was received whilst Thunderbird was open, again without the [SPAM] prefix.
    It does not do this with mail from an Orange/EE email address.
    Can I prevent this, please? (It is just annoying rather than critical and to me unfathomable)!
    This began on 19/10/14 after I had not used my computer for 5 days and I opened all 3 email addresses at once through Thunderbird (as pr normal) to receive 60 emails all prefixed [SPAM] - previously all was well - and BT had still filtered out the mails that I regarded as spam.

    Thunderbird does not use the word 'Spam', it uses the word 'Junk'.
    So if you are seeing 'Spam' then this is either being applied by the server or you have a program installed on your computer which is doing it. But it is not Thunderbird.
    I also use BT and it puts some emails in the Spam folder on webmail account.
    But if I get emails in Thunderbird with a 'Spam' entered at the start of the subject line then it has been put there by my anti-virus/firewall program.
    For example, I use Norton Anti-virus/firewall product and Norton will add 'Norton AntiSpam' to emails it thinks is spam. There is the facility to place exclusions in Norton.
    Other products such as 'spampal' or 'spamassassin' will also add the word Spam.
    So I would suspect that you have a program running that is doing this.

  • Mail from Macbook Pro not syncing with iPhone

    I am trying to set up my Mail account (which is set with Gmail) from my computer to sync with my iPhone. Unfortunately the iPhone goes is synced with Gmail and says that I have over 2000 emails. How can I get my iPhone to sync with my Mail app from my computer?
    Also, I have deleted the account from my iPhone, but it still shows up on my iTunes. When I sync the iPhone, the mail settings are put back into my iPhone. How can I erase the gmail settings from my iTunes?
    Thanks for your help.
    Jude

    You don't sync account mailboxes and messages with the email client used on your computer for accessing the account via the iTunes sync process. You can transfer account setup info only from your computer to your iPhone via the iTunes sync process.
    Using the iPhone's mail client to access an email account is no different from using the Mail.app on your Mac for accessing the account. With a POP account, new messages recieved at the incoming mail server are downloaded, and when accessing a POP account with a new email client for the first time, all messages that remain at the incoming mail served for the account will be downloaded as new messages, since the new email client being used has never accessed the account - in this case, with the iPhone's mail client.
    With an IMAP account, all server stored mailboxes are kept synchronized with the server automatically with each email client used to access the account.
    You deselect transferring the account settings for this account from your computer to your iPhone at the same place where you selected this - under the Info tab for your iPhone sync preferences with iTunes.

  • Sending Mail from SAP to External Source

    Hi Experts,
    We are on ECC 6.0. I have configured the standard SAP system for
    sending mails from within SAP to our company mail server. The
    mails from SAP are going successfully to our official company
    ids, But when i am trying to send mails to outside address like
    eg. " email@removed " or " email@removed ", it is not going and
    giving an error recipient unknown.
    The configuration of SAPConnect is correct because mails are
    going successfully to our company id, to send outside do i need
    to do something extra???

    It's Mail Relaying and it allows a mail server to send email (or relay it) on behalf of other systems. Many companies have relaying turned off because it is a security risk.
    For example, allowing relaying will allow your system to send an email from xxx.com though your email server which manages emails for company.com. This could be used by a rogue to send spam through your email server.
    Also, if you try to send an email from an account that your mail server does not handle some receiving servers may assume it is spam and block it.
    For this reason, only allow mail relaying on the email server for your domain and only from the SAP systems. This will prevent abuse from occuring because relaying is enabled.
    Have you set the default domain for SAPconnect:
    [http://help.sap.com/saphelp_nw04/helpdata/EN/00/7c9962df8111d3a36400a0c943858e/content.htm]
    Microsoft note on SMTP Relaying:
    [http://support.microsoft.com/kb/304897]

  • Mail from Workflow to Outlook: Incorrect Subject

    Hello,
    I have the problem, that if I send Mails from a sap workflow to outlook for certain notifications
    the subject of the mail is not correct. The subject contains the description of the workflow task
    and not the workitem text. For all other notifications the subject is correct. The notifications,
    for which subject is not correct, were created by a function module. The mail body is in all cases correct.
    Any ideas??
    Regards,
    Mario

    Hi Mario,
    Check the FM you are using. If it is SO_NEW_DOCUMENT_SEND_API1, check if you are passing the subject line correctly or not by debugging the FM.
    Also state what exactly is the difference between the subject passed and what is recieved in the mail i.e. how is it incorrect.
    Regards,
    Saumya

Maybe you are looking for