hi...someone pleeeeeeeease help me on php mail problem on WAMP.
code:
<?php
mail("mymail@gmail.com","Hello World","Hi,this is my first php mail!!");
?>
*****ofcourse i have used a proper mail id!*******
where do i set up the smtp port?...or what do i need to do..
i have modified php.ini as follows:
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
; For Win32 only.
sendmail_from =
mymail@gmail.com *****ofcourse i have used a proper mail id!*******
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
i get this error:
Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first m24sm2469571waf in C:\wamp\www\play\firstmail.php on line 2
if am missing too much on basics....please help me from scratch..i am new and i ahve spent more than 10 days struggling now...!
pleeeeeeeeeease!
thanks,
vk