HOW TO: Change your Notification Email Settings

All notifications sent out to both you and your customers are sent via Mailgun using our defaults.

In some cases, you might want to adjust these settings. You can do this.

More information about Mailgun: Transactional Email API Service For Developers | Mailgun


  1. First, connect to your host (typically via SSH).

  2. Edit this file:

sudo nano /batm/config/mail

The default contents looks something like this:

smtp_tls=true smtp_host=smtp.mailgun.org smtp_port=587 smtp_from=robot@generalbytes.com smtp_to=robot@generalbytes.com smtp_username=postmaster@mgun.generalbytes.com smtp_password=5e9ddf3c60ef2f516f7404df6d59d5bf

Change your “From” field in outgoing emails:

  • replace robot@generalbytes.com on the smtp_from= line with your preferred email.

To switch to your own Mailgun account:

  • change these fields (as provided by Mailgun):

    • smtp_from

    • smtp_to

    • smtp_username

    • smtp_password


Save & exit (Ctrl+X and “Y”).

Copyright © 2020-2024 General Bytes USA LLC