i'm having trouble setting up the e-mail notification feature in mantis. i have the error: SYSTEM WARNING: fsockopen(): unable to connect to smtp.bizmail.yahoo.com:25
does anyone here use yahoo's smtp server for mantis?
below is what i included in the config_inc.php
$g_phpMailer_method = 2;
$g_smtp_host = 'smtp.bizmail.yahoo.com';
$g_smtp_username = 'username@companyname.com';
$g_smtp_password = 'notreallymypassword';
we're using the version 1.1.0a2.. and the default smtp port (25)
Ramon Maliwanag
Yahoo! SMTP server
Moderators: Developer, Contributor
-
danieljanzon
- Posts: 4
- Joined: 28 May 2007, 14:19
Yes, you need to add the port at the end of the host name: http://www.mantisbt.org/bugs/view.php?id=8006
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
-
kooldude_33
- Posts: 2
- Joined: 15 Apr 2009, 11:02
Re: Yahoo! SMTP server
hi All,
I'm having trouble setting up the e-mail notification feature in mantis with Gmail. The changes I made are as follows:
1. In 'C:\Inetpub\wwwroot\Mantis\core\phpmailer\' I changed the following in the file called 'class.smtp'.
class SMTP
{
/**
* SMTP server port
* @var int
*/
var $SMTP_PORT = 465;
2. In 'C:\Windows\' I changed the following in the 'php' file.
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465
3. In 'C:\Inetpub\wwwroot\Mantis\' I changed the following in the 'config_defaults_inc' file.
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;
$g_smtp_host = 'smtp.gmail.com:465';
$g_smtp_username = 'my mail id';
$g_smtp_password = 'my mail password';
When i click on 'reset password' button, its taking some time to process and a blank page is being displayed with the url 'http://localhost/mantis/manage_user_page.php' in the address bar.
So i changed the smtp name to localhost and the port to 25. the changes are as follows:
class SMTP
{
/**
* SMTP server port
* @var int
*/
var $SMTP_PORT = 25;
2. In 'C:\Windows\' I changed the following in the 'php' file.
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
3. In 'C:\Inetpub\wwwroot\Mantis\' I changed the following in the 'config_defaults_inc' file.
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;
$g_smtp_host = 'localhost:25';
$g_smtp_username = 'my mail id';
$g_smtp_password = 'my mail password';
When i click on 'reset password' button, now its giving the message 'A confirmation mail has been sent to the selected user's e-mail address. Using this, the user will be able to change their password' and it displays the Manage users page. But I'm not getting any mails to the e-mails i mentioned while creating users.
The OS and version details are as follows:
OS: XP
Mantis version: 1.1.6
Php version: PHP 5.2 and later
MySQL version: 5.0.
It would be very grateful if any one can help resolving this issue.
I'm having trouble setting up the e-mail notification feature in mantis with Gmail. The changes I made are as follows:
1. In 'C:\Inetpub\wwwroot\Mantis\core\phpmailer\' I changed the following in the file called 'class.smtp'.
class SMTP
{
/**
* SMTP server port
* @var int
*/
var $SMTP_PORT = 465;
2. In 'C:\Windows\' I changed the following in the 'php' file.
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465
3. In 'C:\Inetpub\wwwroot\Mantis\' I changed the following in the 'config_defaults_inc' file.
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;
$g_smtp_host = 'smtp.gmail.com:465';
$g_smtp_username = 'my mail id';
$g_smtp_password = 'my mail password';
When i click on 'reset password' button, its taking some time to process and a blank page is being displayed with the url 'http://localhost/mantis/manage_user_page.php' in the address bar.
So i changed the smtp name to localhost and the port to 25. the changes are as follows:
class SMTP
{
/**
* SMTP server port
* @var int
*/
var $SMTP_PORT = 25;
2. In 'C:\Windows\' I changed the following in the 'php' file.
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
3. In 'C:\Inetpub\wwwroot\Mantis\' I changed the following in the 'config_defaults_inc' file.
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;
$g_smtp_host = 'localhost:25';
$g_smtp_username = 'my mail id';
$g_smtp_password = 'my mail password';
When i click on 'reset password' button, now its giving the message 'A confirmation mail has been sent to the selected user's e-mail address. Using this, the user will be able to change their password' and it displays the Manage users page. But I'm not getting any mails to the e-mails i mentioned while creating users.
The OS and version details are as follows:
OS: XP
Mantis version: 1.1.6
Php version: PHP 5.2 and later
MySQL version: 5.0.
It would be very grateful if any one can help resolving this issue.