Mantis 1.1.2 Problem with PHPMailer 2.2.1 and Gmail SMTP
Posted: 25 Jul 2008, 18:59
Hi,
Because I have PHP 5, I installed PHPMailer 2.2.1.
I used the PHPMailer gmail example PHP to test that Gmail works with PHPMailer. It does.
The Mantis integration with PHPMailer 2.2.1 seems broken, however; sending an email using Reset User gives a message:
SYSTEM WARNING: fsockopen() expects parameter 2 to be long, string given
Parameter 2 is the port number, which for Gmail ought to be 587. It seems that Mantis must instead be giving some kind of string to PHPMailer.
Thanks for any help.
--John
Because I have PHP 5, I installed PHPMailer 2.2.1.
I used the PHPMailer gmail example PHP to test that Gmail works with PHPMailer. It does.
The Mantis integration with PHPMailer 2.2.1 seems broken, however; sending an email using Reset User gives a message:
SYSTEM WARNING: fsockopen() expects parameter 2 to be long, string given
Parameter 2 is the port number, which for Gmail ought to be 587. It seems that Mantis must instead be giving some kind of string to PHPMailer.
Thanks for any help.
--John