Mime::Lite question.
by Christopher Hahn other posts by this author
Nov 6 2002 12:39AM messages near this date
view in the new Beta List Site
RE: TK - stop dos window minimising?
|
Disabling the x in a window.
Hello,
I have this small test script that:
=======================================
use Mime::Lite;
my $ToList = [ "user1\@server.com", "user2\@server.com"];
my $ebody = "TEST EMAIL BODY";
my $msg;
# Define email object
$msg = MIME::Lite-> new(
From => 'user1@server.com',
Subject => "Test Email",
Type => 'multipart/related'
);
$msg-> add("To" => $ToList);
$msg-> attach(Type => 'text/html', Data => $ebody);
MIME::Lite-> send('smtp', "smtp.server.com", Timeout=>60);
$msg-> send;
=======================================
Only the first recipient, in ToList, receives the email. The second
recipient
appears on the header and look fine. In fact, if the first recipient
executes
a Reply-To-All (we are using "LookOut" (sic) for email here) then both users
get a copy of the reply. Reversing the order of the recipients switches who
get a copy.
I first added the users one-by-one, but assigning a arrayref is allowed.
Anyhow
they both had the same bad effect. I do not yet see what I am doing wrong.
Any pointers appreciated. (I am betting that this is another brain-dead
question!)
Christopher
--
There are only 10 types of people in the world:
Those who understand binary and those who don't.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|