in reply to Re: presentation of email
in thread presentation of email

I am not spamming...
I am Reading the email via microsoft outlook and u see joe@pleasework.com. I am now trying to use Net:SMTP which works well in regards to hiding the address, but when I hit reply it sends the email to joe not joe@pleasework.com. If u understand why, please let me know.
use Net::SMTP; $sender = Net::SMTP->new ('mailhost'); $sender->mail('joe@pleasework.com'); $sender->to ('bob@hotmail.com'); $sender->data(); $sender->datasend ("From: Joe\n"); $sender->datasend ("To: Bob\n"); $sender->datasend ("Subject: $mail{'subject'}\n"); $sender->datasend ("\n"); $sender->datasend ("$mail{'msg'}"); $sender->dataend; $sender->quit;

Replies are listed 'Best First'.
Re: Re: Re: presentation of email
by jasonk (Parson) on Mar 18, 2003 at 21:41 UTC

    It sends the reply to joe, because your from line says 'Joe'. You should use a complete from line, or most people will not be able to reply to you. What you want to appear isn't relevant, it is up to the receivers email client to determine which parts of the address to show.


    We're not surrounded, we're in a target-rich environment!