Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use Email::Foo; my $msg = Email::Foo->new(); $msg->smtp_server('smtp.mydomain.com'); $msg->set_from('me@mydomain.com'); $msg->add_recipient('joe@domain.com'); $msg->add_recipient('larry@otherdomain.com'); $msg->set_subject('Regarding your widget purchase'); $msg->set_body(<<'END_MSG'); Hello, Good Sir! Would you like a free cookie with your orange juice? My hovercraft is full of eels! Please remember to wear a sweater when crossing the street. Regards, Mortimer J. Paulinskil END_MSG $msg->send() or print $msg->error();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simplest module for sending email
by mr_mischief (Monsignor) on Oct 11, 2007 at 17:29 UTC | |
|
Re: Simplest module for sending email
by GrandFather (Saint) on Oct 11, 2007 at 17:51 UTC | |
|
Re: Simplest module for sending email
by hangon (Deacon) on Oct 11, 2007 at 19:12 UTC | |
|
Re: Simplest module for sending email
by sago (Scribe) on Oct 12, 2007 at 06:15 UTC | |
|
Re: Simplest module for sending email
by Hercynium (Hermit) on Oct 11, 2007 at 19:34 UTC | |
|
Re: Simplest module for sending email
by dwm042 (Priest) on Oct 11, 2007 at 23:53 UTC | |
|
Re: Simplest module for sending email
by leocharre (Priest) on Oct 11, 2007 at 19:32 UTC | |
|
Re: Simplest module for sending email
by chrism01 (Friar) on Oct 12, 2007 at 00:56 UTC | |
|
Re: Simplest module for sending email
by DrHyde (Prior) on Oct 12, 2007 at 10:54 UTC |