View previous topic :: View next topic |
Author |
Message |
westsyde -
Joined: 17 Feb 2005 Posts: 7
|
Posted: Thu Feb 09, 2006 11:36 pm Post subject: php.ini SMTP settings for gmail |
|
|
Can anyone enlighten me regarding this, as I have tried a number email accounts to sendmail via the php.ini however i can not get gmail to function. Does anyone know why gmail won't function as other accounts such as yahoo that use port 25. Is there anything else i need to alter for the secure port 465 used by gmail. I have used the following settings in my php.ini
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465
; For Win32 only.
sendmail_from = westsyde.homeip.net@gmail.com
Thanks
Last edited by westsyde on Fri Feb 10, 2006 12:40 am; edited 2 times in total |
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Feb 09, 2006 11:46 pm Post subject: |
|
|
GMail SMTP requires a username and password, and a secure connection.
I don't think these settings are supported in php.ini - you will need a separate mailer program to pass parameters to from your PHP script... _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
|
westsyde -
Joined: 17 Feb 2005 Posts: 7
|
Posted: Fri Feb 10, 2006 12:09 am Post subject: phpmailer |
|
|
I guess you are refering to phpmailer or similar.
I will give that a go and see if i can resolve this.
Thanks Anonymoose |
|
Back to top |
|
|
|