Re: Sending mail without a callback
- From: chas.owens@xxxxxxxxx (Chas Owens)
- Date: Thu, 31 May 2007 12:15:26 -0400
On 5/31/07, Ben Edwards <funkytwig@xxxxxxxxx> wrote:
Have been googleing for a while and don't seem to be able to find asnip
perl library which allows me to send an email without having to resort
to a callback. Can someone please point me in the correct direction.
use Mail::Sender;
my $sender = Mail::Sender->new(
{
smtp => 'mail.yourdomain.com',
from => 'your@xxxxxxxxxxx'
}
);
$sender->MailFile(
{
to => 'some@xxxxxxxxxxx',
subject => 'Here is the file',
msg => "I'm sending you the list you wanted.",
file => 'filename.txt'
}
);
.
- References:
- Sending mail without a callback
- From: Ben Edwards
- Sending mail without a callback
- Prev by Date: Re: did I get greedy quantifiers wrong ?
- Next by Date: Re: Outlook CSV Parser
- Previous by thread: Sending mail without a callback
- Index(es):
Relevant Pages
|
|