From: Manuel Lemos on 2 Jul 2010 21:53
on 07/01/2010 10:09 AM Shreyas Agasthya said the following:
> I am sure this would have been asked a zillion times but I take this as my
> turn to get some help. I hate to ask such rhetorical questions but quite
> couldn't understand how to tweak this.
> All I am trying to do is send a mail from my localhost to my Gmail ID. I
> read stuff about how the SMTP port should be accessible; should be open et
> al. My set-up is very simple:
You cannot use the mail() function because it does not support
You need to use some other component that supports SMTP authentication.
I use the MIME message class along with a SMTP class.
You may want to read this article to learn how to set it right to send
messages via Gmail, Hotmail or Yahoo.
Find and post PHP jobs
PHP Classes - Free ready to use OOP components written in PHP