Enquires Mail::Send - NewBie
Where can I get the information such as example and howto for Mail:Send CPAN
module? I visited CPAN site but don't understand after reading.
Thanks in advance.
Re: Enquires Mail::Send - NewBie
> Where can I get the information such as example and howto for Mail:Send CPAN
> module? I visited CPAN site but don't understand after reading.
Well, I'ld say there isn't much more to say about Mail::Send.
Here is a stripped example to play around with:
my $msg = new Mail::Send;
$msg->subject('Lunch today ?');
# which mail program you want to use
my $fh = $msg->open('sendmail');
# print the body of the email
print $fh 'Lunch 12:30 in Café de Gare ?';
# close the mail
But I think you would make a better choice by using Net::SMTP or a
classic pipe command to your favourite mail sending program.
|All times are GMT. The time now is 01:27 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.