Difference between revisions of "Using gmail SMTP"
From PKP Wiki
(Add how to use Gmail SMTP) |
(Edit code 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. | ||
| − | < | + | <code> |
; 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" | ||
| − | </ | + | </code> |
Revision as of 10:13, 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"