By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,160 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,160 IT Pros & Developers. It's quick & easy.

How to test if an SMTP server exists from a VB.net application

P: n/a
I need to check if an SMTP server exist (not a local one).

How can I check if an SMTP server exists from my application?

Regards,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
dino, this is not starting to sound so good. are you planning to spam w/
your software?

connect to an smtp port and "helo" the port...if you can connect to the port
AND get a "helo" back, chances are you've found one.
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:5C********************@news2.telusplanet.net. ..
I need to check if an SMTP server exist (not a local one).

How can I check if an SMTP server exists from my application?

Regards,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com

Nov 20 '05 #2

P: n/a
Actually, I am building an application that does auto emailing when certain
action is done. I added an option to update settings for smtp server
address so I don't have to hardcode it. I am just thinking that I should be
able to check if the server exists once I update the smtp server info to
make sure, I can leave the settings and they will work.

How to send an HELLO? Just by smtpserver.send("Hello")? or....?

Thanks,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com

PS. No, spamming is not my option.

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
dino, this is not starting to sound so good. are you planning to spam w/
your software?

connect to an smtp port and "helo" the port...if you can connect to the port AND get a "helo" back, chances are you've found one.
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:5C********************@news2.telusplanet.net. ..
I need to check if an SMTP server exist (not a local one).

How can I check if an SMTP server exists from my application?

Regards,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com


Nov 20 '05 #3

P: n/a
search the internet for the smtp rfc...the command is "helo" (one l)...you
s/b able to find all the commands and responses online.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:6mEbb.5934$0a6.4437@edtnps84...
Actually, I am building an application that does auto emailing when certain action is done. I added an option to update settings for smtp server
address so I don't have to hardcode it. I am just thinking that I should be able to check if the server exists once I update the smtp server info to
make sure, I can leave the settings and they will work.

How to send an HELLO? Just by smtpserver.send("Hello")? or....?

Thanks,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com

PS. No, spamming is not my option.

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
dino, this is not starting to sound so good. are you planning to spam w/
your software?

connect to an smtp port and "helo" the port...if you can connect to the

port
AND get a "helo" back, chances are you've found one.
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:5C********************@news2.telusplanet.net. ..
I need to check if an SMTP server exist (not a local one).

How can I check if an SMTP server exists from my application?

Regards,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com



Nov 20 '05 #4

P: n/a
I found that, but I can not call "helo" from VB.net. That is the problem
"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
search the internet for the smtp rfc...the command is "helo" (one l)...you
s/b able to find all the commands and responses online.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:6mEbb.5934$0a6.4437@edtnps84...
Actually, I am building an application that does auto emailing when certain
action is done. I added an option to update settings for smtp server
address so I don't have to hardcode it. I am just thinking that I should be
able to check if the server exists once I update the smtp server info to
make sure, I can leave the settings and they will work.

How to send an HELLO? Just by smtpserver.send("Hello")? or....?

Thanks,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com

PS. No, spamming is not my option.

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
dino, this is not starting to sound so good. are you planning to spam w/ your software?

connect to an smtp port and "helo" the port...if you can connect to the port
AND get a "helo" back, chances are you've found one.
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in

message news:5C********************@news2.telusplanet.net. ..
> I need to check if an SMTP server exist (not a local one).
>
> How can I check if an SMTP server exists from my application?
>
> Regards,
>
> --
> Dino Buljubasic
> Software Developer
> http://rivusglobal.com
>
>



Nov 20 '05 #5

P: n/a
if you post a snippet of your code, we might be able to help a bit more.
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:kVIbb.154$vz6.94@edtnps84...
I found that, but I can not call "helo" from VB.net. That is the problem
"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
search the internet for the smtp rfc...the command is "helo" (one l)...you
s/b able to find all the commands and responses online.

"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:6mEbb.5934$0a6.4437@edtnps84...
Actually, I am building an application that does auto emailing when certain
action is done. I added an option to update settings for smtp server
address so I don't have to hardcode it. I am just thinking that I

should
be
able to check if the server exists once I update the smtp server info to make sure, I can leave the settings and they will work.

How to send an HELLO? Just by smtpserver.send("Hello")? or....?

Thanks,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com

PS. No, spamming is not my option.

"steve" <as*@abc.com> wrote in message
news:vm************@corp.supernews.com...
> dino, this is not starting to sound so good. are you planning to

spam w/ > your software?
>
> connect to an smtp port and "helo" the port...if you can connect to the port
> AND get a "helo" back, chances are you've found one.
>
>
> "Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message > news:5C********************@news2.telusplanet.net. ..
> > I need to check if an SMTP server exist (not a local one).
> >
> > How can I check if an SMTP server exists from my application?
> >
> > Regards,
> >
> > --
> > Dino Buljubasic
> > Software Developer
> > http://rivusglobal.com
> >
> >
>
>



Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.