• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

change email sender mail

F

fredalva

Guest
Hi , i use php mail to send automatique mail to my customer but the post mail they received is style by [email protected]

How can i change this?
thanks

excuse my english,i am french
 
The PHP mail() function uses this format:

mail( $to, $subject, $message, $from);

Your return email address is equal to $email
The address you are sending to is equal to $to

build your list in this format:

$subject = "Subject of email\r\n";
$message = "Message body\r\n";
$from= "From: $email\r\n";
$from .= $Reply-To: $email\r\n";
mail( $to, $subject, $message, $from);

Hope this helps
 
Back
Top