- b2evolution CMS User Manual
- Back-office Reference
- Emails
- Sent
- SMTP Gateway
- PHP mail() Function Settings
PHP mail() Function Settings
This panel is useful only if you are sending email through PHP’s internal mail()
function, i-e through your webserver’s SMTP service.
On some web hosts, the default params that b2evolution passes to the mail()
function are not accepted.
On this screen you can choose between the 2 most commonly required parameters: -r $return-address$
and -f $return-address$
.
When you change this setting, do not forget to save the changes first before clicking the "Send test email via PHP" button.
If sending email still does not work with any of above settings, try the following custom settings:
-r $return-address$ -f $return-address$
- empty field
If one of these variants works for you, please be so kind to leave a comment below with the name of your web host and the variant that works for you. Thank you!
PHP mail() function settings for ValueHOST.RU:
Custom: [empty field]