Author: newbie2C# | Posted on: 9/13/2010 6:13:49 PM | Views : 296

I've created some custom headers for my emails.  I've used a breakpoint to see that they are being added to the collection correctly.  I don't understand how to access these from the email that's generated though.  I'm currently dropping the emails into a pickup directory on my local machine and viewing them with Windows Mail.  I have "view all" headers checked in Windows mail but still don't see them when I open my emails in the pick up directory.
Can someone please tell me how to access the headers that I added?  Below is an example of how I did it.  I'm hoping to add things like name, address, phone... etc, and then have them visible in the email.  
Is this even the correct use of custom headers? 

message.Headers.Add("X-Name", txtName.Text);



 
...

Go to the complete details ...