Difference between revisions of "Using gmail SMTP"
From PKP Wiki
(Edit code formatting) |
m (Fix formatting) |
||
| Line 1: | Line 1: | ||
To use gmail SMTP to send email from OJS system. You can use the following setting. | To use gmail SMTP to send email from OJS system. You can use the following setting. | ||
| − | < | + | <nowiki> |
; Use SMTP for sending mail instead of mail() | ; Use SMTP for sending mail instead of mail() | ||
smtp = On | smtp = On | ||
| Line 13: | Line 13: | ||
smtp_username = "user@gmail.com" | smtp_username = "user@gmail.com" | ||
smtp_password = "password" | smtp_password = "password" | ||
| − | </ | + | </nowiki> |
Revision as of 10:16, 1 February 2012
To use gmail SMTP to send email from OJS system. You can use the following setting.
; Use SMTP for sending mail instead of mail() smtp = On ; SMTP server settings smtp_server = "ssl://smtp.gmail.com" smtp_port = 465 ; Enable SMTP authentication smtp_auth = PLAIN smtp_username = "user@gmail.com" smtp_password = "password"