![]() |
Conditional Email Sending - Event Date: 19 Oct 2006 - 19 Oct 2006 |
Post Reply
|
| Author | |
Stephen
Admin Group
Joined: 21 Oct 2005 Location: Stoke on Trent Posts: 1392 |
Post Options
Quote Reply
Calendar Event: Conditional Email SendingPosted: 19 Oct 2006 at 2:01pm |
|
Version 1.8 of Email2Db can now be set to send outgoing emails based on custom conditions.
On the Outgoing Email Message editor - create your email as normal. Then click the Conditional Send button. Enable the Conditional Send option and click the Edit button. The script editor will open. Here you can construct a script that sets the 'Email2DBSend' flag to True or False. For example, suppose you have an extracted field called 'Customer'. You want to send a 'thank you' email only if the customer is Microsoft. You would set the Conditional send script to: Sub Main If FIELDS_Value("Customer") = "Microsoft" Then Email2DBSend = True Else Email2DBSend = False End Sub When Email2DB processes the incoming email it will extract the fields. It will then send any outgoing emails. It will check any Conditional send scripts and only send those emails which have their Email2DBSend flag set to True. Your Conditional send script can be as complex as you want. Steve |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |