Click here to Skip to main content
14,382,525 members

.NET Framework

 
Questionwww.bozemanblog.com Pin
aleks_malcev6-Mar-07 3:05
memberaleks_malcev6-Mar-07 3:05 
QuestionMultiple projects in 1 solution Pin
aasstt6-Mar-07 0:05
memberaasstt6-Mar-07 0:05 
AnswerRe: Multiple projects in 1 solution Pin
sakssp6-Mar-07 0:36
membersakssp6-Mar-07 0:36 
AnswerRe: Multiple projects in 1 solution Pin
Hesham Amin6-Mar-07 1:11
memberHesham Amin6-Mar-07 1:11 
QuestionAn app in .NET 2 with WPF Rendering? Pin
Manaxter5-Mar-07 22:01
memberManaxter5-Mar-07 22:01 
AnswerRe: An app in .NET 2 with WPF Rendering? Pin
Mike Dimmick6-Mar-07 3:37
memberMike Dimmick6-Mar-07 3:37 
Question"Polling" the SMTP server before .SEND("",""..) Pin
bgriffin_tpa5-Mar-07 17:38
memberbgriffin_tpa5-Mar-07 17:38 
AnswerRe: "Polling" the SMTP server before .SEND("",""..) Pin
Dave Kreskowiak6-Mar-07 3:47
mveDave Kreskowiak6-Mar-07 3: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 7:24
memberbgriffin_tpa6-Mar-07 7:24 
QuestionWorkItem Serialization Pin
lgrabarevic4-Mar-07 23:51
memberlgrabarevic4-Mar-07 23:51 
QuestionFileSystemWatcher - user who performs the changes Pin
Member 29890824-Mar-07 23:01
memberMember 29890824-Mar-07 23:01 
QuestionTo execute post-build event condition of managed projects for specific configuration Pin
Mushtaque Nizamani3-Mar-07 22:08
memberMushtaque Nizamani3-Mar-07 22:08 
AnswerRe: To execute post-build event condition of managed projects for specific configuration Pin
kubben4-Mar-07 12:16
memberkubben4-Mar-07 12:16 
QuestionWord or Excel , get opened file name Pin
Muhammad Nauman Yousuf3-Mar-07 9:02
memberMuhammad Nauman Yousuf3-Mar-07 9:02 
QuestionIs WPF fast enough for real time? Pin
Epinephrine3-Mar-07 6:30
memberEpinephrine3-Mar-07 6:30 
AnswerRe: Is WPF fast enough for real time? Pin
Dave Kreskowiak3-Mar-07 11:36
mveDave Kreskowiak3-Mar-07 11:36 
AnswerRe: Is WPF fast enough for real time? Pin
Scott Dorman4-Mar-07 8:30
professionalScott Dorman4-Mar-07 8:30 
QuestionFile copying in network Pin
tonyalex2-Mar-07 3:46
membertonyalex2-Mar-07 3:46 
AnswerRe: File copying in network Pin
Pete O'Hanlon2-Mar-07 9:54
protectorPete O'Hanlon2-Mar-07 9:54 
QuestionShow Bitmap Handle to Picture Control Pin
priyank_ldce2-Mar-07 0:55
memberpriyank_ldce2-Mar-07 0:55 
AnswerRe: Show Bitmap Handle to Picture Control Pin
prasad_som2-Mar-07 3:53
memberprasad_som2-Mar-07 3:53 
QuestionWeb.config, Global.asax Pin
Kusal1-Mar-07 18:09
memberKusal1-Mar-07 18:09 
AnswerRe: Web.config, Global.asax Pin
lgrabarevic5-Mar-07 0:54
memberlgrabarevic5-Mar-07 0:54 
Questionrunning Appliaction on Pocket PC Pin
Blue_Boy1-Mar-07 5:46
memberBlue_Boy1-Mar-07 5:46 
GeneralExtending XML Comments Pin
Brady Kelly1-Mar-07 3:22
memberBrady Kelly1-Mar-07 3: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.