I have following system setup
- Windows XP Service pack 2
- WAMP 2.0
- PHP 5.3
I've configured my php.ini
file with the following:
smtp=smtp.gmail.com
smtp_port=25;
and my PHP code is
<?php
mail('alagar.pandi@gmail.com','test subject','test body');
?>
The error I'm getting is
Warning: mail() [function.mail]: SMTP server response:
530 5.7.0 Must issue a STARTTLS command first.
4sm389277yxd.16 in C:\wamp\www\limosbusesjets\test.php on line 5
Any suggestions?