Nathan_H_
4 years agoIdeator I
E-mail to Group Identity
Good day all. I am having a problem figuring out how to create a list of e-mail addresses based on the members of an Identity. I am trying to set up a C# Method to review an ItemType and send an e-...
- 4 years ago
Hi Nathan,
as far as I know email to Identity Groups should work OOTB. Check out this standard way to send an email from Aras:
// Get Identity that shall receive the Email
Item sentTo = inn.newItem("Identity", "get");
sentTo.setProperty("name", "Administrators");
sentTo = sentTo.apply();// Send Email
try
{
bool result = this.email(email_msg, sentTo);....
The above one uses a standard Email Message Item. I guess there are full samples somewhere in this forum.
Exception: If you use a full custom way to send emailing (cause of external mail server, etc.) you need to query the Identites by yourself...