Re: send email using c# without using CDONTS

From: psg (pgrodzki_at_ki.net.pl)
Date: 05/23/04


Date: Sun, 23 May 2004 20:07:51 +0200


"Patrick de Ridder" <wantnospam@all.here> wrote in message
news:18e26$40b0d673$3e159d28$22274@freeler.nl...
> Yes, it exists. The app. runs ok if the connection is already established,
> but not if it isn't.

You mean connection with your server in SMTP protocol, or connection with
the Internet?
Most probably it is connection with the Internet that is not established at
the moment of error. Address smtp.xxxxx.yy must be translated to IP with
help of DNS server, if DNS is not available then name query will rise an
error mentioned before. I suggest you to simply catch this exception and
inform user about it in more understandable way. You may also think about
trying to establish a connection, but that is a different issue.

        RGDS PSG



Relevant Pages

  • Re: Added router, lost web site
    ... Did your ISP create a DNS record for your FQDN? ... > really have a direct connection. ... > Internet connection information: ... > Preferred DNS server: someisp DNS server address ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot find server or DNS Error
    ... Did you have configured a forwarder on your DNS server to the ISP's DNS server? ... If your internal DNS has no connection to internet or does not know where to forward the request the name resolution stops here. ... you may need to adjust your browser settings. ...
    (microsoft.public.windows.server.dns)
  • Re: What does the "Configure email and Internet Connection Wizard"
    ... > the CEICW does (listed under "Configure Email and Internet Connection ... > Configure E-mail and Internet Connection Wizard is designed to correctly ... > configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)
  • Re: What does the "Configure email and Internet Connection Wizard"
    ... Understanding the Configure E-mail and Internet Connection WizardThe ... Configure E-mail and Internet Connection Wizard is designed to correctly ... configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)
  • Re: CEICW & software updates...
    ... I would suggest using Direct Broadband Connection. ... The DSL router does connect directly to the internet. ... >>> DNS returned ok. ... >>> Call to Clearing DNS server entries on the LAN NIC returned ok. ...
    (microsoft.public.windows.server.sbs)