Re: About the php mail function and imap_mail function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 04.04.2010 14:28, schrieb ttplayer:
> 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.
a) use an external SMTP-class, you could take a look at PEAR (which
directly etablishes a connection to your gmail-account)
b) configure your mail-server/system that he delivers the mails via an
external SMTP_Server - there are several tutorials how to do that in the
inet



Regards,

Valentin Dreismann

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux