Settings email ojs

Hi dear
how can i activate option allow_envelope_sender (email) on OJS

Settings of SMTP on config.inc.php as below:
[email]

[email]

; 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 = halima_admin123@gmail.com

@halima_lima

Have you tried with removing ; at the beginning of that setting?

Regards, Primož

1 Like

that way ?

[email]

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 = halima123lima@gmail.ma

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

@halima_lima

Just in the lines you want to use.

Hi @halima_lima,

Don’t post passwords in a public forum! I’ve removed them; you should probably change your passwords.

Regards,
Alec Smecher
Public Knowledge Project Team

i changed before
Thanks to alert me.