About the php mail function and imap_mail function
am 04.04.2010 14:28:33 von fikm
------=_NextPart_4BB885F1_088BC570_7CA48CA1
Content-Type: text/plain;
charset="ISO-8859-1"
Content-Transfer-Encoding: base64
SGksIGV2ZXJ5b25lIQ0KIEkgaGF2ZSBhIHByb2JsZW0gYWJvdXQgdGhlIHBo cCBtYWlsIGZ1
bmN0aW9uIGFuZCBpbWFwX21haWwgZnVuY3Rpb24uDQogV2hlbiBJIHVzZSB0 aGUgbWFpbCBv
ciBpbWFwX21haWwgZnVuY3Rpb24gdG8gc2VuZCBhIGVtYWlsLCB0aGUgcGhw IHNjcmlwdCBz
ZW5kcyB0aGUgZW1haWwgdGhyb3VnaCB0aGUgbG9jYWwgbWFpbCBzZXZlciB3 aXRoIHNlbmRt
YWlsIG9yIGFub3RoZXIgTVRBIHN1cHBvcnRlZC4gSG93ZXZlciwgSSBoYXZl IGEgZ21haWwg
YWNjb3VudC4gSSBqdXN0IHdhbnQgdGhlIHBocCBzY3JpcHQgdG8gc2VuZCBl bWFpbHMgdmlh
IG15IGdtYWlsIGFjY291bnQuIEhvdyBjYW4gSSBkbyBpdD8NCiBUaGFuayB5 b3Uu
------=_NextPart_4BB885F1_088BC570_7CA48CA1--
Re: About the php mail function and imap_mail function
am 04.04.2010 14:58:40 von dispy
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,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: About the php mail function and imap_mail function
am 04.04.2010 18:58:11 von Andre Polykanine
Hello ttplayer,
If GMail does allow sending through socket, wait a bit, I'll upload a
class written on my own for sending mail through a custom SMTP via
socket.
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
----- Original message -----
From: ttplayer
To: php-general
Date: Sunday, April 4, 2010, 3:28:33 PM
Subject: [PHP] About the php mail function and imap_mail function
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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php