A slightly more informative example:
use strict; use Email::Sender::Simple qw(sendmail); use Email::Simple; use Email::Simple::Creator; my $email = Email::Simple->create( header => [ To => '"Xavier Q. Ample" <x.ample@example.com>', From => '"Bob Fishman" <orz@example.mil>', Subject => "don't forget to *enjoy the sauce*", ], body => "This message is short, but at least it's cheap.\n", ); sendmail($email);
I started by entering Email::Sender::Simple into Google. That got me to the cpan page. Under "See Instead" was a link to Email::Sender::Manual::Quickstart which had the above example, and more details.
In reply to Re: Email::Sender does not work and I don't know where to start figuring it out
by GotToBTru
in thread Email::Sender does not work and I don't know where to start figuring it out
by xtpu2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |