Can you use the SMTPSendMail function with email groups? - not just individuals. We have a groups of staff called Information Systems.
I tried using the syntax below using Information Systems as my recipients but nothing was delivered.
"SMTPSendMail>recipients,server,from_address,from_name,subject,body,attachments"
Thanks
Using the SENDSMTPSendMail command with Email "groups&q
Moderators: Dorian (MJT support), JRL
Where is the Information Systems email defined? Its not in Macro Scheduler.
You'll need to provide real email addresses. When I'm sending something to a group of people I usually predefine the subject and message then create a line for each individual. It may seem like extra effort but its a script and you usually only set it up once then use it multiple times. Perhaps changing the subject and message.
Let>server=mail.myserver.org
Let>from_address=[email protected]
Let>from_name=zeke
Let>subject=Test email distribution
Let>body=Greetings,%CRLF%This is only a test.%CRLF%%CRLF%Thank You.
Let>attachments=C:\[path]\File.doc
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
Hope this helps,
Dick
You'll need to provide real email addresses. When I'm sending something to a group of people I usually predefine the subject and message then create a line for each individual. It may seem like extra effort but its a script and you usually only set it up once then use it multiple times. Perhaps changing the subject and message.
Let>server=mail.myserver.org
Let>from_address=[email protected]
Let>from_name=zeke
Let>subject=Test email distribution
Let>body=Greetings,%CRLF%This is only a test.%CRLF%%CRLF%Thank You.
Let>attachments=C:\[path]\File.doc
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
SMTPSendMail>[email protected],server,from_address,from_name,subject,body,attachments
Hope this helps,
Dick