Getting Mime DateTime in .NET
Posted by: Rick Strahls WebLog,
on 31 Jan 2006 |
View original | NEW Bookmarked: 0 time(s)
I'm working a parser that's parsing and updating some raw Email headers and I realized while working on this that my mail component was not properly setting the mail headers when sending email. This code predates .NET 2.0 so I had originally created a custom component.
Sounds easy enough, but dates in email messages need to be Mime encoded. I figured there must be something in .NET that converts Time strings to Mime and GTM values, but after experimenting around with various time formats I...