send credentials to authenticate mail users with Exchange

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
leospawn
Posts: 3
Joined: 30 Jan 2012, 13:48

send credentials to authenticate mail users with Exchange

Post by leospawn »

Hello!

I need to configure the application to send emails notification via an Exchange server, which requires you to send credentials to authenticate users.

There are several posts about notifications through an Exchange server but never became clear to me if Mantis has support for managing credentials.

The following are the variables that I have configured in the config_inc.php:

$g_administrator_email = 'mail';
$g_webmaster_email = 'mail';

$g_from_email = 'mail';
$g_from_name = 'nombre del proyecto';
$g_return_path_email = 'mail';


$g_mail_priority = 1;

/**
* select the method to mail by:
* PHPMAILER_METHOD_MAIL - mail()
* PHPMAILER_METHOD_SENDMAIL - sendmail
* PHPMAILER_METHOD_SMTP - SMTP
* @global int $g_phpMailer_method
*/

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

$g_smtp_host = 'host';
$g_smtp_username = 'usuario';
$g_smtp_password = 'pass';
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 587;

The data shown is an example. The settings I'm using were tested via Telnet, and working properly.
In Mantis, there isn't seems to be taking into account the settings that I am entering. It use the smtp server of the hosts so with certain configurations sends the email notification but only to those addresses belonging to the company.

Thanks
Post Reply