Email Notification

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
varghesege
Posts: 2
Joined: 04 Feb 2010, 13:11

Email Notification

Post by varghesege »

Hi Team,

I am using mantisbt-1.2.0rc1
I am unable to configure the email notification

Request you to send me the procedure for configuring email notification

If Email notification not able to configure, is there any option passwords

Regards
Varghese
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email Notification

Post by atrol »

You should not start with 1.2.0rc1
at least use 1.2.0rc2 or the lastest nightly build.

There is some documentation of configuration in the manual.
The file config_defaults_inc.php also contains some informartion, have a look near line containing $g_phpMailer_methot

To go on without any email
enter the following line in your config_inc.pgh
$g_enable_email_notification = OFF;
Please use Search before posting and read the Manual
varghesege
Posts: 2
Joined: 04 Feb 2010, 13:11

Re: Email Notification

Post by varghesege »

Hi Atrol,
I am using the following versions

1.Mysql-essential-5.0.67-win32.msi
2.Apache_2.2.11-win32-x86-no_ssl.msi
3.Php-5.3.0-Win32-VC6-x86.msi
4.TestLink 1.8.3
5.Mantisbt-1.2.0rc1

please let me know the above combination support Mantis 1.2.0rc2 ?

-------------------------------------------------------------------
Following are the steps I did in config_defaults_inc.php

1. Open “config_defaults_inc.php” from:
“C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mantis”

2. Change email notification status as “On”
$g_enable_email_notification = ON;

3. Give SMTP host details:
Example:
$g_smtp_host = ' ';

4. Give SMTP user name:
Example:
$g_smtp_username = 'servername';

5. Give SMTP password:
Example:
$g_smtp_password = 'pwd';


I am using a seperate IP Address from my company backbone and they mentioned "Non-Authenticated SMTP access for the backbone IP", so i am not giving any username/password
------------------------------------------------------

Request you to send me the procedures if what i mentioned is wrong.

Regards
Varghese
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email Notification

Post by atrol »

I am no specialist concerning email issues, especially not on Windows.
I am not able to have a closer look on this, all I can do is to give you some further hints.

I recommend not to use PHP 5.3.0 or 5.3.1, use 5.2.x
ATM there are many posts in the forum and issues in the bugtracker having various problems with it.
At least working on Windows seems to be affected.

I hope that another forum user can give you some more help for your problem
Please use Search before posting and read the Manual
NimraIzhar
Posts: 1
Joined: 08 Jul 2016, 15:37

Email Notification Issue in Testlink-Configure using config.

Post by NimraIzhar »

Hi,

I have recently installed the testlink stack, I configured my smtp settings during initial set up but getting this error while I am trying to send an email
"SMTP Error: Could not authenticate. PROBLEMS SENDING MAIL TO: abc@gmail.com Mailer Error: SMTP Error: Could not authenticate."
and following error if switch between tsl to ssl or none $g_smtp_connection_mode = " '';

"SMTP Error: Could not connect to SMTP host. PROBLEMS SENDING MAIL TO: user@domain.com Mailer Error: SMTP Error: Could not connect to SMTP host."

With following settings
Configure config.inc.php

$g_smtp_host = 'xxx.xxx.xxx.outlook.com'; # SMTP server MUST BE configured
$g_tl_admin_email = 'name@domain.com'; # for problem/error notification
$g_from_email = 'name@domain.com'; # email sender
$g_return_path_email = 'name@domain.com';

/**
* Email notification priority (low by default)
* Urgent = 1, Not Urgent = 5, Disable = 0
**/
$g_mail_priority = 1; /* I tried with all (0,1,5) values */

/**
* Taken from mantis for phpmailer config
* select the method to mail by:
* PHPMAILER_METHOD_MAIL - mail()
* PHPMAILER_METHOD_SENDMAIL - sendmail
* PHPMAILER_METHOD_SMTP - SMTP
*/

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
#$g_phpMailer_method = SMTP_SEND;
/** Configure only if SMTP server requires authentication */
$g_smtp_username = 'name@domain.com'; # user
$g_smtp_password = 'Password'; # password

/**
* This control the connection mode to SMTP server.
* Can be '', 'ssl','tls'
* @global string $g_smtp_connection_mode
*/
$g_smtp_connection_mode = 'ssl';

/**
* The smtp port to use. The typical SMTP ports are 25 and 587. The port to use
* will depend on the SMTP server configuration and hence others may be used.
* @global int $g_smtp_port
*/
$g_smtp_port = 25;


Note: In Php.ini
extension=php_openssl.dll is also enabled
Post Reply