in reply to Re^4: EMail problem in outlook
in thread EMail problem in outlook
#!/usr/bin/perl use MIME::Lite; use Mail::Sender; open(FH,"file.txt"); while(<FH>) { $var = $_; print "$var\n"; } close(FH); eval { Mail::Sender->new( {from => '', smtp => ''}) ->OpenMultipart({ to => '', subject => 'Subject Here!', multipart => 'related', }) ->Part({ ctype => 'text/html', disposition => 'NONE', msg => $var}) ->Close(); } or print "Error sending mail: $Mail::Sender::Error\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: EMail problem in outlook
by marto (Cardinal) on Aug 25, 2009 at 14:47 UTC | |
|
Re^6: EMail problem in outlook
by james2vegas (Chaplain) on Aug 25, 2009 at 14:44 UTC |