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!

SENDER option in MAIL Command ?

Status
Not open for further replies.

nithink

Programmer
Nov 7, 2002
92
US
Hi,

I'm trying to use Unix Mail command. Is there any way I can change the SENDER's name.

Is there any option to change the Sender's name ?

Thanks in Advance
GR
 
Not entirely sure it's what you're after but you can use the perl module Mail::Sender. It lets you specify a "fake from" address which can be anything you like so long as it's formatted correctly eg me@mypc.com.

HTH
 
Just put the name in front of the email address and put the email address in angle brackets < > like list.

&quot;Full Name&quot; <user@domain>

This is not a mail command feature. It is part of the email protocal. This will work with any email program that doesn't try to modify what you put in the address field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top