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
Similar Messages
-
Send email to multiple users using form
I am using following code to send email from forms.
But i want to send email to multiple users like atleast 10 users
It i sworking for one user.
If i give mail_pkg.send('tim@'oracle.com;[email protected]','Testing Oracle forms to send email','Testing oracle forms to send email','c:/x.pdf');
The email is not going
Can anybody help how to send to multiple users
Thanks for your help
T
PACKAGE Mail_pkg IS
session OLE2.OBJ_TYPE; /* OLE object handle */
args OLE2.LIST_TYPE; /* handle to OLE argument list */
procedure logon( Profile IN varchar2 default NULL );
procedure logoff;
procedure send( Recp IN varchar2,
Subject IN varchar2,
Text IN varchar2,
Attch IN varchar2
END;As said,
Reports9i is better than Reports6i as far as sending emails is concerned. Reports9i allows you to send Reports in different formats as email attachements (PDF v3 is only one option). You can set subject, cc, bcc and some body text the way you want it. The Reports server only needs the address of a SMTP Server and you are ready to go. In Reports6i this is a bit more limited as you are not able to provide your own subject and body texts.
I know that you can do this with PL/SQL from teh databae, but never tried it before.
There is another option, which is to use a Java Bean in Forms for email. Thsi only works on the Web and a demo is included in teh Forms9i demos that can be downloaded from OTN. Though the demo is written for Forms9i it should work with Forms6i as well (not the Forms demo files because they are created in Forms9i).
Fran -
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,
KetanHi 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 -
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 Jenkinsfinally 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 -
All experts:
I want to send an email to multiple user, I use the FM:SO_NEW_DOCUMENT_SEND_API1,
this FM can to mutiple user's email address ,but it can not re-set the email sender.
another FM is: EFG_GEN_SEND_EMAIL, this FM can re-set the email sender and email receiver, but this only can send one email to one receiver.
My question is, can anyone tell me how to send email to mutiple user,
e.g.: sender: abc/at/abc.com
receiver 1 cdg/at/abc.com
receiver 2 dd/at/hotmail.com
I want to send this email to both them at a time. and i can dynamic set the email sender.
Thanks in advance.Hi,
It is a good practice to write a function to send email and use this function as much as you want.
Please create the following function exactly,
it will help you:
You see imports and exports of this function:
TO1 through TO3 is the mail adresses you can pass. You can use just one of them or all of them.
And you can use the BODY STRUCTURE TLINE OPTIONAL
as the contents of the email.
Hope helps.
FUNCTION Z_PA_SENDMAIL.
*"*"Local interface:
*" IMPORTING
*" VALUE(TO1) LIKE ADR6-SMTP_ADDR
*" VALUE(TO2) LIKE ADR6-SMTP_ADDR OPTIONAL
*" VALUE(TO3) LIKE ADR6-SMTP_ADDR OPTIONAL
*" VALUE(SUBJECT) LIKE TZV51-XBRIEF
*" VALUE(ATT_TYPE) LIKE SOOD-OBJTP OPTIONAL
*" VALUE(ATT_NAME) LIKE SOOD-OBJNAM OPTIONAL
*" VALUE(ATT_DESC) LIKE SOOD-OBJDES OPTIONAL
*" VALUE(NOTIF_DEL) LIKE SOMLRECI1-NOTIF_DEL OPTIONAL
*" VALUE(NOTIF_READ) LIKE SOMLRECI1-NOTIF_READ OPTIONAL
*" VALUE(NOTIF_NDEL) LIKE SOMLRECI1-NOTIF_NDEL DEFAULT 'X'
*" VALUE(SEND_AS) LIKE SOEXTRECI1-RECEIVER DEFAULT SPACE
*" EXPORTING
*" VALUE(SENT_FLAG) LIKE SOPR-FLAG1
*" TABLES
*" BODY STRUCTURE TLINE OPTIONAL
*" ATTCH STRUCTURE SOLISTI1 OPTIONAL
*" EXCEPTIONS
*" TOO_MANY_RECEIVERS
*" DOCUMENT_NOT_SENT
*" OPERATION_NO_AUTHORIZATION
data: doc_chng like sodocchgi1.
data : objpack like sopcklsti1 occurs 10 with header line,
objhead like solisti1 occurs 10 with header line,
objbin like solisti1 occurs 10 with header line,
objtxt like solisti1 occurs 10 with header line,
reclist like somlreci1 occurs 10 with header line.
data: tab_lines like sy-tabix.
data: sent_to_all like sonv-flag.
objtxt[] = body[].
objbin[] = attch[].
doc_chng-obj_name = 'Mail'.
doc_chng-obj_descr = subject.
* Creation of the entry for the compressed document
describe table objtxt lines tab_lines.
clear objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
read table objtxt index tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
doc_chng-doc_size = doc_chng-doc_size + objpack-doc_size.
objpack-doc_type = 'RAW'.
objpack-obj_name = 'Body'.
objpack-obj_descr = subject.
append objpack.
describe table objbin lines tab_lines.
if tab_lines > 0.
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
read table objbin index tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + strlen( objbin ).
doc_chng-doc_size = doc_chng-doc_size + objpack-doc_size.
objpack-doc_type = att_type.
objpack-obj_name = att_name.
objpack-obj_descr = att_desc.
append objpack.
endif.
reclist-rec_type = 'U'.
reclist-notif_del = NOTIF_DEL.
reclist-notif_read = NOTIF_READ.
reclist-notif_ndel = NOTIF_NDEL.
reclist-receiver = to1.
append reclist.
if not to2 is initial.
reclist-receiver = to2.
append reclist.
endif.
if not to3 is initial.
reclist-receiver = to3.
append reclist.
endif.
delete reclist where receiver eq space.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = doc_chng
put_in_outbox = ' '
commit_work = 'X'
* SENDER_ADDRESS = send_as
importing
sent_to_all = sent_flag
tables
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
case sy-subrc.
when 0.
* SUCCESS
when 1.
raise TOO_MANY_RECEIVERS.
when 2.
raise DOCUMENT_NOT_SENT.
when 4.
raise OPERATION_NO_AUTHORIZATION.
when others.
raise OTHERS.
endcase.
ENDFUNCTION. -
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
LathaOk 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 -
Help with sending email from RoadRunner account on Mac, iPhone, iPad
Recently, I have had strange issues where suddenly I realize that I cannot send email using Mac Mail (Mac OS X 10.8.1). Its a very frustration condition where when everything was once fine, suddenly you stop being able to send email without what appears to be 'reason'.
Today I learned the reason, and I assume others might run into this as well, so I am posting the issue and solution:
Per Time Warner/RoadRunner support: "When on your home network, the SMTP server does not require authentication. When away from your home network, the SMTP server REQUIRES authentication"
That is what I believe to be a mistake on RoadRunner's part. Hundred of thousands of users will not understand that they need to change this setting anytime they go for a coffee at Starbucks.
So to help, here is what I have come up with:
From Mail -> Preferences, you need to edit your SMTP server list. Click the drop-down list next to 'Outgoing Mail Server (SMTP) and select 'edit SMTP Server List. Create two server connections and name one something that reminds you that it is the home network, and the other a roaming network. Set the home network server config to Authentication -> None. Set the roaming network server config to Authentication -> Password and fill in the username/password credentials.
Having both these servers available for you to select from will reduce the impact of this inconvenient requirement from RoadRunner.
.....Comcast.....please make service available in my area.....Bradley,
You did it. I used your suggestion and solved what I hope to be the last of a very persistent problem.
I made both a home and away SMTP server setting on my iMail. I tested both and are working well.
Of all my research, your suggestion was the only fix to this problem. Now, I hope to be able to send email wherever I am instead of waiting until I am at a home network or worse, resorting to using my phone.
Thanks again! -
Need help with sending email notifications via OEM
Hi Folks,
Objective: To setup email notification if the listener or the database instance goes down
Version: 10 g Rel 2
I have setup the email from OEM. I have verified the configuration by successfully sending myself test emails.
I have configured the schedule (7 days a week, from 1 A.M to 11 P.M)
I have also configured the out-of-the package alerts so that I will be notified if the listener goes down
However, once I manually stop the listener, no email is sent out?
Can somebody spot any obvious steps that I might have missed? Or if somebody can suggest any debugging steps that might help to resolve the issue ?
Thanks in advance.
rogers42Hi Roger
Ok, tell me
1. You have a user like DBA and configurate this count for recive email?
2. When You try send email from Console You recive this email? Your prove server email
You should recive this mensagge
Este mensaje de correo electrónico de prueba de Oracle Enterprise Manager indica la configuración correcta de la dirección de correo electrónico y del servidor de correo. -
My question disappeare​d - need help with sending email - option is not there
can not send email from blackberry from my aol or hotmail accounts. I can send from my work email .???
Didn't disappear, it's right here, and answered.
no option to send email on aol or hotmail
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
I am using Apex 4.1 and need to send email based on certain condition.
I need to send email to two people A and B if APPUSER is based in APAC and otherwise send email to person C
I have the cursor that gets this information but do not know how to use this in the code for apex_mail.send
How do I apply the values returned from cursor to the below code ????
open mailcursor (this cursor returns A and B or just C )
apex_mail.send(
p_to => XXXXXXXXXX ( it has to send to two people or one based on value fetched from cursor ) ,
p_from => '[email protected]',
p_cc => NULL,
p_body => '***** This is a system generated message, please do not reply to this *****'||
chr(10) || utl_tcp.crlf || 'Please check for the data '||
chr(10) || utl_tcp.crlf || 'As Employee '||:P8_EMP_EMAIL||' has raised request on application '||
chr(10) || utl_tcp.crlf ||'Thanks',
p_subj => 'New Request Alert' );LKSwetha wrote:
I am using Apex 4.1 and need to send email based on certain condition.
I need to send email to two people A and B if APPUSER is based in APAC and otherwise send email to person C
I have the cursor that gets this information but do not know how to use this in the code for apex_mail.send
How do I apply the values returned from cursor to the below code ????
open mailcursor (this cursor returns A and B or just C )Please post code using <tt>\...\</tt> tags.
apex_mail.send(
p_to => XXXXXXXXXX ( it has to send to two people or one based on value fetched from cursor ) ,
p_from => '[email protected]',
p_cc => NULL,
p_body => '***** This is a system generated message, please do not reply to this *****'||
chr(10) || utl_tcp.crlf || 'Please check for the data '||
chr(10) || utl_tcp.crlf || 'As Employee '||:P8_EMP_EMAIL||' has raised request on application '||
chr(10) || utl_tcp.crlf ||'Thanks',
p_subj => 'New Request Alert' );As it says in the documentation<tt>apex_mail.send</tt> documentation for the <tt>p_to</tt> parameter:
Valid email address to which the email will be sent (required). For multiple email addresses, use a comma-separated list -
Need help with sending Emails... My AOL Account from Apple Mail
I have no problem receiving emails on this account through my apple mail setup but for some reason the sending mail continues to give me issues... it says that my "smtp.aol.com...." server is timed out. Why is it not able to send but is able to receive? what can i do to alleviate this situation?
Please advise!
Thank you!
<Post Relocated by Moderator>Alexisann, Welcome to the discussion area!
I'm not sure how you ended up in the "Discussions > AirPort > AirPort for Windows" discussion area. Your question has nothing to do with Apple's wireless base stations, wireless networking, nor Windows.
A much better place to put your question would be the "Discussions > Mac OS X v10.5 Leopard > Mail and Address Book" discussion area. -
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
Shri07According 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 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
Vidyadharhttp://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10057e20-2ca2-2d10-1b91-a1b9a8c8e634
-
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 -
Hi,
I have a requirement where I need to send mail to multiple users, for this I was following below link
Re: Email to Multiple Email Address through WF
Followed the above link and created 2 users with Notification Preference as MAILHTML and added to a role having email id as NULL and Notification Preference as MAILHTML . But I am not able to send mails rather it is going as notifications to the user Worklist.
Please help me to resolve this issue.
Regards,
PrateekHi, Andy,
Use the Oracle-supplied package utl_mail for sending email messages:
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/u_mail.htm#i1001258
It would be easier if you did not use dbms_output, or, if you really wanted to, do not call it directly. Write your own procedure (let's call it add_to_message) that concatenates a string to the end of a message that will ultimately be sent as an email. If you want to display the string using dbms_ouptut.put line as well as append it to the message, then call dbms_ouptut.put line inside add_to_message.
If you really must get the text from dbms_output, use dbms_output.get_line (or get_lines)
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_output.htm#i999346
Maybe you are looking for
-
Upgraded from tiger to snow leopard, can I go onto lion?
I have recently upgraded from tiger (I think) to snow leopard, can I go onto lion? I have a imac 17" 2 GHz Intel Core 2 Duo, 1 GB 667 MHz DDR2 SDRAM, I think I bought it in 2007, I don't use it for much but a bit of browsing storing photos and music
-
Select to a file (.CSV)
Hello people, I'm working with a table, and I whant, by a select, put all my result into a .csv file (after I'll transform in .xls) Then I'm trying to do this: XFILE := UTL_FILE.FOPEN('FOLDERNAME', 'Export.csv', 'W'); -- THIS IS THE HEADING UTL_FILE.
-
REQUEST: Crop Beyond Image and Fill "Background" with Choosable Color
One of the features I'm missing most is the ability to extend the crop tool rectangle beyond the image and have the "new" area filled with some choosable color (like the background color in the crop tool in Photoshop). This is especially useful when
-
Is any restrictions set by OEM/Clouds 12c on the number of clusters that can be created/managed under one domain? Regards
-
Hello, Currently working with mainstage and not very expert, my problem consists in finding the way to have an indepent volume on each patch, so that I can quickly adjust the volume of the entire patch without moving all single channel strip's faders