By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,719 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,719 IT Pros & Developers. It's quick & easy.

Sending mime data to a SMTP server

P: n/a
I need to send a mail message to an SMTP server.
The .net framework provides System.Net.Mail namespace to send an email:
- Build a System.Net.Mail.MailMessage and send it using SmtpClient
The message that I have to send is already in the form of a MIME stream
(multipart, attachments and digitally signed), so using the classes of
the System.Net.Mail namespace I have to:
- parse the MIME
- Extract the components
- Build a MailMessage instance using the components coming from the
mime
- send it using smtpclient

At the end the MailMessage is again converted in a MIME data stream and
sent to the server.

I would like to avoid to parse the MIME and create the MailMessage
directly from the MIME or in alternative, sending the data using
directly the SMTP commands.

Can you suggest me a different solution or give me a pointer to a free
MIME parsing library and/or a free smtp client library?

regards

Fabrizio

Nov 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

you can try:
http://www.lumisoft.ee/lswww/download/downloads/
But i dont support mime signing directly, you need to construct all mime
parts manually.
<fa***************@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>I need to send a mail message to an SMTP server.
The .net framework provides System.Net.Mail namespace to send an email:
- Build a System.Net.Mail.MailMessage and send it using SmtpClient
The message that I have to send is already in the form of a MIME stream
(multipart, attachments and digitally signed), so using the classes of
the System.Net.Mail namespace I have to:
- parse the MIME
- Extract the components
- Build a MailMessage instance using the components coming from the
mime
- send it using smtpclient

At the end the MailMessage is again converted in a MIME data stream and
sent to the server.

I would like to avoid to parse the MIME and create the MailMessage
directly from the MIME or in alternative, sending the data using
directly the SMTP commands.

Can you suggest me a different solution or give me a pointer to a free
MIME parsing library and/or a free smtp client library?

regards

Fabrizio

Nov 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.