The Inbound Script Wizard

With the Inbound Script Wizard you will be able to:

· Archive e-mail

· Send auto replies

· Route e-mail

· Process Web forms into a database

The Inbound Wizard includes the following dialogs that you can configure:

Dialog 1. Email fields

Each e-mail contains a To, From, Subject, CC and Body Text field. You can specify which fields you wish Emailrobot to use. You can also add your own custom fields. For example, if you have a website with an enquiry form that allows the customer to specify a country or a telephone number, you can add the fields in the first dialog and use it for analysis later on in the script.

To do this, you must have created a Web form that specifies the phone number and country name in the script, and precedes it with a 'Field Identifier', such as 'phone:' or 'country:' Using this Field Identifier, Emailrobot will find the number and country name, and will be able to use it as a field.

For more information on creating Web forms see the Appendix 'Setting up a Web form on your server'.

Dialog 2. Conditions

Here you must specify which e-mails you wish Emailrobot to process.

For example, if you want to process e- mail sent to register@yourcompany.com, you must select 'If', 'Email To:', 'is equal to' and enter 'register@yourcompany.com'.

You can add more conditions each additional condition must be either AND (in this case the condition must be met also) or OR (Either of the conditions must be met).

Dialog 3. Archive e-mail

This dialog allows you to archive the e-mail into an ODBC data source. In the 'Database Source' you need to specify the database source, and in 'Table' the table in Access. If you do not wish to archive e-mail, uncheck the box and click 'Next'. You will then go on to Dialog 5.

Dialog 4. Specify fields

If you have specified to archive e-mail into a database, you will need to indicate which e-mail fields must be stored in which database fields. To do this, check the e-mail field and then select the appropriate field. Repeat this for all fields you wish to archive.

Dialog 5. Send auto reply

You can choose whether to send the sender of the e-mail and automated reply. This automated reply can be personalized, simply by inserting a field name, for example the To: field in the reply of the message. For example, you could use the following auto reply message:

Dear [*Email.From*],

Thank you for your query regarding [*Product*]. Your request has been assigned a tracking no. and will be dealt with in the speediest manner possible.

If you do not want to send an auto reply, uncheck the box and click 'Next'. You will then go to Dialog 7.

Dialog 6. Auto reply options

If you have specified to send an auto reply, you must type in the e-mail subject, which will appear in the subject line of the message, and the reply to address.

You can also delay sending the auto reply, by using the option 'Send after <number> hours'. In addition you can attach a file to the auto reply.

Dialog 7. Route the e-mail

If after processing the e-mail, you want the mail to be forwarded to a particular mailbox or person, enter the e-mail address where the mail has to be redirected to. If you do not want to forward the mail, uncheck the box and click 'Next'.

Dialog 8. Description

Here you must give the script a description and enter the file name in order to save the script in the Prgram Files\ERobot\scripts\files directory. You can also specify whether Emailrobot should 'Add comments in the script file' (this is only useful if you plan to edit the scripts at a later stage), or 'Hold mail in queue for previewing'. This last option will allow you to preview e-mail before it is sent out. You can preview the e-mail in the 'Emailrobot Queue view utility'. Remember that no e-mail will be sent out before you preview it and send it out!

After creating the script, you will be able to view your settings an change them if necessary. After you click 'Finish', the 'Task Properties' dialog will automatically pop up. Here you can specify when the Emailrobot should run your script (=Task). You can specify to run it manually (from the menu 'Task', 'Run now'), each time e-mail is downloaded, or at scheduled intervals.

After configuring this option, click 'OK'. Your task will now be listed in the main window of the Emailrobot Task Manager.

If you later wish to edit the script, you can do so by selecting it in the 'Emailrobot Task Manager' and choosing 'Edit script' from the 'Task' menu. If you wish to remove it, choose 'Remove script'.


(Contents)(Previous)(Next)