in reply to Sending Mail from Perl Script
use strict; use warnings; use MIME::Lite; ### Create a new multipart message: my $msg = MIME::Lite->new( From =>'me@myhost.com', To =>'you@yourhost.com', Cc =>'some@other.com, some@more.com', Subject =>'A message with 2 parts...', Type =>'multipart/mixed' ); ### use Net:SMTP to do the sending $msg->send('smtp','some.host', Debug=>1 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending Mail from Perl Script
by Niner710 (Sexton) on Apr 30, 2008 at 04:41 UTC | |
by thezip (Vicar) on Apr 30, 2008 at 05:12 UTC | |
by Niner710 (Sexton) on Apr 30, 2008 at 16:02 UTC |