(Workflow) Send emails to Multiple Domains

hi,
my requirement is that after i trigger my Workflow,
mails should be sent to Internal users (ie Outlook) and to external vendors who have ids in different domains (ie yahoo, gnail etc).
Is it possible to configure all these domains in SMTP MailHost, or any other alternative.
Please suggest,
Cheers,
Aditya.

Hi
No Problem, and you do not have to configure different domains.
When you are creating a mail step in your workflow, just change the Recipient type - to type U - Email Adress.  You can then take the email adresses from a container element.
Regards
Morten Nielsen

Similar Messages

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • On OnPremise, Sending email to multiple recipients doesn't work with SendEmail method

    Hi,
    We are creating a site collection on OnPremise from App by using Sharepoint Client API's (16 version).
    After creation of site collection, we are sending an email to all site collection administrators. But we found that email is being sent to the only first person mentioned in the "To" list. For sending email we are using following method "Microsoft.SharePoint.Client.Utilities.Utility.SendEmail()".
    We tried different scenarios by passing alternately domain username and email address.
    Here are the findings for the different scenarios for the "To" field:
    1) "domain\user1; domain\user1" => sends email to first user
    2) "[email protected]; [email protected]" => sends email to both emails (at least shows in inbox To field, two occurances of email)
    3) "domain\user1; domain\user2" => sends email to first user
    4) "[email protected]; [email protected]" => sends email to first user
    Here is the code we are using:
                    EmailProperties properties = new EmailProperties();
                    properties.To = to.ToList();
                    if (cc != null)
                        properties.CC = cc;
                    properties.Subject = subject;
                    properties.Body = body;
                    Utility.SendEmail(context, properties);
                    context.ExecuteQuery();
    Please let us know what is going wrong here.
    Thanks in advance for your valuable inputs.
    Br,
    Shriram
    Shri07

    According to the R16 Admin preview guide;-
    "Send Email to Multiple Recipients
    Expression Builder is now linked to the email address text field that is presented when the Specific Email Address
    option is selected. Workflow administrators can enter multiple email addresses directly, or click the "fx" icon
    beside the field, and use Expression Builder to define expressions that evaluate to one or more email addresses.
    The benefit of this feature is that emails can be stored on any text field in the base record and multiple emails can
    be sent using one workflow action. "
    But how that works exactly is not clear, I have tried commas, semi-colons, spaces, apostrophes, doublequotes, to separate and try to establish the correct syntax without luck.
    Bob - Perhaps you can do some digging and find out the correct syntax for multiple addresses?

  • Sending email to multiple address using Utl_Smtp

    Hi,
    I want to send email to multiple address using the Utl_Smtp feature.
    When I am sending email to one email address in the To:Field it works fine.However, when I send
    to multiple address I am getting the below error.I am using a table(Email_test) to store all email id.
    Error report:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at line 48
    29279. 00000 - "SMTP permanent error: %s"
    *Cause:    A SMTP permanent error occurred.
    *Action:   Correct the error and retry the SMTP operation.
    I am trying two options both ways I am getting error
    Option 1:
    Selecting two email id indivually in the select query as below
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    Option 2:
    Is there a way to use option
    select email into v_Recipient1 from Email_test where Key_name='U4';
    ===========================================================
    Create table Script
    ===========================================================
    create table Email_test (Email varchar2(100),Key_name varchar2(10));
    insert into Email_test values ('[email protected]','U1');
    insert into Email_test values ('[email protected]','U2');
    insert into Email_test values ('[email protected]','U3')
    insert into Email_test values ('[email protected];[email protected];[email protected]','U4');
    select * from Email_test
    [email protected]                         U1
    [email protected]                         U2
    [email protected]                         U3
    [email protected];[email protected];[email protected]     U4
    select * from Email_test where Key_name in ('U1','U2','U3')
    [email protected]     U1
    [email protected]     U2
    [email protected]     U3
    select * from Email_test where Key_name='U4'
    [email protected];[email protected];[email protected]
    =======================================================
    PL/SQL Block
    ===========================================================
    declare
    v_From VARCHAR2(80) := '[email protected]';
    v_cc VARCHAR2(80);
    v_Recipient VARCHAR2(80) ;
    v_Recipient1 VARCHAR2(80) ;
    v_Recipient2 VARCHAR2(80) ;
    v_Subject VARCHAR2(80);
    v_Mail_Host VARCHAR2(50);
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    begin
    --Mail Host name
    select VALUE into v_Mail_Host from Server_info where server_name = 'SMTPServer';
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    --for CC
    select email into v_cc from Email_test where Key_name='U3';
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Rcpt(v_Mail_Conn, v_cc); -- To CC recepient
    utl_smtp.Rcpt(v_Mail_Conn, v_BCC); To BCC recepient
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'Cc: ' || v_cc || crlf ||
    'Content-Type: text/html;' ||crlf ||
    --'Hello this is a test email');
    crlf || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf );
    utl_smtp.Quit(v_mail_conn);
    end;
    Any suggestion how to approach this issue.
    Thank you

    Simple Mail Transfer Protocol RFC 5321 specifications.
          RCPT TO:<forward-path> [ SP <rcpt-parameters> ] <CRLF>
       The first or only argument to this command includes a forward-path
       (normally a mailbox and domain, always surrounded by "&gt;" and "&lt;"
       brackets) identifying one recipient.In other words, you can only define a SINGLE mailbox address at a time. Multiple addresses requires multiple repeats of this command verb, once per maibox.
    Do not confuse this and the To: tag line in the Mime header that contains a comma delimited list of recipients. That tag line can contain anything - it is not parsed, not checked, and not verified as matching the actual recipient mailboxes as specified via the RCPT TO verb.

  • Question regarding sending email to multiple recipients

    Hi All,
    I am creating a workflow that will send an email notification everytime a new campaign is created. I've learned that R16 is capable of sending emails to multiple recipients, the only concern I have is I can't find any doumentation on how to do it. It is stated in the R16 Administrator Preview Guide that you can select 'Specific Email Address' and enter multiple email addresses directly, I tried to enter multiple email addresses separated by comma - [email protected],[email protected],[email protected] as an example, but it doesn't work and prompts me to enter a valid email address. Could anybody guide me on how to enter multiple email addresses once the 'Specific Email Address' is selected or how to do it in the expression builder to define the expression that will define the list of emails. I know that using group email addresses can be used as an alternative to this requirement but I hope theirs a way to do this with workflows.
    Thanks,
    Wayne

    According to the R16 Admin preview guide;-
    "Send Email to Multiple Recipients
    Expression Builder is now linked to the email address text field that is presented when the Specific Email Address
    option is selected. Workflow administrators can enter multiple email addresses directly, or click the "fx" icon
    beside the field, and use Expression Builder to define expressions that evaluate to one or more email addresses.
    The benefit of this feature is that emails can be stored on any text field in the base record and multiple emails can
    be sent using one workflow action. "
    But how that works exactly is not clear, I have tried commas, semi-colons, spaces, apostrophes, doublequotes, to separate and try to establish the correct syntax without luck.
    Bob - Perhaps you can do some digging and find out the correct syntax for multiple addresses?

  • Send Emails to Multiple Users ?

    Hi,
    I am working on the requirement where I need to create workflow in which I am sending email to multiple users. I have receiver list in a 'Z' Table. So I have to fetch those users from the 'Z' table on some conditions and send emails to them. I am send email to single user mentioned statically in Receipent box but I need to find the receivers dynamically and not able to send email to multiple users.
    Please help me in this.
    Thanks,
    Ketan

    Hi Ketan,
    First af all create one MULTILINE container in your workflow say LT_EMAIL. its type should be SOXNA-FULLNAME.
    Then thorugh some activity step, fill all the recepient's email addresses in workflow container LT_EMAIL. Then create one activity step type to send an email using SENDRASKDESCRIPTION method of business object SELFITEM. in the ADDRESSSTRING pass the multiple container LT_EMAIL and in TYPEID pass 'U'.
    refere below link for BO programming in sap workflow Useful SAP Business Object Type programming macros.
    Regards,
    Ibrahim

  • How to send email to multiple recipients??

    Hello Experts,
    I got a requirement to send email to multiple recipients. How to approach it as am fairly new to Workflow??
    Thanks & Regards,
    Mohammed.

    Hi,
      Do you only want to send mail using workflow or there any other steps. Then you can directly write the code
    Search in scn you will find lot of post for that
    http://scn.sap.com/thread/3256691

  • Can't send emails to multiple recipients any more?

    Yesterday I had to send an email to some 30 other people (I only do this occasionally).
    It refused to go and I received this error message:-
    I have several email accounts but each one was the same.
    At that time I could not even send single emails but incoming emails were unaffected.
    Later in the day I received this email from my ISP mail account.
    Your emails may be blocked – please confirm your alternate BT Yahoo! Mail addresses
    Dear Customer,
    You’ve received a ‘553’ error message because we’ve upgraded your BT Yahoo! Mail account security to help protect against ‘spoofing’ – when people use alternate email addresses to disguise the real sender, possibly to commit fraud.
    What you need to do
    We need you to take a few minutes to confirm each of the BT Yahoo! Mail alternate email addresses you use are genuine. If you don’t, you might get more ‘553’ error messages and have problems sending emails. Just log in and follow these simple steps. We don’t ask for any personal information.
    This is rubbish and I had a similar one last year which I ignored, as the simple steps were far from simple, and the following morning all was back to normal.
    So I ignored this email and tried again this morning.
    I was still unable to send emails to multiple recipients but now I can send single emails OK!
    Any ideas what is going on?
    Is it Mail's fault or my ISP's?

    From the error message, it looks like there was a problem with at least one of the addresses ("NONE"). It is possible that a bad address is in the list you tried to send to.
    I don't know anything about BT Internet, so I can't confirm the authenticity of the email you received.
    You should be able to log into your BT account directly from the web without using any links sent in the email.
    The email also seems to indicate you used an alias as the reply-to (from) email address.
    You didn't mask out the username for your smtp server and it is definitely different from the from account. This may all be normal, but it does tend to match what the email is telling you.

  • Help with sending emails to multiple users.

    Currently we have a process to send mail to muliple users by looping through the list of users and sending each individual an email
    <Action id='1' name='sendEmail' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='toUser' value='$(tuser)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    The variable tuser contains a single email address.
    Is there any way to setup tuser to contain multiple email addresses?
    I have tried passing a list and a string separated by colons (ex: <s>[email protected]; [email protected]</s>) and neither one works.
    Question 2
    Is it a bad idea to try and send email to up to 50000 users at once using IDM? Besides the fact that I would need to search for specific users and get their email addresses based on their capabilities.

    Hi,
    For sending emails to multiple users, use to instead of toUser. Put the names in comma seperated values
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='to' value='$(to)'/>
    <Argument name='cc' value='$(cc)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    You can use IDM to send emails.
    it will be a good idea to break down the email that you are sending into groups/batches. If possible, you can send email to DL s
    Else, you can segregate the users based on roles and send emails. This will reduce the load. Hope it helps
    Regards
    Arjun
    Edited by: arjun.sengupta on Dec 4, 2012 3:26 AM

  • Error while sending email to Multiple Recipients

    Hi,
    I am trying to send email to multiple recipients .It works fine if all the email-addresses are valid. If even one is invalid throws exception .I wish to send it all the valid addresses even if some are invalid as this email will be going to 3000 users some of them will be wrong addresses.
    Help is greatly appreciated.
    -ksg
    Exception thrown:
    Exception in SendEmail.setAddress as :javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 550 <[email protected]>... User unknown
    Here is the main piece of code:
    message.saveChanges();
    Transport transport = session.getTransport("smtp");
    transport.connect("myhost", "", "");
    transport.sendMessage(message, message.getAllRecipients());
    transport.close();

    Hi there,
    Well I find the easiest way is to use a comma delimited string with the following bit of code.
    msg.setRecipients(
    addrType,
    InternetAddress.parse(smtpAddress, false));
    addrType will be TO,CC or BCC
    smtpAddress is a comma delimited string that I get from the results of a SQL Select request (looks something like "[email protected],[email protected],....,....,...."
    The boolean false is to prevent the parse checking the validity of the SMTP addresses as I prefer to deal with this by letting the SMTP server tell me which addresses are no good.
    Hope this helps,
    SH

  • Hosted Email Server can not send emails to certain domains including Hotmai

    I host my own email server and domain, but when I try to send emails to certain domains Hotmail being one of them, It gets refused saying something about spamming, when I know I am not a spammer because only one of the users in my domain can actually send and receive emails.
    Is there a list I can include my domain in, so that I can bypass the spammer status?
    Any help is greatly appreciated it.
    Thanks!

    This is getting common as people attempt to cut down the spam.
    Check your reverse dns is correct, I'd suggest an external test like http://www.mxtoolbox.com/ against your system/domain is a good place to start.
    In the case of the problems I had at home a while back this was down to my ISP not setting up the reverse DNS correctly. I got the Reverse DNS not matching the SMTP Banner i.e. IP address then ISP name:-
    xxx.xxx.xxx.xxx.btopenworld.com
    Microsoft and some other companies introduced a while back the use of SPF records, so check your zone file info to make sure this is there and valid.
    http://old.openspf.org/index.html will help here, if you haven't got SPF set-up.
    Some ISP's employ Goodmail systems, now which isn't a problem for small companies/home users sending small amounts of email, but will effect large companies.
    If you're not sending large amounts of email to AOL, Hotmail, Yahoo etc this shouldn't effect you. Basically, it will force a 'drip feed' into their email systems. One company I worked at had to send email to customers, and this meant the first few emails would be accepted, then the server wouldn't accept more email for 20 minutes or so, then it would take another 5 emails, and so on....
    Dynamic IP addresses, from your ISP can also cause huge problems. If you haven't got a fixed IP address, many systems will reject email. Even if you have a static IP address, ensure your ISP has this correctly allocated. Sometimes, you'll get it from the wrong range (ones which normally are Dynamic), and this will cause problems. 'Cheap state' ISP's can often allocate you a fixed IP, but because they have 'run out' of fixed addresses, they may pinch a dynamic one....
    Some places check your MX records http://vger.kernel.org/mxverify.html will help here. It's a bit of a cheat, as large companies may not have the same outbound servers as inbound servers, but I have seen this cause problems when ALL the mail servers are not listed in the MX records.
    The only one I wouldn't worry about too much is the Goodmail system, unless you're sending large amounts of email. But even then, they normally only slow email delivery down and not actually reject it.

  • How to send emails to multiple contacts w/o posting individually

    how do i send emails to multiple contacts w/o posting them individually. previously i would hold down the "command" key and they would all go to the "to" area?

    Enter a group name from your address book at to, cc or bcc and mail will fill up the group members with a valid email address. If a contact has more than one email address, you can choose which one you will use.
    There are also some preference im mail under compose for handling the address book and groups.
    Please consider, not everbody wants his email shown to other! Maybe you should enter your own mail address at "to" and your contacts at "bcc".

  • Send email to different domain using different address

    hi
    I want to set my exchange recipients have 2 email address.
    1=[email protected] 2=[email protected]
    1.how can I set this setting? (I know I can use something called policy but I don't know how can use that for exchange 2013; please tell me how can do this)
    2.how can set my exchange server to send email to different domain with different account? (after question 1; my recipients has 2 email address (***@domain.com,
    ***@domain.co) I want my recipients when send email to "company.com" using domain.com address and for other domains using domain.co)
    thanks

    1.  Add an accepted domain.  Add the e-mail address to your e-mail address policy.  Update the e-mail address policy.
    2.  http://www.ivasoft.biz/choosefrom2007.shtml  This has been the traditional answer for Exchange 2010 and earlier.  You might contact him to see if it works for Exchange 2013. 
    I don't know of a native way to do this except to create separate mailboxes for each address.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Send EMail to Multiple external users

    Hi
    Is there a way to send EMails to multiple external users dynamically. I can see that we can send EMails to only static Email addresses for multiple external users.
    Thanks
    Vidyadhar

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10057e20-2ca2-2d10-1b91-a1b9a8c8e634

  • Send email to multiple users on form submit

    I created a form with Shuttle object to select email addresses. Shuttle allows multiple select. But I am not able to send email to multiple email ids. Email is sent to only the first email id.
    Please advice me on how to send emails to multiple ids on submit from shuttle
    Thanks
    Latha

    Ok try this:
    DECLARE
      l_vc_arr2 APEX_APPLICATION_GLOBAL.VC_ARR2;
      l_body CLOB;
    BEGIN
      l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(v(‘P8_EMPLOYEE’));
      FOR z IN 1..l_vc_arr2.count LOOP
      l_body := 'Thank you for your interest in the APEX_MAIL
    package.'||utl_tcp.crlf||utl_tcp.crlf;
      l_body := l_body ||' Sincerely,'||utl_tcp.crlf;
      l_body := l_body ||' The Application Express Dev Team'||utl_tcp.crlf;
      apex_mail.send(
      p_to => l_vc_arr2(z),
      p_from => '[email protected]', -- change to a real senders email address
      p_body => l_body,
      p_subj => 'APEX_MAIL Package - Plain Text message');
      END LOOP;
    END;
    Thanks
    Paul

Maybe you are looking for

  • Problems trying to RMA a product..

    "Problems trying to RMA a product..g I own the Soundblaster Arena Surround sound gaming headset, which I purchased two months ago... The USB connector on my headphones has been loose since I received it. I have always had to wiggle it around to get i

  • How can I save and recover projects in iMovie 09?

    I created a (slide show) project for the first time in iMovie 09, sent it to iTunes and then closed iMovie. The instructions said it should have automatically saved my work, but hwhen I opened iMovie again, the project was empty. When I go to the Fin

  • Templates not updating pages at all

    I have a similar problem to several other posters. I have one template that is attached to about a dozen pages. When I make a change to the template, and then save it, not dialog comes up asking if I want to update the dependent pages, and the change

  • Vendor doesn't exist.

    Dear all, I want to make an A/P entry but it says the vender HG12 doesn’t exist. Could you please tell me where I can make necessary settings so that I can able to post to that particular vendor. Thanks in advance!!

  • Can not use IMAQ ImageToArray and IMAQ Rotate on CVS

    when using my image processing DLL, I have to use IMAQ ImageToArray and ArrayToImage which call the NIVissvc.dll and NIVision.dll . these are very common IMAQ fuctions, in Labview, all my vi works well, when this exe running on the CVS, it says can n