in reply to alternatives to postmail?
Once you get that far, the main trick will be to build up the body of the message by concatenating to a string, and then doing something like:
my %mail; $mail{'From'} = 'me@example.com'; $mail{'To'} = 'you@example.com'; $mail{'Subject'} = 'The moon is blue'; $mail{'Body'} = $some_humongous_string; sendmail( %mail ) or warn "sendmail error: $Mail::Sendmail::error\n" +;
An alternative is to use Net::SMTP, which has a number of fans around here. I've used it a couple of times with satisfactory results.
In any event, you should be able to drag postmail to the recycle bin in short order!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: `postmail
by Gerard (Pilgrim) on May 30, 2002 at 03:15 UTC |