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);


many thanks,
byron





_______________________________________________________
http://inbox.excite.com


_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to