in reply to How to send mail containing multiple lines using Mail::Mailer?

From the manual page, is seems that
print $mailer $mailContents;

is the required syntax. Did you try that? It seems that the $mailer object is really a filehandle.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: How to send mail containing multiple lines using Mail::Mailer?
  • Download Code

Replies are listed 'Best First'.
Re^2: How to send mail containing multiple lines using Mail::Mailer?
by davorg (Chancellor) on Mar 14, 2007 at 11:09 UTC
Re^2: How to send mail containing multiple lines using Mail::Mailer?
by vennirajan (Friar) on Mar 14, 2007 at 11:47 UTC
    Yes, I have tried this way also. But unfortunately, that one also failed :(