in reply to Sending Mail trough Perl using ActivePerl on windows
I'd use MIME::Lite. Consider:
use strict; use warnings; use MIME::Lite; # Configure smtp server - required one time only MIME::Lite->send ("smtp", "smtp.server.com"); my $msg = MIME::Lite->new ( From => 'wibble@wobble.com', To => 'foo@boo.com', Data => "A simple test message\n", Subject => "Hello World", ); $msg->send ();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending Mail trough Perl using ActivePerl on windows
by smahesh (Pilgrim) on Jun 20, 2007 at 03:48 UTC |