Re: resend with just header and not body?
darren chamberlain <[email protected]> Tue, 21 Oct 2003 15:59:07 -0400
| Newsgroups | gmane.comp.lang.perl.modules.mail-audit |
|---|---|
| Message-ID | <[email protected]> |
--KjX7LgAomYr70Ka9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Robert Nicholson <robert at elastica.com> [2003-10-16 10:04]:
> Well, In order to get alerts when email arrives I'm currently using the=
=20
> feature at hotmail but I only care about the subject of the message so=20
> is there an easy way to remove
> the body from a Mail::Audit instance?
Well, Mail::Audit::MailInternet isa Mail::Internet, which has a body()
mutator; you should be able to set it to an empty array:
$mail->body([]);
to clear it out.
(darren)
--=20
The secret of life is enjoying the passage of time.
-- James Taylor
--KjX7LgAomYr70Ka9
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: This message is digitally signed and can be verified for authenticity.
iD8DBQE/lZALzsinjrVhZaoRAmLOAKCH9L+0XtF43XwS7Y3VSOAWEq9qAACfYHLi
hSuXafSogwkAuKQqPKCTMTM=
=QuwR
-----END PGP SIGNATURE-----
--KjX7LgAomYr70Ka9--