in reply to Net::SMTP format
I see one obvious problem:
$smtp->datasend('Content-Type: multipart/mixed; boundary="--*B*--"\n\n +');
You're using single quotes and trying to include escape sequences. Those won't be processed and you'll end up with raw \n in your message. Instead:
$smtp->datasend(qq{Content-Type: multipart/mixed; boundary="--*B*--"\n +\n});
As far as getting the rest of the MIME encoding right you're going to have to read the specs or copy the code. Personally I'd work on figuring out how to get MIME::Lite installed on the server instead.
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SMTP format
by barakuda (Initiate) on Mar 12, 2008 at 16:27 UTC |