Hello, My Name is Rizki Developer from Indonesia, I want to ask About OJS, i was recently updated OJS 3.1 to 3.3. then after i updated the smtp mail cannot send notification through mail, either after submitting or after changes to the article. the PHP logs show this error :
[19-Apr-2025 02:16:34 UTC] PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/journals/public_html/lib/pkp/classes/mail/Mail.inc.php on line 493
[19-Apr-2025 02:16:34 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
I didn’t change the setting from ojs 3.1 and here the setting :
[email]
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = “smtp.gmail.com”
smtp_port = 587
; Enable SMTP authentication
; Supported mechanisms: ssl, tls
smtp_auth = ssl
smtp_username = “(removed)”
smtp_password = “(removed)”
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
; allow_envelope_sender = On
; Default envelope sender to use if none is specified elsewhere
; default_envelope_sender = lppm@universitasbumigora.ac.id
; 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 = 15
; 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_timgeout = 14
Thank you in advance