Jump to content

edit email address from sender


reggie

Recommended Posts

Well, using PHP you can edit the From header (which goes into the fourth argument of the mail() function). So say you wanted your address to look like short@address.com you could do

mail($to, $subject, $message, "From: short@address.com\r\n");

However, some mail providers and spam filters will block e-mails with modified From headers (Hotmail does this particularly viciously).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...