Great Circle Associates Majordomo-Workers
(October 2002)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Majordomo: help with sendmail sub
From: Lee Leahu <lee @ ricis . com>
Organization: RICIS, Inc.
Date: Tue, 29 Oct 2002 10:31:53 -0600
To: majordomo-workers @ greatcircle . com


I have been looking at the main'sendmail subroutines in the majordomo.pl file.

    local($MAIL) = shift;
    local($to) = shift;
    local($subject) = shift;
    local($from) = $mail_from;
    local($sender) = $mail_sender;
    # The following eval expands embedded variables like $sender
    local($mail_cmd) = eval qq/"$mail_prog"/;
    local($isParent);
    if ($#_ >= $[) { $from = shift; }
    if ($#_ >= $[) { $sender = shift; }


If i print out the contents of $MAIL, it shows either as 'AUTH' or as 'REPLY' when
a confirmation message is send to a user.

What I want to do is be able to print out the actual message that is sent to the user.
Can anyone explain how to do this?



-- 
+----------------------------------+---------------------------------+
| Lee Leahu                        | voice -> 708-444-2690           |
| Internet Technology Specialist   | fax -> 708-444-2697             |
| RICIS, Inc.                      | email -> lee@ricis.com          |
+----------------------------------+---------------------------------+
| I cannot conceive that anybody will require multiplications at the |
| rate of 40,000 or even 4,000 per hour ...                          |
|		-- F. H. Wales (1936)                                |
+--------------------------------------------------------------------+


Follow-Ups:
Indexed By Date Previous:
From: (nil)
Next: Re: Majordomo: help with sendmail sub
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Indexed By Thread Previous:
From: (nil)
Next: Re: Majordomo: help with sendmail sub
From: Jason L Tibbitts III <tibbs@math.uh.edu>

Google
 
Search Internet Search www.greatcircle.com