Re: send email using c# without using CDONTS
From: psg (pgrodzki_at_ki.net.pl)
Date: 05/23/04
- Next message: Francois Beaussier: "Re: Adding multiple enum items"
- Previous message: Francois Beaussier: "Re: Redraw the hole Desktop"
- In reply to: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Next in thread: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Reply: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Francois Beaussier: "Re: Adding multiple enum items"
- Previous message: Francois Beaussier: "Re: Redraw the hole Desktop"
- In reply to: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Next in thread: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Reply: Patrick de Ridder: "Re: send email using c# without using CDONTS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|