Hello, sorry my English, I’m from Russia, and English is not my native language.
I have problems with my OJS version 2.4.7, the application is not sending e-mails for the users (but it does not produce errors).
The software is installed at IIS7, MySQL 5.1.53-community, PHP Version 5.4.1.
The config.inc.php of OJS (these items have been changed):
; The canonical URL to the OJS installation (excluding the trailing slash)
base_url = "http://newvestnik.bukep.ru"
;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;
[email]
; 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
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = PLAIN
smtp_username = "mailvestnik@gmail.com"
smtp_password = "examplePass"
; 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
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
; Enable attachments in the various "Send Email" pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On
;;;;;;;;;;;;;;;;;;
; Proxy Settings ;
;;;;;;;;;;;;;;;;;;
[proxy]
; Note that allow_url_fopen must be set to Off before these proxy settings
; will take effect.
; The HTTP proxy configuration to use
http_host = exampleHost
http_port = examplePort
proxy_username = exampleUser
proxy_password = examplePass
Is your Journal’s principal contact also mailvestnik@gmail.com ? If not, your messages may be blocked by SPF. This could especially be the case if your default_envelope_sender is enabled as “my_address@my_host.com”. Hopefully this value is not used because you have specified allow_envelope_sender = Off, but I would set it to an address that gmail recognizes, just in case.
This email is the Journal’s principal contact? If not, where to change Journal’s principal contact?
I changed the item in config.inc.php.
; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = PLAIN
smtp_username = "mailvestnik@gmail.com"
smtp_password = "pass"
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
; allow_envelope_sender = On
allow_envelope_sender = Off
; Default envelope sender to use if none is specified elsewhere
; default_envelope_sender = my_address@my_host.com
default_envelope_sender = "mailvestnik@gmail.com"