Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make sendmail use existing header & body?

Status
Not open for further replies.

gnubie

Programmer
Apr 16, 2002
103
US
MIME::Lite creates a proper header & body and sends it to *nix sendmail.

I used MIME::Lite to create same on my local PC and now want to upload it and use sendmail to send it. I'm using the same sendmail parameters as MIME::Lite (-t -oi -oem), but when the message arrives at destination, the message body contains the header information as message text.

I can't send just the body, because sendmail needs to use the proper message type, which varies.

Any idea how to send it to sendmail and make it use the exisiting header & body I provide?

Thanks,

GN
 
Thanks for your response.

I've since learned that the sendmail options (-t -oi -oem) will work with a MIME::Lite prepared e-mail. Knowing that, I focused on the code Lite generated and discovered that I had unintentionally inserted additional lines which interferred w/sendmail.

Thanks.
GN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top