I'm going to suspect this is mail-client dependent as to what is "seen".
–
JoeAug 8 '11 at 1:51

4

zzz.com currently points to a spammy domain registrar, who knows what it will point to tomorrow. Use "example" for example domains. It's specifically reserved by ICANN for that purpose.
–
Joel CoehoornAug 8 '11 at 2:01

1

Why don't you want the recipient to see who the message is from? Are you up to some nefarious, malevolent activity?
–
Steve WellensAug 8 '11 at 2:13

1

@Steve - it's a presentation issue, and something even legitimate operations would like to be able to do... not necessarily make the origin invisible, but at least hidden at first glance to show only the friendlier name.
–
Joel CoehoornAug 8 '11 at 2:21

2 Answers
2

Not everyone's e-mail client works as yours does. Some will already display only "TESTEMAIL", just like you want. Others will ignore "TESTEMAIL" entirely and only display "testemail@example.com", and there's nothing you can do about it. Many allow the user to choose how the user will see your name. None allow you, the sender, to override the user's preference.

I know you probably have messages come in to your own inbox this way, but that will happen only for addresses with e-mail domains that your e-mail client has chosen to trust, and there is nothing you can do to make other's e-mail clients trust your domain.

That's only if your messages make it to their destination in the first place. If you send messages yourself, they stand a good chance of being filtered as spam somewhere along the way. You almost always need to use an established, reputable, service when sending e-mail from a web site.

Of course, those are moot if you're working on an intranet site sending mail entirely within your own organization... but in that case, "TESTEMAIL" vs "testemail@example.com" hardly matters.