system.net.mail vs CDO.message RRS feed

  • Question

  • Hi,

    We're migrating from windows 2003 to 2008 32bits (not R2)

    and we facing problems sending mails from a winform app.

    I've setup a simple vbscript in order to test and a console app as well.

    everything goes well while seding emails using the vbsccript (CDO.message) but failed when using the console app (using the System.Net.Mail namespace)

    i run both as the same user account, targeting the same smtp server with the same credentials on the same smtp port.

    Any idea?

    Friday, September 14, 2012 2:53 PM

All replies

  • What is the error message you get? Give more details.

    In mean time, you can check these links:




    Saturday, September 15, 2012 2:04 AM
  • The returned error is the following one: "Unable to connecet to remote server" "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"

    Monday, September 17, 2012 7:18 AM
  • I've installed Windows Live Mail on the server and i configured the mail account.

    No mail can be sent either. i guessing there a configuration problem somewhere.

    All firewall settings seems ok since i'm able to sent mail using the vbscript.

    any help would be appreciated

    Monday, September 17, 2012 9:00 AM