Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > IT Automation > T90  

T90- Automate Email Processing to distribute incoming emails to departments.

Task Description

Automate email processing by getting all unread messages from the server and distributing them to different departments.

Test File T90.atmn

Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks.
Solutions
1 Create new task

  • Click Tools -> Task Editor.

Email Automation
Screenshot 1

Variable Manager
Screenshot 2

Variable Manager
Screenshot 3

Task Editor
Screenshot 4

Task Editor
Screenshot 5
2 Loop for all messages on server

  • Click on Email Automation -> Get All Messages command.
  • Select status. Select ‘All’ to get all messages. Select ‘Read’ to get only read messages and select ‘Unread’ to get only unread messages.
  • Enter the server details like hostname, user id and password.
  • Select message format either HTML or Plaintext.
  • Specify a folder to save the attachment.
  • Save the command.
3 Distributes mail to different departments
  • Insert ‘If Variable’ command to check the value of $Email Subject$ variable if it contains the word ‘Order’.
  • Insert ‘Send Mail’ command to send the mail to Sales department, if the above condition is true.
  • Insert your user id in ‘from’ text box.
  • In ‘to’ text box, insert the mail address of Sales department.
  • Insert $Email Subject$ in Subject and $Email Message$ in Message.
  • Save the command.
  • Insert ‘Delete Message’ command if you want to delete the message from server.
  • Repeat above steps to distribute the mails to marketing and support departments.
4 Set trigger on task
  • Save the task and close the editor.
  • Click on Trigger tab.
  • Select Email Message from trigger type.
  • Enter the details like hostname, user id, password and time interval to check for new mails.
  • Save the trigger.
  • When a new mail arrives on this server for the specified user id, the task will be executed.
 
When you run this task, it loops through the emails based on Email subject and sends that email to the concerned department.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys.
- Jack Greenberg

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free Trial Automation Software - Buy Now