On Mon, Apr 26, 2004 at 11:19:49 -0500, Jane Dylan wrote:
> In order the help out the more "technically
> challenged" recipients, I want the image to
> display inline with the message text and not
> require extra steps to detach and view.
This is how I do it:
#!/usr/bin/perl -w
use strict;
use Mail::Sender;
my $sender;
ref ($sender = new Mail::Sender({from => '[EMAIL PROTECTED]',
smtp => 'your.smtp.server'}))
or die "$Mail::Sender::Error\n";
ref ($sender->MailFile({to =>'[EMAIL PROTECTED]',
msg=>"Here's your daily image\r\n\r\n",
subject => 'Daily image',
file => 'image.gif',
disposition => 'inline'}))
or die "$Mail::Sender::Error\n";
Cheers,
John
--
An X terminal is a perfect solution when your users are even more
monumentally stupid that the idea of X terminals.
-- Paul Tomblin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html