note 120078 deleted from function.mail by cmb

From: Date: Sun, 22 Sep 2019 08:11:36 +0000
Subject: note 120078 deleted from function.mail by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212329@lists.php.net to get a copy of this message
Note Submitter: SAR ---- When using with sSMTP, I've found that the additional_parameters must be enclosed in quotes after the flags. (The other documentation on this page has no quotes after the flags.) e.g.: $params = '-f"info@mail.com" -F"Info Service"'; $to = 'user@mail.com'; $subj = 'Subject Line'; $body = 'Body of the mail'; $headers = null; mail($to, $subj, $body, $headers, $params);

« previous php.notes (#212329) next »