Sharing insights on tech, life, food, education, and personal experiences.

Configuring Amazon SES with Mantis Bug Tracker for Email Notifications

So you deployed one of best bug tracker system in your ec2 instance and was wondering how to configure its email setting with SES ? After Amazon Introduced SMTP accounts, things that were so complicated become so easier.  Every application that supports SMTP connection method made it possible and compatible to be used with Amazon SES.

But things are not simple with Mantis Bug Tracker Configuration because the basic configuration file does not contain the necessary attributes needed for configuring Amazon SES SMTP email or Google SMTP Accounts. They are just enough for an ordinary SMTP settings.  So after doing some research over a couple of forums and user tryouts, the following configuration listed below works

# — Email Configuration —
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;  #For SMTP Method
$g_smtp_host = ’email-smtp.us-east-1.amazonaws.com’; #Your SES SMTP Host
$g_smtp_connection_mode = ‘tls’; #It is mandatory for SES and Gmail SMTP
$g_smtp_port = 587; #For some Reason only this port was working in SES
$g_smtp_username = ‘SMTP Username’; # Your SES SMTP Username
$g_smtp_password = ‘SMTP Password’; # Your SES SMTP Password
$g_administrator_email = ’[email protected]’; #Email displayed at footer (Must be an approved sender list in SES)
$g_webmaster_email = ’[email protected]’; #Verified SES Sender Email
$g_from_email = ’[email protected]’; # From Address (Verified SES Sender Email)
$g_return_path_email = ’[email protected]’; # the return address for bounced mail
$g_from_name = ‘From Name’;
$g_enable_email_notification = ON;

The above configuration will do the trick and you can start receiving emails from Mantis Bug Tracker 🙂 Fire up the comments section if you had any doubts in it !!!


Comments

2 responses to “Configuring Amazon SES with Mantis Bug Tracker for Email Notifications”

  1. Xavi Montero avatar
    Xavi Montero

    The formatter of the blog changes the simple quotes (‘) into weird characters (‘) so if you copy/paste this text to edit the content, take care of changing all the quotes.

  2. Thanks for posting this. I was struggling to find all the settings and your post had it all in one place.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.