Page 1 of 1

send mail using google

Posted: Mon Jun 25, 2007 4:16 pm
by guitarlvr
as a development environment on my laptop I'd like to use google's smtp server to be able to send email. I dont care that it changes the from address, I just want it to be able to send mail. In the php.ini file, i know i can specify the address and port used for smtp but how would i go about authenticating with a user ID and password? Has anyone ever tried this before?

Thanks,

Wayne

Posted: Mon Jun 25, 2007 4:26 pm
by feyd
The mail function doesn't support it if memory serves.

Look through the Swiftmailer forum on posts relating to gmail.

Posted: Mon Jun 25, 2007 4:31 pm
by guitarlvr
Thanks Feyd, I found exactly what i was looking for with Swift. I have downloaded it but have not attempted to use it as of yet. I guess now i will. Thanks again.

Wayne