i have used this code
ini_set("SMTP" , "smtp.gmail.com");
ini_set("smtp_port", "465");
mail('rakesh.ece.nri@localhost... how r u','from: tejaswi sharma%26lt;tej.nri@gmail.com%26gt;');
but if get hanged and not responding plz help me
I have to connect my application to the smtp mail server of google with PHP and send email?
You might want to try adding:
ini_set(sendmail_from,"tej.nri@gmail.c...
and after you call the mail function add:
ini_restore(sendmail_from);
Let me know if this works!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment