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

Sending e-mail using a Simple MAPI client from .NET

P: n/a
Hi,

I'm writing a Windows Forms application in .NET and I need to send an
e-mail from it. As it's NOT asp.net, I don't have access to an SMTP
server so I will have to send the e-mail using Simple MAPI.

I can't seem to find a way of doing this in .NET as it seems .NET has no
MAPI support (amazingly!).

How can I reliably send an e-mail from a Windows Forms app from .NET?
Preferably it should work regardless of the e-mail client (Outlook,
Outlook Express, Thunderbird, Eudora etc) as I obviously won't know
which email client they're using...

If anybody has some sample code or knows of any online articles that
cover this which I haven't been able to find, that would be very helpful.

Thanks,

Nick...
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Nick,

You may try to wrap CDO, a COM, into .NET to perform your
task.

HTH

Elton Wang
el********@hotmail.com
-----Original Message-----
Hi,

I'm writing a Windows Forms application in .NET and I need to send ane-mail from it. As it's NOT asp.net, I don't have access to an SMTPserver so I will have to send the e-mail using Simple MAPI.
I can't seem to find a way of doing this in .NET as it seems .NET has noMAPI support (amazingly!).

How can I reliably send an e-mail from a Windows Forms app from .NET?Preferably it should work regardless of the e-mail client (Outlook,Outlook Express, Thunderbird, Eudora etc) as I obviously won't knowwhich email client they're using...

If anybody has some sample code or knows of any online articles thatcover this which I haven't been able to find, that would be very helpful.
Thanks,

Nick...
.

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.