It looks like the Quoted Printable encoding is seeing your newline characters and encoding them. Do you see the same thing if you print out \r\n at the end of your line?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a really weird one. On my local Linux box and on my ISP's smtp server (Comcast) My output for my emails look like the following.
Contact Us - Comments
Email: test@test.com
Comments: User Comments
But when sent from my host's smtp server the emails come out like this.
Contact Us - Comments=a=aEmail:test@test.com=aomments: User Comments
Any idea why?
It looks like the Quoted Printable encoding is seeing your newline characters and encoding them. Do you see the same thing if you print out \r\n at the end of your line?