How to send email to external email address through workflow?

Hi Experts,
i have tried sending the mail by giving the mail id in the workflow setiings under step "mail"  as follows :
Recipient type         Email Adress
E-Mail Address        xyz adress
aslo tried same with transaction SO13 , but none of the ways are working. Can you please help.  
Thanks in advance.

Hi,,:-)
> i have tried sending the mail by giving the mail id in the workflow setiings under step "mail" as follows :
>Recipient type Email Adress
>E-Mail Address xyz adress
>aslo tried same with transaction SO13 , but none of the ways are working. Can you please help.
Check these Links:-
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sendMessagetoExternalemailidandSAPUseridvia+ABAP
/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
Regards,
Kanika

Similar Messages

  • How to send email addresses to Mailchimp

    Hi,
    How would I allow the email addresses, which hva been entered into the user registration form to be sent to the mailing list in Mailchimp?
    Here is the code for the page which contains the form with the email field (If this helps):
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "1";
    $MM_donotCheckaccess = "false";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && false) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "loginadmin.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <!--HEADER CONTENT START --><head>
    <style type="text/css">
    body{ margin:0px; background:#FFF;}
    .header {
        height:165px;
        background:#FFF;
        border:1px solid#CCC;
        position:fixed;
        width:100%;
        top:0px;
    </style>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    </head>
    <div class="header"><?php include('defaultheader.php');?></div>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <!--HEADER CONTENT END -->
    <html>
    <title>Create New Account</title>
    </html>
    <?php require_once('Connections/drama_database.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "newaccountform")) {
      $insertSQL = sprintf("INSERT INTO users (username, password, firstname, lastname, email, userlevel) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['username2'], "text"),
                           GetSQLValueString($_POST['password2'], "text"),
                           GetSQLValueString($_POST['firstname2'], "text"),
                           GetSQLValueString($_POST['lastname2'], "text"),
                           GetSQLValueString($_POST['email2'], "text"),
                           GetSQLValueString($_POST['userlevel'], "int"));
      mysql_select_db($database_drama_database, $drama_database);
      $Result1 = mysql_query($insertSQL, $drama_database) or die(mysql_error());
      $insertGoTo = "adminusermanagement.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_drama_database, $drama_database);
    $query_newuser = "SELECT * FROM users";
    $newuser = mysql_query($query_newuser, $drama_database) or die(mysql_error());
    $row_newuser = mysql_fetch_assoc($newuser);
    $totalRows_newuser = mysql_num_rows($newuser);
    ?>
    <div align="center">
        <h1>Create New Account</h1>
    </div>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <div align="center">
    <form action="<?php echo $editFormAction; ?>" method="POST" name="newaccountform" id="newaccountform">
      <table width="416" border="0">
        <tr>
          <td width="94" class="formtag">First Name</td>
          <td width="315"><span id="sprytextfield6">
            <label for="firstname2"></label>
            <input name="firstname2" type="text" class="formfield" id="firstname2" />
            <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td class="formtag">Last Name</td>
          <td><span id="sprytextfield7">
            <label for="lastname2"></label>
            <input name="lastname2" type="text" class="formfield" id="lastname2" />
            <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td class="formtag">Email</td>
          <td><span id="sprytextfield8">
          <label for="email2"></label>
          <input name="email2" type="text" class="formfield" id="email2" />
          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
        </tr>
        <tr>
          <td class="formtag">Username</td>
          <td><span id="sprytextfield9">
            <label for="username2"></label>
            <input name="username2" type="text" class="formfield" id="username2" />
            <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td class="formtag">Password</td>
          <td><span id="sprytextfield10">
            <label for="password2"></label>
            <input name="password2" type="text" class="formfield" id="password2" />
            <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr>
          <td class="formtag">Userlevel</td>
          <td><label for="userlevel"></label>
            <select name="userlevel" class="formfield" id="userlevel">
              <option value="0" selected="selected">User</option>
              <option value="1">Admin</option>
            </select></td>
        </tr>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td colspan="2" align="center"><input name="createuser" type="submit" class="button" id="createuser" value="Create Account" /></td>
          </tr>
      </table>
      <table width="147" border="0">
      <tr>    </tr>
      <tr>    </tr>
      <tr>    </tr>
      <tr>    </tr>
      </table>
      <input type="hidden" name="MM_insert" value="newaccountform">
    </form>
    </div>
    <script type="text/javascript">
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "email");
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
    var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10");
    </script>
    <?php
    mysql_free_result($newuser);
    ?>

    Im wondering how to integrate my email field on my database with mailchimp.
    I don't think you can.  But you can ask MailChimp.
    I want every user who creates an account on my website to have their email automatically sent to mailchimp, without having to fill in a subscribe to newsletter form.
    I think that's a really bad idea. What if your users don't want the newsletter?  People must be made aware of what they are signing-up for and who that information is being shared with.
    Nancy O.

  • How to send a Workitem to User Group through WorkFlow

    Hi,
    I am developing a WorkFlow, in this i have an issue that i have to send a WorkItem to User Group on Certain condition. On Agent Assignment I want to assign User Group not a single or multiple Users.
    Could anyone resolve this issue. How can i resolve in WorkFlow.
    Harkesh Dang

    hi Harkesh,
    During agent assignment use Organizational unit -> All users in that organizational unit will receive workitem.
    Use Role -> All users having that role will receive workitem.
    Use Job/Position -> All users assigned to job/position ca receive workitem.
    Or else use expression -> Pass the user name through some selection criteria using a background method. Loop it. Create a task and workflow container and make sure that in properties tab multiline is checked.
    Hope it works.
    Regards,
    Raj

  • Email Notifications through workflow for all Approved and Rejected Orders

    hi,
    i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
    regards
    yesukannan

    Hi,
    An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
    This setup can be done under Alert Manager Responsibility.
    Regards,
    Ketter Ohnes

  • Webservice needs sender email address to be that of service user -how todo?

    I host a web service. It is used by merchants in their web sites. My web service sends notifications to the merchants customers. Trouble is the sender email address is my web service email address and not that of the merchant. Some merchants do not like this and they want emails to their customers to be seen to come from them.
    What would I (or the merchant) need to do in order to be able to set the sender email address to that of the merchant. Im assuming I can't just go ahead and set the sender to be any old email address! e.g. Im thinking Id have to use the merchants smtp host or something.

    You can set the sender to whatever you want; that's why there's spam.
    Whether your SMTP server will allow you to send with any arbitrary sender is a different story.
    If you run your own SMTP server, you can control this. Otherwise, yes, you would probably need
    to use the merchant's SMTP server and login credentials.

  • [SOLVED]How to send email to a local user?

    I have installed Mutt, msmtp, procmail and I can send and receive emails to/from remote hosts and I'd like to send email locally also (to the recipients on the same machine as the sender).
    When I try to send email to a local user from the root account -
    echo "Test message" | mail -s "Test subject" localuser
    then I get an error that connection to the port 25 is refused. Because the /etc/msmtprc file contains the 'localhost' as the default account's host, and on the local host I don't have a mail server listening on 25 port running.
    When I try to send email from a non-root account which has in /$HOME/.msmtprc file a real email account on a remote server, then of course there is an error that the domain for the email address 'localuser' is not recognized.
    How can sending email to local users be enabled?
    Last edited by nbd (2014-09-30 22:33:37)

    If I understand correctly, postfix it's a constantly running daemon. Seems to be an overhead for delivering only from time to time sent messages.
    ewaller wrote:
    > Out of the box, sendmail should be safe, but I think you have to enable local mail.
    Currently I have msmtp-mta installed, which is described as having sendmail functionality. If I install sendmail - will it be possible to send local email without running email daemons?

  • How to include email address of the consignee in ORDERS05 purchase orders?

    Helllo,
    how can the email address of the consignee be included to the address data in purchase orders of the type ORDERS05?
    The email address should fit somewhere in here:
    < E1EDKA1 >
    < PARVW > WE </ PARVW >
    < LIFNR > 1234</ LIFNR >
    < NAME1 > COMPANYNAME </ NAME1 >
    < NAME2 > A.NONYMUS </ NAME2 >
    < STRAS > 1 Highstreet </ STRAS >
    < STRS2 > 1.C.110 </ STRS2 >
    < ORT01 > Ratingen </ ORT01 >
    < PSTLZ > 40882</ PSTLZ >
    < TELF1 > +49 2102 123456 </ TELF1 >
    The email address is part of the ADDRESS DETAILS of the purchase order.
    The dynpro field is: SZA1_D0100-SMTP_ADDR
    Is it possible to send this address only to a specific vendor?
    Your help is very much appreciated!
    Karsten

    Hello there,
    Following is the URL for the widget.
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=3072025
    Thanks,
    Vish

  • Workflow step - send email - address of sender

    Hi,
    We are using workflow to register travels and leave requests and we are sending emails to the employees about eg. that their document has been rejected/approved. Emails are sent by user WFBATCH. Is it possible to change this user to some other one so that we could change the sender email address?
    Thank you!

    Hello,
    If you're usng a SendMail step then (if I remember correctly) it's always run in background and therefore always WF-BATCH.
    Usually, if I want to do anything unusual with mails from workflow then I create a step which calls a task which calls a new method of my BOR object which calls fm SO_NEW_DOCUMENT_ATT_SEND_API1. See if you can specify the sender there.
    Please let the forum know how you get on.
    regards
    Rick Bakker
    Hanabi Technology

  • How to validate Email Address in HTML DB Application

    Hi,
    I have delevoped one Employee Login Details form in HTML DB. But i am unable to validate that email address as i find html db is not supporting String functions like indexOf(char c), substring(int) ect. So please can anybody help me to know how to validate email address that it has @ and . symbol or not.
    Thanks in advance.

    user529382,
    You may be able to use Regular Expressions instead, if you do a search in this forum for 'regex' you should find a few hits.
    While I agree that using a regular expression is a great way to verify that the user has entered an email address that conforms to the regular expression rules, it is still nothing more than that....conforming to the regular express rules.
    The only way to 100% confirm that an email address is 'valid', is to actually send an email to it, so what I tend to do is to get the user to enter their email twice (in a user registration screen for example), that way you can minimize the chance of 'typos', then send out a 'verification email' that the user has to click a link on to verify they have received it (I'm sure you've seen this type of system before), only when the confirmation is received would I then make the account 'active'.
    Hope this helps.

  • Change sender email address for payment advice

    Hi,
    I used FIBF to activate BTE 2040 to allow me email Payment Advice. This is working well and takes the 'Sender' email address from the user master data. I don't want to use the user master data so does anyone know how/where to change the sender email in the code?
    I have copied SAMPLE_PROCESS_00002040 and can implement 2050 if needed but that seems to only modify the text of the mail - not the sender email?
    Thanks.

    accounting Clerks need to be setup

  • How to send emails from of pdf's generated by oracle reports

    I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
    Thanks,
    Previn

    I have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    OR
    I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
    Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
    Martin

  • How to send emails to spam folder?

    I just got my Note4 and the phone's Help tells me that I need to select the email, then the bottom menu will populate with a little red circle with a + in it. I am to click that and the email address is sent to spam. But my bottom menu is NOT giving me that spam icon to click.  How can I block emails? Or how can I get that little icon to show up?
    Thanks!!

    Yes, I have unsubscribed to the emails that allowed me too. Now I would
    like to block spefic addresses and/or domains.
    My email addresses are @verizon.net, @gmail.com and a corporate one. I am
    using Gmail for the Gmail accounts and using the default email service that
    came on the phone. It's icon is an envelope with a red @
    I know the gmail service allows me to easily click "report spam"  but using
    note 4  how can I block emails in my  verizon.net account and corporate
    account?
    Thanks.
           <https://community.verizonwireless.com>
    A message from the Verizon Wireless Community
    <https://community.verizonwireless.com>
    <https://www.verizonwireless.com/wcms/consumer/explore.html> 
    <http://www.verizonwireless.com/wcms/consumer/shop.html>  [image: MY
    VERIZON] <http://www.verizonwireless.com/b2c/myverizonlp/> 
    <http://www.verizonwireless.com/support/>
       how to send emails to spam folder?  created by Verizon Wireless Customer
    Support <https://community.verizonwireless.com/people/vzw_customer_support>
    in Android - View the full discussion
    <https://community.verizonwireless.com/message/1176922#1176922>

  • How to sending email from Oracle Forms

    How to sending email from Oracle 6i(Forms)
    I need to send email to a distribution list(multiple email addresses).

    send email of multiple email address
    [email protected],[email protected],[email protected]
    create or replace function mailout
    (sender in varchar2,
    recipient in varchar2,
    ccrecipient in varchar2,
    subject in varchar2,
    message in varchar2) return number
    is
    crlf varchar2(2) := chr(13)||chr(10);
    connection utl_smtp.connection;
    mailhost varchar2(50) := 'Add email server Ip Address here';
    header varchar2(4000);
    v_num number :=1;
    str number:=0;
    email varchar2(50);
    begin
    connection := utl_smtp.open_connection(mailhost,25);
    header := 'Date: '||to_char(sysdate,'dd mon yy hh24:mi:ss')||crlf||
    'From: '||sender||' '||crlf||
    'Subject: '||subject||crlf||
    'To: '||recipient||crlf||
    'Cc: '||ccrecipient||crlf||message;
    utl_smtp.helo(connection,mailhost);
    utl_smtp.mail(connection,sender);
    utl_smtp.rcpt(connection,recipient);
    while (instr(ccrecipient,',',1,v_num)>0) loop
    email:=substr(ccrecipient,str+1,instr(ccrecipient,',',1,v_num)-str-1);
    dbms_output.put_line(email);
    utl_smtp.rcpt(connection,email);
    str:=instr(ccrecipient,',',1,v_num);
    v_num:=v_num+1;
    end loop;
    utl_smtp.open_data(connection);
    -- utl_smtp.write_data(connection,header);
    utl_smtp.write_data(connection,'MIME-Version:1.0'||crlf||'Content-type:text/html'||crlf||header);
    utl_smtp.close_data(connection);
    utl_smtp.quit(connection);
    return 0;
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line('Invalid Operation in SMTP transaction');
    return 1;
    when utl_smtp.transient_error then
    dbms_output.put_line('Temporary problem with sending email ');
    return 2;
    when utl_smtp.permanent_error then
    dbms_output.put_line('Permanent problem with sending email ');
    return 3;
    end;

  • BI Ibots sender email address

    hi,
    does anyone know how to set up BI to send out different ibots with different sender email address? currently it is global. From the EM Core application --> Deployment --> Mail then on the top you set the 'mail address of the sender'. That turns out to be the global sender email address for all the ibots. however, i have a requirement where i need to send ibot reports to show the sender as a different address for different ibots along with the recipient.
    Thanks in advance for any inputs.
    Shamol

    Thanks SriniVEERAVALLI,
    I tried to create a profile in the WLS and granted admin right; after that i tried to run an ibot 'Run as' that profile, however, after trying that it still shows up with the global sender email address as a sender.
    Did you mean something different?
    Thanks again,

  • Changing sender email address via rewriting rules

    My objective is to change my sender email address. For example, suppose my OCS email address is [email protected] and I would to send an email to [email protected]
    John logs into yahoo mail and would see my mail. Upon opening my email, I would like John to see that the sender email address to be [email protected] so that whenever John replies my mail, the replied mail would go to [email protected] and not to [email protected]
    I read the email admin guide and I configure the Sender rewriting rules within SMTP_OUT. I have key in the following within the Sender rewriting rules: $*@test.abc.com.my,$[email protected]
    I restart the SMTP_OUT services and I check the log files in MIDTIER_HOME/oes/log/um_system/SMTP_OUT/12345
    I found out that the rewriting rules have take effect on one of the lines.
    Then I log into OCS as user Andrew with test.abc.com.my domain and send an email to yahoo.
    I open my yahoo mail, which I receive the email.
    However the sender email address remains unchanged which is [email protected]
    How can I change the sender email domain?
    thanks;
    andrew

    Your observation is very correct in terms of symptoms, not of behaviour. We have numerous ER's there enabling header rewriting, too. Obviously for you, envelope rewriting works well, without to achieve the target you want to address. Please forward your request to Support Services with an Enhancement Request for native header rewriting.
    Otherwise 3 ways:
    1 Milter C-SDK
    2 Milter general
    3 relay accomplishing this task.
    On 2,3 we have samples ready, for 3 in particular for postfix.

Maybe you are looking for

  • Error in Reciever JDBC Channel

    Hello Friends , Am getting the following error in Message Monitoring  while sending data from PROXY --> JDBC scenario . message is passing in ABAP stack and it is failing in  java stack. MP: exception caught with cause java.lang.NullPointerException:

  • [PART SOLVED] Random j, k characters appearing on lines. A vim issue?

    Hi There, I recently noticed that when scrolling around a file using the keys j and k in normal mode that random j and k characters appear at the end of lines. Initially I thought this was a terminal issue so I switched terminals, no luck. I removed

  • How to Change Link Color Across Document

    I have a 175 page PDF and figured out how to make all the web addresses hyperlinks document wide. Now, I'd like them all to be blue (right now they're defaulting to black). How do I do this? Thank you.

  • Camera raw crash

    I use imac 4 core i7, 8GB ram, os 10.6.3 Trial install of CS5 extd. Open NEF file in camera raw (have tried 6.0 and 6.1)  Select spotting brush. Proceed to correct dust spots, etc. When I need to remove spotting circles to evaluate the image, I press

  • ASSERTION FAILED: in AS 5300

    i am getting the following error in my AS5300 access server ASSERTION FAILED: file "../as/if_as_pm7366.c", line 129 6 ASSERTION FAILED: file "../as/if_as_pm7366.c", line 149 running ver is c5300-i-mz.123-26.bin