i perefer to use such mail code:
$pipe=popen("/usr/sbin/sendmail -f [EMAIL PROTECTED] -i
[EMAIL PROTECTED]","w");
$email_body="Customer name: $customer_name
email: $email
features: $features";
if ($pipe) {
fputs($pipe,"To: [EMAIL PROTECTED]\n");
fputs($pipe,"From: $email\n");
fputs
When using the mail () function to send an email to a
linux server the header information shows two from
addresses. (1)e-mail address that was defined in $from
variable in the header. (2) [EMAIL PROTECTED]
Can someone explain this? I only want the $from
variable to show up in the header. Can
2 matches
Mail list logo