in reply to Trying to send a nicely formatted email -> GMail
my $email = Email::MIME->create( header_str => [ From => [ "cdatwitter\@grumble.edu" ], To => [ "gbecker\@grumble.edu" ], Subject => [ "Yes this is for Twitter" ], ], parts => [ @parts ], );
You are using arrayrefs for everything - that isn't how the synopsis shows you to use the header_str field. Try:
my $email = Email::MIME->create( header_str => [ From => 'cdatwitter@grumble.edu', To => 'gbecker@grumble.edu', Subject => 'Yes this is for Twitter', ], parts => [ @parts ], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trying to send a nicely formatted email -> GMail
by thanos1983 (Parson) on Apr 25, 2018 at 16:17 UTC | |
by pryrt (Abbot) on Apr 25, 2018 at 16:41 UTC | |
|
Re^2: Trying to send a nicely formatted email -> GMail
by chexmix (Hermit) on Apr 25, 2018 at 16:19 UTC | |
by poj (Abbot) on Apr 25, 2018 at 16:23 UTC | |
by chexmix (Hermit) on Apr 30, 2018 at 19:30 UTC |