byron wise wrote:
> 
> I am the owner of a script that sends emails to our clients.  When an email
> is undeliverable,  the notification is sent to me by default.  I'm wondering
> how I can change that in my script.  We are wanting those messages to go to
> our Member Services department.
> I bundle the email and send it like this:
> 
> my $message    .=      "To: Joeblow\@hotmail.com\n";
>    $message    .=      "From: Your Friends\n";
>    $message    .=      "Subject: My Subject Here\n\n";
>    $message    .=      "The text and message goes here.\n";
> 
> # Now send the message:
>         open (MAIL,"|/usr/lib/sendmail -t");
>         print MAIL $message;
>         close (MAIL);

Have you tried setting the Reply-To header to where you want the reply 
to go.  Can't guarantee anything since I'm don't know the mechanics of 
your env.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED] 
  / ) /--<  o // //      http://dbecoll.webjump.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to