Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

Got a strange problem here...

Basically, our application sends out an email with a custom X-Header. On the dev box, the header comes out in mixed case (eg "X-EmailID"), but when we move the app to the live box, the header in the email is converted to lower case (e.g. "x-emailid")

I need to keep the capitalisation. Has anyone seen this before, and did you find a solution?

I've googled this but haven't found much, other than people saying they have seen the problem but no fix - there has to be some config that is different between the two boxes, surely!?!

Any help greatly appreciated

Baz
Posted

1 solution

Try to use the System.Web.Mail classes, which make use of Microsoft's Collaboration Data Objects to send emails. Ignore compiler's warning messages for obsolete classes.

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900