Can you send an email to a distribution group if you have one in Outlook already setup? Or do I need to specify each email receipient seperately?
Professional Software Development Tools
Can you send an email to a distribution group if you have one in Outlook already setup? Or do I need to specify each email receipient seperately?
SELECT * FROM Users WHERE IQ > 0;
o rows Returned
Maybe I'm missing the point, but can't you just e-mail to the group name?
for example if group1@company.com contains 5 members, send the e-mail to that address.
here is code that I'm using to create e-mail to defined groups
e_mail = "group1@company.com"
I'm creating a file on the users desktop called email.lua
TextFile.WriteFromString(_DesktopFolder .."\\email.lua","File.OpenEmail(\"",false);
TextFile.WriteFromString(_DesktopFolder .."\\email.lua",e_mail,true);
When complete this sends the e-mail
Application.RunScriptFile(_DesktopFolder.. "\\email.lua");
hope this helps
Dave Wilson
Thanks for the reply. I was asking about a distribution group. A list of emails in a group. They may have different domains.
SELECT * FROM Users WHERE IQ > 0;
o rows Returned
Can you create a group to use for the e-mail? Maybe I don't understand what you are trying to do. I use groups that are maintained as a specific entity, which can be changed with new members and old ones removed. Years later the same group can have an e-mail send to it and the correct people recieve a copy. All of the e-mail group names that I have seen can contain any valid address, even if they are not is the same domain.
Someone would have to maintian the group after it is created for your use, or if you can use an existing group even better.
Let me know if I'm not following what you are trying to do.
Dave Wilson