Okay, corrupting the email might be a bad choice of words.
The problem I'm actually having is I can only send one header, either "From:" or "Content-Type:" , if I try send multiple headers
eg. "Content-Type: text/html\r\nFrom: mail@mail.co.za"
only the Content-Type: will apply and the From: will just write into the body of the email. If I change the order, the first header works, the others just write to the body.
I'm using an Apache box.
Is it possible that the mail server only accepts one header. I do not directly control the mail server!
Thanks