472,986 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,986 software developers and data experts.

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 2831
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
17
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate...
0
by: michi | last post by:
Hello :) When I execute following asp.net code **** Web.Mail.SmtpMail.SmtpServer = "squadron" Web.Mail.SmtpMail.Send("wwwmike@gmx.ch", "wwwmike@gmx.ch", "subj", "message") ****
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
4
by: Robert McNally | last post by:
Hello, I'm currently learning c# and have been trying to write a simple program with sockets. The problem is i'm trying to send an email with an attachment, (which is the program itself) by...
8
by: windandwaves | last post by:
Hi Folk I want to send out a basic newsletter from my MySql database of contacts. Does anyone know a nice and simple bit of PHP that allows me to do this? TIA - Nicolas
7
by: 3KWA | last post by:
Hi all, I tried to send a small mailing list using python today (2036 emails). For that purpose I looked in the doc for some code examples (I had never done it before). And I ended up writing...
3
by: swethak | last post by:
Hi, i placed the php in windows server 2003 manually , set the path in Environmental variables , and place the php.ini file in windows. Now php works fine in my server sytem.When i write the...
31
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.