470,820 Members | 1,617 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,820 developers. It's quick & easy.

Sending mime data to a SMTP server

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
1 2740
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.

Similar topics

15 posts views Thread by Sven Templin | last post: by
17 posts views Thread by Bonj | last post: by
reply views Thread by michi | last post: by
4 posts views Thread by Robert McNally | last post: by
8 posts views Thread by windandwaves | last post: by
7 posts views Thread by 3KWA | last post: by
3 posts views Thread by swethak | last post: by
31 posts views Thread by happyse27 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.