Help with Mail::Audit module
From: Ichthus (Ichthus.19o6dn_at_mail.codecomments.com)
Date: 07/20/04
- Previous message: Scott W Gifford: "Re: How to handle input and output of a program executed by System function in perl"
- Next in thread: Jim Keenan: "Re: Help with Mail::Audit module"
- Reply: Jim Keenan: "Re: Help with Mail::Audit module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jul 2004 00:43:22 GMT
I am trying to use the 'Mail::Audit'
(http://search.cpan.org/~simon/Mail-Audit-2.1/Audit.pm) module for a
small project i am working on, mainly using the resend() function. I
have that working, but I would like to add a footer to the email before
resending it. Is this possible using the reference that body() returns?
The documentation states the following:
> BODY
>
> Returns a reference to an array of lines in the body of the email.
>
I am a beginner perl programmer, but have extensive experience with PHP
and C++. This description indicates to me that it returns an actual
reference (pointer) to the array, so I should be able to modify it. I
tried every possile combination of array references that I could think
of, but I could not get it to edit the body of the email that gets
resent.
If you could let me know the two lines of code that I need to get this
reference and then just add a line to the end of the email body, I can
take it from there.
Thanks SO much in advance,
Kevin
-- Ichthus ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------
- Previous message: Scott W Gifford: "Re: How to handle input and output of a program executed by System function in perl"
- Next in thread: Jim Keenan: "Re: Help with Mail::Audit module"
- Reply: Jim Keenan: "Re: Help with Mail::Audit module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|