Send email to each member of a group
How can I send a mail to each member of a group with the Email activity? It seems I can only send the mail to the grup address...
Can you please elaborate what you want to achieve.
Similar Messages
-
BPM 11g - FYI task to send a copy to each member of a group
In BPM 11g I am trying to send an FYI task to each member of a group. They should each get their own copy of the task so that it does not get removed from their inbox when the first person dismisses it.
I was not successful in getting multiple copies of the task using FYI type even when multiple users were defined in the participant list. So, I changed the participant type to parallel. This was successful in sending mulitiple copies when I defined a participant list of hard coded users, but the process stopped and waited until at least one of the users dismissed it (so the FYI only behavior changed, but I can get around that with a parallel process flow).
Still using parallel participant type, I have been trying to change from my hard coded list of users to a security group of users. If I set assignment to the group, only one task is created for the group. So, I have been trying to assign to users and use the expression ids:getUsersInGroup('LoanAnalyticGroup') to get the users in this group. I have tried several approaches to this expression but can't get it to work.
Has anyone else successfully implemented sending tasks to all members of a group in 11g? Any advice?Hi all,
We are also facing same issue.
The function ids:getUsersInGroup doesnt return value.
Even i imported identityservice.xsd and is_config .xsd and created variable using the *"users"* element of identityservice.xsd schema and assigned the value to this variable.
But Audit always says
*"XPath query string returns multiple nodes.*
*According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query should not return multipe nodes.*
*Please check the BPEL source at line number "72" and verify the part and xpath query "*
Help me to resolve this issue. -
Select one record for each member of the group
Hi,
am having a table where in i will be having data for so many group members. i need to fetch data for a particular group members whose number of rows of data may be more in numbers (but i want only one row of data for each member of the group)
here is the query for fetching all rows of data
select RI.RESOURCE_NAME,TR.MSISDN,TR.ADDRESS1_GOOGLE, TR.MSG_DATE_INFO, FROM TRACKING_REPORT TR, RESOURCE_INFO RI
WHERE TR.MSISDN IN (SELECT MSISDN FROM RESOURCE_INFO WHERE GROUP_ID ='1' AND COM_ID=2 ) AND RI.MSISDN=TR.MSISDN
order by MSG_DATE_INFOoutput of this query is...
>
ddd 12345 13-Mar-10 19:43:03
eee 54321 Tamil Nadu, India 13-Mar-10 19:39:48
ddd 12345 13-Mar-10 19:32:58
eee 54321 Tamil Nadu, India 13-Mar-10 19:30:07
ddd 12345 13-Mar-10 19:23:08
eee 54321 Tamil Nadu, India 13-Mar-10 19:20:14
fff 98765 13-Mar-10 19:19:22
ddd 12345 13-Mar-10 19:13:01
eee 54321 Tamil Nadu, India 13-Mar-10 19:09:50
ddd 12345 13-Mar-10 19:02:56
eee 54321 tn,ind 13-Mar-10 18:59:49
ddd 12345 13-Mar-10 18:53:08
eee 54321 tn,ind 13-Mar-10 18:49:50
ddd 12345 13-Mar-10 18:42:56
eee 54321 tn,ind 13-Mar-10 18:39:50
ddd 12345 13-Mar-10 18:33:00
eee 54321 tn,ind 13-Mar-10 18:29:50
ddd 12345 13-Mar-10 18:22:54
eee 54321 tn,ind 13-Mar-10 18:19:50
ddd 12345 13-Mar-10 18:12:56
eee 54321 tn,ind 13-Mar-10 18:09:50
ddd 12345 13-Mar-10 18:02:54
eee 54321 tn,ind 13-Mar-10 18:00:02
fff 98765 Tamil Nadu, India 13-Mar-10 17:59:26
fff 98765 Tamil Nadu, India 13-Mar-10 17:54:26
ddd 12345 13-Mar-10 17:52:56
eee 54321 tn,ind 13-Mar-10 17:49:50
fff 98765 Tamil Nadu, India 13-Mar-10 17:49:25
fff 98765 Tamil Nadu, India 13-Mar-10 17:44:26
ddd 12345 13-Mar-10 17:42:56
>
from this output i want only one latest record for each member(ddd,eee,fff). i.e
>
ddd 12345 13-Mar-10 19:43:03
eee 54321 Tamil Nadu, India 13-Mar-10 19:39:48
fff 98765 13-Mar-10 19:19:22
>
how to modify the query to achieve this...?Hi,
This is not giving the result which i want...
table is
CREATE TABLE TRACKING_REPORT
ID NUMBER,
MSISDN NUMBER(12) NOT NULL,
X NUMBER(15,8) NOT NULL,
Y NUMBER(15,8) NOT NULL,
TIME_STAMP DATE,
MSG_DATE_INFO DATE DEFAULT sysdate,
ADDRESS1_GOOGLE VARCHAR2(400 BYTE),
ADDRESS2_GOOGLE VARCHAR2(400 BYTE),
ADDRESS_MLINFO VARCHAR2(400 BYTE),
REQ_ID VARCHAR2(30 BYTE)
CREATE TABLE RESOURCE_INFO
RESOURCE_ID NUMBER,
MSISDN NUMBER,
RESOURCE_NAME VARCHAR2(25 BYTE),
ADDRESS VARCHAR2(100 BYTE),
COM_ID VARCHAR2(20 BYTE),
ADMIN_ID NUMBER,
TIME_STAMP DATE DEFAULT SYSDATE,
GROUP_ID NUMBER
) -
Can we send email to a member as when he is added to the Oppty Team?
Can we send email to a member as when he is added to the Oppty Team without any condition by picking the email id from the User object?
I mean just send an email to the new user when it is created in the oppty team
I think about using workflow,record type 'Opportunity Team', trigger event 'When new record save'
but the send to email only have 2 options, one is Specific user,the other is specific email address, no send to email id which come from the user object.
do you have any suggestion?
Thanks
Amanda
Edited by: user12170878 on Feb 1, 2010 7:08 AMI try to use JoinFieldValue('<User>',[<UserId>],'<EMailAddr>') in the Specific Email Address, no matter the new created user or the user which I log in, both email Account don't receive any email
Regards
Amanda -
How to send emails from an iPad to a group set up in contacts?
Apple Contacts "groups" show up in iOS7 contacts on my iPad, synced from iMac.
But I cannot get the group list of contacts to enter automatically into "to" on the iPad as happens automatically on the desktop iMac. So the "groups" on the iPad really doesn't have any functionality other than giving one a list of who is in a group per my assignment on my iMac.
So I end up entering manually each individual in a group in the "to" line when I want to send an email to a group from my iPad. On the iMac, selecting a contacts group will automatically list the addresses of the people I have put into a group. A known problem, and any solution?Thanks. So matters haven't changed. Ipad and iohone systems still not make use of the groups created in OSX Contacts, although one can "see" the groups synced through iCloud. They just do not function as real distribution lists in Mail.
With the Mailshot app, one creates Mailshot groups with Mailshot group name. It's as smooth as a work around can get.
Silly that Apple iOS folks never got around to connecting the contact groups now listed in iOS Contacts through iCloud syncing to also be fully functional in iOS Mail for the purpose of group emailing. -
Sending emails for each record from tabular form
I currently have a requirements management tabular form that used to update or set job requirements inactive and/or covered.
We're a staffing agency and have salesmen across the country that will use this tabular form to quickly manage their requirements to mark them as covered or inactive if the position has been filled.
The multi-row update works fine since the form was built using the wizard, but I need to be able to send out an email for each record that's been marked as covered in the tabular form.
How can this be accomplished?
I'm running Oracle 12c and Apex 4.2.0 on a windows 2008 R2 server.
Thanks again.Greg,
I took a different approach from what I originally suggested. Since the tabular form is displaying only reqs that eligible to be covered, I chose to construct a process that would read the database after the reqs table was updated. The code should find recent reqs covered by the salesman and then send out an email for each covered req.
Since I cannot see the data structure of your reqs table, I guessed the data type and size for the local variables in the DECLARE section, you many need to adjust these.
Give this code a shot and let's see where we get. By the way, the naming conventions of your database are in need of naming standards.
The process needs to occur After Submit and after the Automatic Row Processing (DML) process that is updating the reqs table. Make sure that the process sequence number is greater than the Automatic Row Processing (DML) sequence number.
DECLARE
l_id NUMBER;
l_index NUMBER;
l_vc_arr2 apex_application_global.vc_arr2;
lc_message VARCHAR2 (4000);
l_pkey NUMBER;
l_date_wrote DATE;
l_sales VARCHAR2 (100);
l_client VARCHAR2 (100);
l_job VARCHAR2 (100);
l_1or2 VARCHAR2 (100);
l_rate NUMBER;
l_notes VARCHAR2 (4000);
BEGIN
FOR c1
-- Retrieve reqs primary key that have been covered
-- in the last 2 seconds by the salesman
IN (SELECT pkey
INTO l_pkey
FROM reqs
WHERE SYSDATE < (date_wrote + 1 / 46200)
AND active = 'Active'
AND reqs.sales = :p12_sales
AND covered IS NOT NULL)
-- Send an email for each req that has been covered
LOOP
SELECT c1.date_wrote,
c1.sales,
c1.client,
c1.job,
c1.notes,
c1.who,
c1.1or2,
c1.rate
INTO l_date_wrote,
l_sales,
l_client,
l_job,
l_notes,
l_who,
l_1or2,
l_rate
FROM reqs
WHERE pkey = l_pkey;
lc_message := 'Date Written :' || l_date_wrote || CHR (10);
lc_message := lc_message || 'Sales :' || l_sales || CHR (10);
lc_message := lc_message || 'Client :' || l_client || CHR (10);
lc_message := lc_message || 'Position :' || l_job || CHR (10);
lc_message := lc_message || '#1 or #2 :' || l_1or2 || CHR (10);
lc_message := lc_message || 'Rate :' || l_rate || CHR (10);
lc_message := lc_message || 'Notes :' || l_notes || CHR (10);
l_id :=
apex_mail.send (
p_to => '[email protected]',
p_from => 'DO_NOT_REPLY@REQS',
p_subj => ''
|| l_who
|| ' Has Covered '
|| l_job
|| ' at '
|| l_client
|| CHR (10),
p_body => lc_message);
COMMIT;
apex_mail.push_queue ();
END LOOP;
END;
Jeff -
Send email to each message selected using applescript
Hi,
I have a script which will send a single email to a number of recipients but I wanted it to send individual emails to the selected messages. I also wanted the script to extract the first name from the sender field. The problem I've had with that is the sender field reads something like "Joe Blogs via PayPal" I'd be happy with "Joe Blogs" if I could remove the "via PayPal". I found a script to remove words from text
set replyName to {}
set replyNametext to ""
set replyName to "Joe Blogs via PayPal"
set haystack to replyName
set needle to " via PayPal"
set replacement to ""
search_replace(haystack, needle, replacement)
on search_replace(haystack, needle, replacement)
set old_delimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to needle
set temp_list to every text item of haystack
set AppleScript's text item delimiters to replacement
set return_value to temp_list as text
set AppleScript's text item delimiters to old_delimiters
return return_value
end search_replace
But I can't get that to work in the main script.
This is my main script:
set thesenders to {}
set thesenderstext to ""
set replyName to {}
set replyName to ""
tell application "Mail"
set themessage to the selection
repeat with i from 1 to the number of items in themessage
set thesender to (extract address from (the reply to of (item i of themessage)))
set replyName to (extract name from (the reply to of (item i of themessage)))
if thesenders does not contain thesender then
set thesenders to {thesender}
set replyName to {replyName}
end if
end repeat
set AppleScript's text item delimiters to ", "
set thesenderstext to thesenders as rich text
set AppleScript's text item delimiters to ""
set newMessage to make new outgoing message
set theSubject to "instructions"
set theContent to "Dear " & replyName & ",
Thanks so much for your email. ...
Regards ..."
set newMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
set theAttachment1 to POSIX file "/Users/Jim/qrcode.13177607.png"
set theAttachment2 to POSIX file "/Users/Jim/qrcode.13177658.png"
set theAttachment3 to POSIX file "/Users/Jim/qrcode.13177665.png"
tell newMessage
set visible to true
make new to recipient with properties {address:thesenderstext}
make new attachment with properties {file name:theAttachment1} at after the last paragraph
make new attachment with properties {file name:theAttachment2} at after the last paragraph
make new attachment with properties {file name:theAttachment3} at after the last paragraph
end tell
set toAddress to thesenders as rich text
tell newMessage
make new to recipient with properties {address:toAddress}
-- send
end tell
activate
end tell
I realise this is probably a bit of a Frankenstein monster of a script which probably contains lots of redundant features but I'm a total novice to scripts. Please could you help.
Thanks.
JimHi all,
We are also facing same issue.
The function ids:getUsersInGroup doesnt return value.
Even i imported identityservice.xsd and is_config .xsd and created variable using the *"users"* element of identityservice.xsd schema and assigned the value to this variable.
But Audit always says
*"XPath query string returns multiple nodes.*
*According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query should not return multipe nodes.*
*Please check the BPEL source at line number "72" and verify the part and xpath query "*
Help me to resolve this issue. -
How I can send emails using the client object model?
I have tried this, but I always get an exception with error message "A recipient must be specified.":
string webUrl = "http://sharepoint.example.com/";
EmailProperties properties = new EmailProperties();
properties.To = new string[] { "[email protected]" };
properties.Subject = "Test subject";
properties.Body = "Test body";
ClientContext context = new ClientContext(webUrl);
Utility.SendEmail(context, properties);
context.ExecuteQuery(); // ServerException thrown here
context.Dispose();
Server stack trace:
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_Client(EmailProperties properties)
at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeStaticMethod(String typeId, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStaticMethod(XmlElement xe)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
msdn link: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.utilities.utility.sendemail.aspxhi
if you will check the code of SendEmail_Client(EmailProperties properties), you will find that it may only send emails to internal users. May be it was made intentionally in order to prevent spamming from client code. So let's see:
internal static void SendEmail_Client(EmailProperties properties)
if (properties.To.Count == 0)
throw new SPException(SPResource.GetString(web.LanguageCulture, "SendEmailInvalidRecipients", new object[0]));
AddressReader func = null;
using (MailMessage mm = new MailMessage())
func = delegate (MailAddress a) {
mm.To.Add(a);
ResolveAddressesForEmail(web, properties.To, func);
new SmtpClient(SPAdministrationWebApplication.Local.OutboundMailServiceInstance.Server.Address).Send(mm);
I.e. it adds recipient in ResolveAddressesForEmail() method. Now let's check this method:
private static void ResolveAddressesForEmail(SPWeb web, IEnumerable<string> addresses, AddressReader func)
if (addresses != null)
foreach (string str in addresses)
if (string.IsNullOrEmpty(str))
continue;
SPPrincipalInfo info = ResolvePrincipal(web, str, SPPrincipalType.All, SPPrincipalSource.All, null, false);
if ((info != null) && (info.PrincipalId > 0))
if (!string.IsNullOrEmpty(info.Email))
try
func(new MailAddress(info.Email, (info.DisplayName != null) ? info.DisplayName : "", Encoding.UTF8));
catch (FormatException)
continue;
if ((string.IsNullOrEmpty(info.Email) && info.IsSharePointGroup) && web.DoesUserHavePermissions(SPBasePermissions.BrowseUserInfo))
SPGroup byNameNoThrow = web.SiteGroups.GetByNameNoThrow(info.LoginName);
if (byNameNoThrow == null)
continue;
foreach (SPUser user in byNameNoThrow.Users)
if (!string.IsNullOrEmpty(user.Email))
try
func(new MailAddress(user.Email, (user.Name != null) ? user.Name : "", Encoding.UTF8));
continue;
catch (FormatException)
continue;
continue;
I.e. at first it tries to resolve user using ResolvePrincipal() method. If it is not resolved (info == null) email is not sent. But if it is - it first checks that email is not empty. If it is not - it adds email to the MailMessage.To recipients list. If
it is empty it checks whether the principal info represents Sharepoint group. If yes - it will send email to each member of the group.
So it may be so that you try to send email to external user (which is not supported according to the code above), or resolved principal doesn't have email specified.
Blog - http://sadomovalex.blogspot.com
CAML via C# - http://camlex.codeplex.com -
Send Email to both (home) and (work)
I would like to send to my contact list in Address book both their (home) and (work) address in one import, and it is only allowing me to highlight one or the other.
Is it possible.
The Best,
SethSeth:
This is not something I have done, and I am just thinking out loud. It seems to me that you will need to have double entries in address book for each member in the group, one entry with the home address, and the second with the business address. Then create two separate groups with the respective entries from Address Book, home and business. Then when you type in the name of the group, the addresses in each group, home and business, should fill in.
There may be a better way to do this, and if I find a better answer, I will get back to you.
cornelius -
Outlook add-in breaks sending emails
I'm loving my new iPhone 6. But my newly installed iCloud add-in for Outlook 2010 on my Windows 8.1 PC is causing some difficulties.
I can't send email, most of the time. This problem started when I installed iCloud, and stopped when I disabled the iCloud plug-in in Outlook. It's random; some emails I can send, but most, not. And, I'm not the first to have this problem and it's been going on for years, apparently. See http://community.spiceworks.com/topic/168384-outlook-2010-messages-not-sending-i n-outbox and http://aerobatgeek.blogspot.com/2013/08/outlook-when-i-send-email-message-it.htm lAre your groups email enabled?
That was the problem. Thanks. -
BT Yahoo issue: cannot send emails to predefined a...
Hello
I have recently had issues sending emails to a pre defined address group from my bt yahoo account via Outlook express. Previously i had 2 groups set up with less than 100 email addresses (81 and 76) and this has worked fine for the past few years. However now it displays an error stating 'one' of the recipients is not valid.
I spoke to online tech help yesterday who confirmed that as part of the ongoing migration the limit has been reduced (temporarily) to 50 named recipients. I have reduced the groups down to below 50 but still recieve the same message. After calling BT they didn't really have any suggestions other than 'It's an issue with Outlook so a Microsoft problem'
I have not applied any patches to Outlook express (it's quite old) or changed any settings (such as SMTP authentication) so from my perspective it seems like a problem related to the migration by BT of bt yahoo accounts?
Does anyone have any information of this issue and can assist?
ThanksCan you still send emails, it's just the number that is the problem?
-
Unable to send email-ends up in my outbox
Apple mac desktop-OSX 10.9.4
For the first time in years I have been unable to send emails. Each time they end up in my outbox. Any suggestions?Hello brianfromhorsham,
The article linked below details some useful troubleshooting steps and information that can help get your messages sending again.
OS X Mail: Troubleshooting sending and receiving email messages
http://support.apple.com/kb/TS3276
Cheers,
Allen -
When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all. Any help is greatly appreciated.
Hey Grupo Castillo,
Thanks for the question. You can actually configure this behavior from Mail preferences:
1. Choose Preferences from the Mail menu.
2. Click Composing.
3. Deselect the checkbox for "When sending to a group, show all member addresses".
When you send an email to the group, only the groups name will be seen.
Mac OS X: Mail - How to Hide Address Book Group Member Names When Sending an Email
http://support.apple.com/kb/TA21082
Thanks,
Matt M. -
Can't send email to an icloud group in address book
Hi
I have set up some groups in icloud. I called one of these groups "Test", with only myself as a group member. In address book, when I right click to send email to "Test", it fires up a new email with the word Test in the email "to" field. If I try to send the email I get the error message "Test" doesn't seem to be a valid email address. It doesn't seem to be filling in the group email addresses in the "to" field.
Am I doing something wrong?, or is this a known or unknown bug?
I have other groups set up but I obviously don't want to send test emails out hence the test group "Test"
Also when I edit the distribution list and right click the group name, "send email to "Test" is greyed out.
Many thanks in advanceBump
-
1.My emails from the same person are grouped together, how do I undo this so that each email stands on it's own?
2.Currently my emails are grouped together if the subject is the same, how do I undo this?
3.My emails are "folded up", with tabs like "See more" - how do I undo this? - I want to see the full email at once without having to click multiple times in the email on "show more" etc.
4.When I send an email to some one, a copy of that email is sometimes sent to me?? - this confuses my and make me think I by accident sent it to myself, but when I check it in the SENT box, it the correct recipient's name was used. How to fix this mystery?
Please help, I am not good with computers so you will have to keep your answer simplictic or in steps.
Thanks!Click the View menu in the Mail menu bar and uncheck Organize by Conversation.
Maybe you are looking for
-
JSP drop down problem; iam confused
Hi All, can anybody help me out in creating this jsp page. Iam confused what to do and where to start building this page. Here is what i need to do : This new page will have two list boxes side by side and will have two arrows in between. In the left
-
Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.
-
Language Setting for - Hyperion Smart View for Office
Hi, Here's a scenario I need to find an answer to. 1. We have Essbase system 9 installed on a machine named: USESSSRVR and here the ESSLANG environment variable is set to "English_UnitedStates.US-ASCII@Binary". 2. We build two Unicode cubes, one for
-
I am trying to create an excise invoice under no bond, system giving a message No Enough balance for utilization. Where as there is sufficient balance available in rg23a registers We are getting this error when i am trying to save the document Pls do
-
Hi, Some tables in my database Oracle 10gr2 are UNDEFINED; SQL> desc DBA_HIST_ACTIVE_SESS_HISTORY; Name Null? Type SNAP_ID NUMBER DBID NUMBER INSTANCE_NUMBER NUMBER SAMPLE_ID NUMBER SAMPLE_TIME UNDEFINED SESSION_ID NUMBER What does this mean? Adith