julian_m wrote:
Is there any way to set up the php.ini file, in order to be able to use
gmail to send mails from a local machine?
I've tryied with
SMTP = smtp.gmail.com
smtp_port = 25
but I can't figure out where I've to write user and password data nor
the place where I've to write the SSL data which Gmail waits for...
regards - jm
GMail doesn't use port 25, it's something else like 236... They use the
TLS protocol to authenticate, and so you need to write code which will
authenticate you before you can send outgoing mail through them. I
looked into that once upon a time, but could not figure it all out. I
gave up in the end, so I can't help you with a solution other than
telling you that you need to look into TLS, which i'm not sure that PHP
can handle... I could be wrong. Would love to see an update from you
if you figure this one out, though :)
John D. Mann