15 49.0138 8.38624 1 0 4000 1 https://sankaranand.com 300 true 0
theme-sticky-logo-alt

Configuring Amazon SES with Mantis Bug Tracker for Email Notifications

2 Comments

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@sample.com’; #Email displayed at footer (Must be an approved sender list in SES)
$g_webmaster_email = ’email@sample.com’; #Verified SES Sender Email
$g_from_email = ’email@sample.com’; # From Address (Verified SES Sender Email)
$g_return_path_email = ’email@sample.com’; # 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 !!!

Previous Post
Increase phpMyAdmin upload / import size
Next Post
Moving multiple files from current folder to parent folder in Linux
Sankaranand

Scrum Master and Project Manager with 9+ years of experience handling web, mobile and cloud projects. He is a PSM1 and CSM certified.

2 Comments

  • January 12, 2016 at 6:57 am
    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.

    Reply
  • August 23, 2019 at 8:29 pm
    Jane T

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

    Reply

Leave a Reply

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

%d bloggers like this: