emails not sent on registration
Moderators: Developer, Contributor
emails not sent on registration
Hello,
my new mantis (the most recent) does not send emails when new users sign up.
I got my configuration set up properly. the smtp has been checked with mozilla thunderbird - working.
The emails never get to the emails table in the DB.
What can be wrong?
my new mantis (the most recent) does not send emails when new users sign up.
I got my configuration set up properly. the smtp has been checked with mozilla thunderbird - working.
The emails never get to the emails table in the DB.
What can be wrong?
Re: emails not sent on registration
You can enable email tracing to see what happens
Temporary add the following lines to config_inc.php
Temporary add the following lines to config_inc.php
Code: Select all
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';
Re: emails not sent on registration
Well unfortunatelly the only thing with this set i get is an error from php that my webhost has disabled logging for security reasons.
I did contact him to make sure that smtp is working and i managed to send/get mail from this smtp server with thunderbird.
But mantis aint still working. It does not put the emails into the DB. and i dont know why? How is it possible?
I did contact him to make sure that smtp is working and i managed to send/get mail from this smtp server with thunderbird.
But mantis aint still working. It does not put the emails into the DB. and i dont know why? How is it possible?
Re: emails not sent on registration
Yes i have tried gmail aswell.
The thing is as i stated before - it is not the mail account problem.
THe emails do not go to the DB hence they never actually even get sent.
How can i fix this?
The thing is as i stated before - it is not the mail account problem.
THe emails do not go to the DB hence they never actually even get sent.
How can i fix this?
Re: emails not sent on registration
You should post your MantisBT configuration, especially the e-mail related setting.
Which version of MantisBT do you use?
Which version of PHP do you use?
Which database version do you use?
Did you change any source code of MantisBT?
Did you write any custum functions?
Did you install any plugin?
Which version of MantisBT do you use?
Which version of PHP do you use?
Which database version do you use?
Did you change any source code of MantisBT?
Did you write any custum functions?
Did you install any plugin?
Re: emails not sent on registration
Mantis version: mantisbt-1.2.8
PHP version: PHP 5.2
DB version: MySQL 5.5
No changes of the mantis code apart from the css file
no additional functions (though i would love to be able to pass phpBB session to mantis - so no need ot register separatelly to mantis)
plugins installed: Mantis Graphs 1.0 | MantisBT Formatting 1.0a
Anyone please help... my webhost configermed that the PHPMAILER_METHOD_SMTP should work fine
EDIT:
Configuration part:
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'xxx.pl';
$g_smtp_username = 'xxx@xxx.pl';
$g_smtp_password = 'xxx';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;
$g_email_send_using_cronjob = OFF;
EDIT2:
now what i noticed is that once a new acc is created an email notifiaction for admin is automatically generated and pushed to DB. Moreover it gets sent actually to admin (the email is on the same domain as the script)
PHP version: PHP 5.2
DB version: MySQL 5.5
No changes of the mantis code apart from the css file
no additional functions (though i would love to be able to pass phpBB session to mantis - so no need ot register separatelly to mantis)
plugins installed: Mantis Graphs 1.0 | MantisBT Formatting 1.0a
Anyone please help... my webhost configermed that the PHPMAILER_METHOD_SMTP should work fine
EDIT:
Configuration part:
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'xxx.pl';
$g_smtp_username = 'xxx@xxx.pl';
$g_smtp_password = 'xxx';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;
$g_email_send_using_cronjob = OFF;
EDIT2:
now what i noticed is that once a new acc is created an email notifiaction for admin is automatically generated and pushed to DB. Moreover it gets sent actually to admin (the email is on the same domain as the script)
Re: emails not sent on registration
hello can anyone please assist as I still cannot figure this one out
Re: emails not sent on registration
Yes i tried so many things.
and i dont have access to log files. but other software i have on server sends emails like charm - 100/h.
Really please help me
and i dont have access to log files. but other software i have on server sends emails like charm - 100/h.
Really please help me
Re: emails not sent on registration
You are not allowed to enable logging.
You are not allowed to have a look at your access and error logs.
Superior hosting provider
Do you pay for it?
You told me that you followed the steps provided at
http://www.mantisbt.org/forums/viewtopi ... =3&t=15398
What was the result of the attached script testmail.php ?
You are not allowed to have a look at your access and error logs.
Superior hosting provider

Do you pay for it?
You told me that you followed the steps provided at
http://www.mantisbt.org/forums/viewtopi ... =3&t=15398
What was the result of the attached script testmail.php ?
-
- Posts: 2
- Joined: 29 Nov 2009, 11:09
- Location: France
- Contact:
Re: emails not sent on registration
Same symptoms, same problems.
Unable to re-install a clean version of Mantis 1.2.8 on my server.
I have a real problem to track my projects and QA without this tool I have ever used.
I made many checks: My official diagnosis MANTIS 1.2.8 is incompatible with my new versions of PHP and / or because the version of MySQL MantisBT-1.2.8-master-1.2.x-6049d83.zip did not this problem: I received email. (Except that it is impossible to continue to use this version. It is a development version where nothing was finalized (HTML / CSS.)
My config
Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6 (PLESK 10.4.4-cos6.build1013111102.18)
Linux CentOS.6.38.2-xxxx-std-ipv6-64
Apache 2.2.15-15.el6.centos
PHP 5.3.3-3.el6_2.5
MySQL 5.1.52-1.el6_0.1
thanks
Unable to re-install a clean version of Mantis 1.2.8 on my server.
I have a real problem to track my projects and QA without this tool I have ever used.
I made many checks: My official diagnosis MANTIS 1.2.8 is incompatible with my new versions of PHP and / or because the version of MySQL MantisBT-1.2.8-master-1.2.x-6049d83.zip did not this problem: I received email. (Except that it is impossible to continue to use this version. It is a development version where nothing was finalized (HTML / CSS.)
My config
Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6 (PLESK 10.4.4-cos6.build1013111102.18)
Linux CentOS.6.38.2-xxxx-std-ipv6-64
Apache 2.2.15-15.el6.centos
PHP 5.3.3-3.el6_2.5
MySQL 5.1.52-1.el6_0.1
thanks
Re: emails not sent on registration
http://www.mantisbt.org/bugs/view.php?id=12099
1. Dans "\wamp\bin\apache\Apache2.4.4\bin\php.ini" decomenter "extension=php_openssl.dll"
2. Dans "\wamp\www\mantisbt-1.2.15\config_inc.php" mettre
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_connection_mode = 'ssl';
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = 465;
$g_smtp_username = 'myemail@gmail.com';
$g_smtp_password = 'mypassword';
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'myfriend@yahoo.com';
$g_return_path_email = 'admin@example.com';
$g_enable_email_notification = ON;
1. Dans "\wamp\bin\apache\Apache2.4.4\bin\php.ini" decomenter "extension=php_openssl.dll"
2. Dans "\wamp\www\mantisbt-1.2.15\config_inc.php" mettre
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_connection_mode = 'ssl';
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = 465;
$g_smtp_username = 'myemail@gmail.com';
$g_smtp_password = 'mypassword';
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'myfriend@yahoo.com';
$g_return_path_email = 'admin@example.com';
$g_enable_email_notification = ON;
Re: emails not sent on registration
Hi,
I am Sharmin Sultana From Bangladesh using mantis . I am new in this field and i have set up all the things of mantis using administrative guide but , having problem with sending email which is very important for using mantis.
I do some change in config_inc.php page....... My code is below
?php
$g_hostname = 'Sharmin';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_allow_signup = ON; //allows the users to sign up for a new account
$g_enable_email_notification = ON; //enables the email messages
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = 'example1@gmail.com'; //user gmail address
$g_smtp_password = '*******'; //user gmail password
$g_administrator_email = 'example@gmail.com'; //this is my administrator email address
?>
******what's the problem...please help me...its urgent
I am Sharmin Sultana From Bangladesh using mantis . I am new in this field and i have set up all the things of mantis using administrative guide but , having problem with sending email which is very important for using mantis.
I do some change in config_inc.php page....... My code is below
?php
$g_hostname = 'Sharmin';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_allow_signup = ON; //allows the users to sign up for a new account
$g_enable_email_notification = ON; //enables the email messages
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = 'example1@gmail.com'; //user gmail address
$g_smtp_password = '*******'; //user gmail password
$g_administrator_email = 'example@gmail.com'; //this is my administrator email address
?>
******what's the problem...please help me...its urgent
Re: emails not sent on registration
My configuration setting is below, please help to solve this email issue
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = '*************'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = '***********'; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'ar@intbittech.com';
$g_webmaster_email = 'ar@intbittech.com';
$g_from_email = 'noreply@intbittech.com'; # the "From: " field in emails
$g_return_path_email = 'ar@intbittech.com'; # the return address for bounced mail
$g_from_name = 'Intbit Tech - Mantis Bug Tracker';
$g_email_receive_own = ON;
# $g_email_send_using_cronjob = OFF;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = '*************'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = '***********'; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'ar@intbittech.com';
$g_webmaster_email = 'ar@intbittech.com';
$g_from_email = 'noreply@intbittech.com'; # the "From: " field in emails
$g_return_path_email = 'ar@intbittech.com'; # the return address for bounced mail
$g_from_name = 'Intbit Tech - Mantis Bug Tracker';
$g_email_receive_own = ON;
# $g_email_send_using_cronjob = OFF;
$g_enable_email_notification = ON;