Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send mail from fake email?

Status
Not open for further replies.

TheDust

Programmer
Aug 12, 2002
217
US
When using PHP's built-in mail function, does the "From" e-mail address have to be an actual email address or can it be a fake address you use to disguise the user's actual e-mail address? The reason I ask is because we're developing an online dating site, and I would prefer the emails that get sent out do not come from the user's actual email address. If I want to do something like this, do I need to set up a mailbox for each user that signs up on the site or can I just use an email address that doesn't actually have an e-mail box?
 
With any use of SMTP, the "From" or "Reply-to" address is arbitrarily set by the sender. You can do this in PHP scripts, too.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top