. . .

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 *| .. |* .

images/download/attachments/10717159/image2015-6-22-16_43_34.png

Events

New customer signup

Description

Is sent when a new customer has signed up (for internal notification)

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • CUSTOMER_COMPANYNAME = customers company name

  • CUSTOMER_PHONE = customer phone number

  • CUSTOMER_ZIP = customers zip number

  • CUSTOMER_COUNTRY = customers country name

  • CUSTOMER_SOCIALMEDIA = information about social media login

Template name

aom-newcustomer

Customer email verification

Description

Is sent when a customer has confirmed his email address

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

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

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • URL = Confirmation link

  • DAYS_LEFT until account is closed

Template name

aom-verifyemail

Customer password reset

Description

Is sent when a customer has forgot his password

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • RESET_URL = URL to reset the password (token based, a new password is displayed after a redirect)

Template name

aom-customerpasswordreset

User password reset

Description

Is sent when a app user has forgot his password

Merge tags

  • RESET_URL = URL to reset the password (token based, a new password is displayed after a redirect)

  • USER_NAME = the name of the user which requested this password-change

  • APP_NAME = the name of the app for which the reset was requested

Template name

aom-userpasswordreset

Application Upgrade order

Description

Is sent when a new payment is created

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

Template name

aom-order

Application Downgrade warning

Description

Is sent when payment is going to be ending in the next 2 days

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • INVOICE_NO = Invoice number as reference

  • APP_NAME = app name

Template name

aom-downgradewarning

Application Downgrade warning (voucher payment)

Description

Is sent when vocher code gets invalid in the next 2 days

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

Template name

aom-downgradewarningvoucher

Application Downgrade

Description

Is sent when payment was not extended (app is not paid anymore)

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

Template name

aom-downgrade

Application Downgrade (voucher payment)

Description

Is sent when voucher was not extended (app is not paid anymore)

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

Template name

aom-downgradevoucher

Application Trial Reminder Message

Description

Is sent when app will expire in a few days

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

  • DAYS_LEFT until app will expire

  • TRIAL_DAYS whole number of available trial-days

Template name

aom-trialreminder

Application Trial Expiration Message

Description

Is sent when the trial has been expired

Merge tags

  • CUSTOMER_NAME = customers account name

  • CUSTOMER_EMAIL = customer email address

  • APP_NAME = app name

  • TRIAL_DAYS whole number of available trial-days

Template name

aom-trialexpired

* link only available in Enterprise Documentation