Question : phpmailer problem after migrating from Windows WAMP to Ubuntu LAMP

Attached is a fairly simple script that allows our tech support to comment on existing issues. It has a little mailer script that uses the phpmailer class to send mail. This exact script worked fine on the WAMP server, but after we moved it to Ubuntu 9.10, we are getting strange output from the mailer...

Now, while the database DOES get updated appropriately and the emails DO fire as intended, we aren't supposed to see the output like

SMTP -> FROM SERVER:220 mail.sanbenito.k12.tx.us (IMail 11.0 110512-2) NT-ESMTP Server X1
SMTP -> FROM SERVER: 250-mail.sanbenito.k12.tx.us says hello 250-SIZE 0 250-8BITMIME 250-DSN 250-ETRN 250-AUTH LOGIN CRAM-MD5 250-AUTH LOGIN 250 AUTH=LOGIN
SMTP -> FROM SERVER:250 ok
SMTP -> FROM SERVER:250 ok its for
SMTP -> FROM SERVER:354 ok, send it; end with .
SMTP -> FROM SERVER:250 Message queued

and it should automatically redirect to the page that has a list of outstanding issues.

See my movie at

http://elearn.sbcisd.net/file.php/1/backupdata/phpmailer-error.mp4

Any ideas? Thank you!

Answer : phpmailer problem after migrating from Windows WAMP to Ubuntu LAMP

PS - line 127 clearly has your SMTP debug option enabled - try setting that value to "0" to disable smtp messages as well.
Random Solutions  
 
programming4us programming4us