Re: Directly changing To & From field in the header
Gilles <[email protected]> Sun, 6 Feb 2005 14:04:58 +0100
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hello.
> $Message->reset('To','[email protected]');
> $Message->reset('From','[email protected]');
"reset" is a method of "Mail::Message::Head", so
you should write
$Message->head->reset('To','[email protected]');
Best,
Gilles