Hi, everyone! I have a problem about the php mail function and imap_mail function. When I use the mail or imap_mail function to send a email, the php script sends the email through the local mail sever with sendmail or another MTA supported. However, I have a gmail account. I just want the php script to send emails via my gmail account. How can I do it? Thank you.
- [PHP] About the php mail function and imap_mail function ttplayer