how can i activate option allow_envelope_sender (email) on OJS
Settings of SMTP on config.inc.php as below:
; Use SMTP for sending mail instead of mail()
; smtp = On
; SMTP server settings
; smtp_server =rmsm.ma/cpanel
; smtp_port = 25
; 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 = email@example.com
Have you tried with removing ; at the beginning of that setting?
that way ?
Use SMTP for sending mail instead of mail()
smtp = On
SMTP server settings
smtp_port = 25
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 = firstname.lastname@example.org
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 = On
Just in the lines you want to use.
Don’t post passwords in a public forum! I’ve removed them; you should probably change your passwords.
Public Knowledge Project Team
i changed before
Thanks to alert me.