Emailing
ApiOmat sends eMails automatically during several events. By default, all emails are sent plain text from the @apiomat.com domain in the English language, but you can customize these emails using Mandrill.
The following paragraph lists all events when ApiOmat sends emails. If you want to use Mandrill, set the api key in your yambas.conf:
mandrillApiKey=3TW4CPxHVF2aW1234wn4hh
In your Mandrill account, go to Outbound -> Templates and add a new template for each of the events below using the exact template name in the table. Please fill out all Template Defaults, since ApiOmat won't send default values by its own.
You can use the merge tags stated in the table for each event in the mail text if you surround the tag with *| .. |* .
Events
New customer signup
|
Description |
Is sent when a new customer has signed up (for internal notification) |
|
Merge tags |
|
|
Template name |
aom-newcustomer |
Customer email verification
|
Description |
Is sent when a customer has confirmed his email address |
|
Merge tags |
|
|
Template name |
aom-confirm |
Customers email address validation reminder
|
Description |
Is sent each day after a customer signs up; stops when he clicks on the confirmation link. If not confirmed ten days after, customer gets locked. |
|
Merge tags |
|
|
Template name |
aom-verifyemail |
Customer password reset
|
Description |
Is sent when a customer has forgot his password |
|
Merge tags |
|
|
Template name |
aom-customerpasswordreset |
User password reset
|
Description |
Is sent when a app user has forgot his password |
|
Merge tags |
|
|
Template name |
aom-userpasswordreset |
Application Upgrade order
|
Description |
Is sent when a new payment is created |
|
Merge tags |
|
|
Template name |
aom-order |
Application Downgrade warning
|
Description |
Is sent when payment is going to be ending in the next 2 days |
|
Merge tags |
|
|
Template name |
aom-downgradewarning |
Application Downgrade warning (voucher payment)
|
Description |
Is sent when vocher code gets invalid in the next 2 days |
|
Merge tags |
|
|
Template name |
aom-downgradewarningvoucher |
Application Downgrade
|
Description |
Is sent when payment was not extended (app is not paid anymore) |
|
Merge tags |
|
|
Template name |
aom-downgrade |
Application Downgrade (voucher payment)
|
Description |
Is sent when voucher was not extended (app is not paid anymore) |
|
Merge tags |
|
|
Template name |
aom-downgradevoucher |
Application Trial Reminder Message
|
Description |
Is sent when app will expire in a few days |
|
Merge tags |
|
|
Template name |
aom-trialreminder |
Application Trial Expiration Message
|
Description |
Is sent when the trial has been expired |
|
Merge tags |
|
|
Template name |
aom-trialexpired |