Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> T04- Send an email to a list of contacts

Task Description: Send an Email (e.g. a Marketing email or newsletter) to a list of contacts.

Solution
You can send text emails to your list of contacts using 'Send e-mail' feature provided by Automation Anywhere. See Solution - A.

If you want to use your own email client see Solution - B.

Solution - A

1.Create list of email addresses
  • Create List Variable from Tools Menu -> Variable Manager.
  • Make sure “User Variables” tab is selected. Click “Add New Variable” and in 'Type' selection select “List”. Type email addresses. Give an appropriate name to List Variable (say “MyContacts”) and save the List Variable.
2.Send text e-mail to a list of email addresses
  • Select 'Send email' command from the 'Internet' category and insert the list variable (MyContacts) in the 'TO' field. Screenshot 1
  • Keep this command in a Loop for List variable. Screenshot 2

OR Solution - B

1.Create list of email addresses
  • Create List Variable from Tools Menu -> Variable Manager.
  • Make sure “User Variables” tab is selected. Click “Add New Variable” and in 'Type' selection select “List”. Type email addresses. Give an appropriate name to List Variable (say “MyContacts”) and save the List Variable. Screenshot 3
2.Record task to send an email
  • Click on “Record” to Record a New Task.
  • Open Outlook Express (or any other mail program). Create a new mail. Insert your own email address in To field. Enter Subject, Message & send email. Once mail is sent, stop the recording & save the task.
3.Replace To email address with email list
  • In the Task Editor, identify the action where you typed in your email address. Double click or right click and select “Edit” Keystroke event.
  • Replace your email address with “MyContacts” variable and save the Keystroke event.
4.Loop through all email addresses
  • From “Commands” window on the left select “Conditions / Loops->Loop”.
  • Select List option and specify the email list variable you created. Screenshot 4
  • Now using Up/Down arrow key in the tool bar make the "Start Loop" is the 1st statement and “End Loop” is the last statement. Screenshot 5
 
When you run this task, it will re-play the create e-mail functionality and will repeat this procedure for all entries in your “MyContact List”.

Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

Screenshot 5:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
   Integration Pack
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 CUSTOMERS

 Customer List
 Case Studies
 Testimonies

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Developers
 

 GENERAL

 Partners
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks