What are you looking for ?
Home » » Mail Configuration

Mail Configuration


Mantis 

Mantis Bug Tracker is a free and open source, web-based bug tracking system released under the terms of the GNU General Public License version 2. The most common use of MantisBT is to track software defects. However, MantisBT is often configured by users to serve as a more generic issue tracking system and project management tool.

Configuring email sending on Mantis

If you installed Mantis Bug Tracker locally ,You will need to configure email sending on MantisBT  to be able to send an email notifications.
You could use any mail providers to send your notifications i.e. Hotmail, Yahoo! Mail, GMail or any other providers  you want. In this session  I will use Hotmail as my email provider.

Mail Customization

Step 1

  • Open control panel & click "Config" and choose "PHP (php.ini)"
  • Search for "[mail function]" by press "ctrl f "
  • Update
    • SMTP=localhost 
    • smtp_port=25
    • ;sendmail_path =
  • To be :
    • SMTP= smtp.live.com
    • smtp_port=587
    • sendmail_path ="C:\xampp\sendmail\sendmail.exe" -t"
  • Save & Exit

Step 2

  • Go to XAMPP control panel & click "Explorer"
  • Search for "config_inc.php" file and open it 
     
  • Past the following text 
# --- Email Configuration ---
$g_enable_email_notification = ON; //enables the email messages
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.live.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = 'wael.medhat@hotmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = '*************'; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'wael.medhat@hotmail.com';
$g_webmaster_email = 'wael.medhat@hotmail.com';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'wael.medhat@hotmail.com'; # the "From: " field in emails
$g_return_path_email = 'wael.medhat@hotmail.com'; # the return address for bounced mail
$g_email_receive_own = ON;
$g_email_send_using_cronjob = ON;

Save & Exit & that's itπŸ˜‰
Share this article :

Post a Comment

Flag Counter

Social Profile

 
Copyright x 2011. By Wael Medhat - All Rights Reserved