On Fri, Aug 3, 2012 at 6:17 AM, Mike Blezien <mick...@frontiernet.net> wrote:
> my($msg);
>
>     $msg = MIME::Lite->new(
>                  From        => 'f...@mydomain.com',
>                  To            => 't...@anotherdomain.com',
>                  Reply-To    => 'repl...@mydomain.com',

The dash throws off the supercomma - try $msg->print()
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Mailer: MIME::Lite 3.028 (F2.77; T1.31; A2.09; B3.13; Q3.13)
Date: Fri, 3 Aug 2012 11:11:04 -0500
From: f...@mydomain.com
To: t...@anotherdomain.com
Subject: Simple Test Email

This is a simple test message using MIME::Lite.

quote the field
  'Reply-To'  => ...

and you get
Date: Fri, 3 Aug 2012 11:12:34 -0500
From: f...@mydomain.com
To: t...@anotherdomain.com
Reply-To: repl...@mydomain.com
Subject: Simple Test Email

This is a simple test message using MIME::Lite.

-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to