Difference between revisions of "Using gmail SMTP"

From PKP Wiki
Jump to: navigation, search
(Add how to use Gmail SMTP)
 
(2 intermediate revisions 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>
+
<nowiki>
 
; Use SMTP for sending mail instead of mail()
 
; Use SMTP for sending mail instead of mail()
 
smtp = On
 
smtp = On

Revision as of 09: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"