How to configure OJS 3.4.0-1 to use Sendmail?
In my case, to use Sendmail, the email of the main contact of the journal must match the domain, that is, if the domain is “example.com” the email of the main contact of the journal must be “email@example.com” in where xxx is any name (for example: editor).
The configuration in the config.inc.php file must be the same as the default (if sending fails, make sure that the path for Sendmail on your server is the one indicated in sendmail_path, that is: “/usr/sbin/ sendmail”) :
; Default method to send emails
; Available options: sendmail, smtp, log, phpmailer
default = sendmail
; Path to the sendmail, -bs argument is for using SMTP protocol
sendmail_path = “/usr/sbin/sendmail -bs”
; Use SMTP for sending mail instead of mail()
; SMTP server settings
; smtp_server = mail.example.com
; smtp_port = 25
; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
; smtp_auth = ssl
; smtp_username = username
; smtp_password = password
¡This worked for me!
What app are you using?
For example, OJS 3.4.0-1