Send Email from a Windows App

  • Thread starter Thread starter Filippo
  • Start date Start date
F

Filippo

Hi there,
I have a simple Windows App that needs to send an email.
If I were using ASP.NET, I would use the System.Web.Mail

What can I use in the Windows App Environment?

I don't want to purchase any 3rd party, quite obviously :)

Thanks,
F.
 
Hi there,
I have a simple Windows App that needs to send an email.
If I were using ASP.NET, I would use the System.Web.Mail

What can I use in the Windows App Environment?

I don't want to purchase any 3rd party, quite obviously :)

Thanks,
F.


Well, you already answered your own question :) Use System.Web.Mail.
You just need to add a reference to System.Web and off you go :)

Tom Shelton
 
Hi all in the thread,

I have seen cases when System.Web.Mail didn't work as expected. I think this
is due to the underlying API it employs. I usually prefer COM Interop to
CDO - it allows specifying an arbitrary mail server as well as to have
control on many other aspects.
 
Back
Top