I’ve installed OJS 3.1 and configured Gmail as smtp, but the system can not send emails.
can someone help-me?
configuration as below:
//============================================================//
config.inc.php - [email]
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = smtp.gmail.com
smtp_port = 465
; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
smtp_username = “xxxx.xxx@gmail.com”
smtp_password = “xxxxxxxxxxxxx”
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
; allow_envelope_sender = Off
; Default envelope sender to use if none is specified elsewhere
; default_envelope_sender = my_address@my_host.com
; Force the default envelope sender (if present)
; This is useful if setting up a site-wide noreply address
; The reply-to field will be set with the reply-to or from address.
; force_default_envelope_sender = Off
; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
time_between_emails = 3600
; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
max_recipients = 10
; If enabled, email addresses must be validated before login is possible.
require_validation = Off
; Maximum number of days before an unvalidated account expires and is deleted
validation_timeout = 14
//============================================================//
|OS platform |Linux|
|PHP version |5.5.12-2ubuntu4|
|Apache version |Apache/2.4.10 (Ubuntu)|
|Database driver |mysql|
|Database server version |5.5.40-0ubuntu1|
//============================================================//
|force_ssl |Off|
|force_login_ssl |Off|
|session_check_ip |On|
|encryption |sha1|
|salt |YouMustSetASecretKeyHere!!|
|api_key_secret ||
|reset_seconds |7200|
|allowed_html |a[href|target|title],em,strong,cite,code,ul,ol,li[class],dl,dt,dd,b,i,u,img[src|alt],sup,sub,br,p|
//============================================================//
PHPinfo - http://ijcl.ufc.br/index.php/index/admin/phpinfo
sendmail_from no value
sendmail_path /usr/sbin/sendmail -t -i