Difference between revisions of "Using gmail SMTP"
From PKP Wiki
(Edit code formatting) |
|||
| (One intermediate revision by one user not shown) | |||
| 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 in config.inc.php |
| − | < | + | <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> |
Latest revision as of 10:22, 1 February 2012
To use gmail SMTP to send email from OJS system. You can use the following setting in config.inc.php
; 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"