lmpx.com
  • Home
  • Linux
  • MySQL
  • PHP
  • Perl
  • Python
  • XML
  • News
  1. Home
  2. News
  3. news.gmane.io
  4. gmane.comp.lang.perl.modules.mail-box
  5. #1554

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
Previous Article #1553
Next Article #1555
Topics
  • Linux
  • MySQL
  • PHP
  • Perl
  • Python
  • XML

lmpx.com · Linux, MySQL, PHP/Perl, Python, XML

© 2026 lmpx.com

Home News