in reply to Re: Re: Sendmail problems
in thread Sendmail problems
You might try Mail::Sender then. It can give you a tied "filehandle" that you can print the message into.
use Mail::Sender; ... my $sender = Mail::Sender->new(); $sender->Open({to => ..., from => ..., subject => ..., ...}); local *SENDMAIL = $sender->GetHandle(); print SENDMAIL "Hello there\nThis is the message!"; close SENDMAIL;
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
|
|---|