PHP, change default email sender and address
Post n°56 pubblicato il 29 Luglio 2017 da taichung
The php.ini file lets you configure the default sender (the From in the email header) and email address If you have multiple php.ini files (for example one for cli, one for apache, etc), you need to find the right one for your purpose or even change 'em all. EX: You want to set the From field instead of thedefault www-data to noreply, and the email address of the sender as noreply@mydomain.net in a Linux system (for Windows it's different). To accomplish this, add the following line in your php.ini file: Where:
|
||||||
|
Inviato da: cassetta2
il 23/08/2019 alle 12:59