D
doug.hughes
Hi
I wrote an email queuing application in ASP / CDO, which uses a
database as it's source. It reads email parameters (From, To, Subject,
etc.) from a database, constructs then sends mail messages.
It also stores attachments in a database binary field and
programatically attaches them to the mail message.
With CDO, a call to Message.Attachments.Add returns a message body
part. The content of the body part can then be set (using a stream
filled from the database binary field), together with the content type
and encoding.
This all works fine, but now I need to port the code to C# / .NET.
I thought this would be a piece of cake with .NET, but apparantly not!
Can anyone give me any pointers where to start?
Thanks in advance
Doug
I wrote an email queuing application in ASP / CDO, which uses a
database as it's source. It reads email parameters (From, To, Subject,
etc.) from a database, constructs then sends mail messages.
It also stores attachments in a database binary field and
programatically attaches them to the mail message.
With CDO, a call to Message.Attachments.Add returns a message body
part. The content of the body part can then be set (using a stream
filled from the database binary field), together with the content type
and encoding.
This all works fine, but now I need to port the code to C# / .NET.
I thought this would be a piece of cake with .NET, but apparantly not!
Can anyone give me any pointers where to start?
Thanks in advance
Doug