Adding custom Mail header to System.Net.Mail.MailMessage
- From: asnowfall@xxxxxxxxx
- Date: 12 Jan 2006 16:20:34 -0800
I am creating MailMessage out of already existing email message.
My existing message has few custom properties. I wan to add them to
System.Net.Mail.MailMessage
How to add custom properties?
I was thinking adding custom properties to
System.Net.Mail.MailMessage.Headers. but it's a READONLY property.
System.Net.Mail.MailMessage has few header fields as properties (eg:
FROM, TO, CC) and these are not sufficient.
So, if I have to use System.Net.Mail.MailMessage, do I have to ignore
the custom header properties?
Thanks
Ramesh
.
- Follow-Ups:
- Re: Adding custom Mail header to System.Net.Mail.MailMessage
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Adding custom Mail header to System.Net.Mail.MailMessage
- Prev by Date: Re: File Uploading issue
- Next by Date: create dynamic object[]
- Previous by thread: datagrid for C#..
- Next by thread: Re: Adding custom Mail header to System.Net.Mail.MailMessage
- Index(es):
Relevant Pages
|