Click here to Skip to main content
15,886,110 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionwww.bozemanblog.com Pin
aleks_malcev6-Mar-07 2:05
aleks_malcev6-Mar-07 2:05 
QuestionMultiple projects in 1 solution Pin
aasstt5-Mar-07 23:05
aasstt5-Mar-07 23:05 
AnswerRe: Multiple projects in 1 solution Pin
sakssp5-Mar-07 23:36
sakssp5-Mar-07 23:36 
AnswerRe: Multiple projects in 1 solution Pin
Hesham Amin6-Mar-07 0:11
Hesham Amin6-Mar-07 0:11 
QuestionAn app in .NET 2 with WPF Rendering? Pin
Manaxter5-Mar-07 21:01
Manaxter5-Mar-07 21:01 
AnswerRe: An app in .NET 2 with WPF Rendering? Pin
Mike Dimmick6-Mar-07 2:37
Mike Dimmick6-Mar-07 2:37 
Question"Polling" the SMTP server before .SEND("",""..) Pin
bgriffin_tpa5-Mar-07 16:38
bgriffin_tpa5-Mar-07 16:38 
AnswerRe: "Polling" the SMTP server before .SEND("",""..) Pin
Dave Kreskowiak6-Mar-07 2:47
mveDave Kreskowiak6-Mar-07 2:47 
bgriffin_tpa wrote:
Isn't: System.Net.Mail.SmtpClient("svr")
supposed to return a value?


No, SmtpClient is a class, not a method. Perhaps you were thinking of the SmtpClient.Send() method? But it also doesn't return a value. If something goes wrong, it will only throw one of six exceptions, documented here[^].


bgriffin_tpa wrote:
Anybody know right off the top of their head how
to ping /poll the SMTP server before hitting


You can ping the target server, but there is nothing that says that the target server has to respond to that ping. It's also entirely possible that the target is sitting behind a firewall, blocking ICMP Echo requests, thereby neutering your attempt to "test" the server's presence.

Basically, you can try to ping the server, but it's no guarantee that the server is, or isn't, actually there and responding. The only thing you can do is try to send the message and see what happens.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: "Polling" the SMTP server before .SEND("",""..) Pin
bgriffin_tpa6-Mar-07 6:24
bgriffin_tpa6-Mar-07 6:24 
QuestionWorkItem Serialization Pin
Luka Grabarevic4-Mar-07 22:51
Luka Grabarevic4-Mar-07 22:51 
QuestionFileSystemWatcher - user who performs the changes Pin
Member 29890824-Mar-07 22:01
Member 29890824-Mar-07 22:01 
QuestionTo execute post-build event condition of managed projects for specific configuration Pin
Mushtaque Nizamani3-Mar-07 21:08
Mushtaque Nizamani3-Mar-07 21:08 
AnswerRe: To execute post-build event condition of managed projects for specific configuration Pin
kubben4-Mar-07 11:16
kubben4-Mar-07 11:16 
QuestionWord or Excel , get opened file name Pin
Muhammad Nauman Yousuf3-Mar-07 8:02
Muhammad Nauman Yousuf3-Mar-07 8:02 
QuestionIs WPF fast enough for real time? Pin
Epinephrine3-Mar-07 5:30
Epinephrine3-Mar-07 5:30 
AnswerRe: Is WPF fast enough for real time? Pin
Dave Kreskowiak3-Mar-07 10:36
mveDave Kreskowiak3-Mar-07 10:36 
AnswerRe: Is WPF fast enough for real time? Pin
Scott Dorman4-Mar-07 7:30
professionalScott Dorman4-Mar-07 7:30 
QuestionFile copying in network Pin
tonyalex2-Mar-07 2:46
tonyalex2-Mar-07 2:46 
AnswerRe: File copying in network Pin
Pete O'Hanlon2-Mar-07 8:54
mvePete O'Hanlon2-Mar-07 8:54 
QuestionShow Bitmap Handle to Picture Control Pin
priyank_ldce1-Mar-07 23:55
priyank_ldce1-Mar-07 23:55 
AnswerRe: Show Bitmap Handle to Picture Control Pin
prasad_som2-Mar-07 2:53
prasad_som2-Mar-07 2:53 
QuestionWeb.config, Global.asax Pin
Kusal1-Mar-07 17:09
Kusal1-Mar-07 17:09 
AnswerRe: Web.config, Global.asax Pin
Luka Grabarevic4-Mar-07 23:54
Luka Grabarevic4-Mar-07 23:54 
Questionrunning Appliaction on Pocket PC Pin
Blue_Boy1-Mar-07 4:46
Blue_Boy1-Mar-07 4:46 
GeneralExtending XML Comments Pin
Brady Kelly1-Mar-07 2:22
Brady Kelly1-Mar-07 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.