473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to identify mail server availabitlity for a PC on cable?

I want to build an simple email smtp client app similar to outlook except
with some custom features for a personal computer that uses comcast cable.
The owner of the computer said she doesn't have a comcast email and uses
gmail instead, but the internet service provider is comcast. This computer
also does not have MS Office loaded - otherwise I would open Outlook and see
what mail server it is using.

On my development machine at my home, I use dsl and can access the mail
server from my dsl provider which is the same mail server that my Outlook is
using (actually, I got the mail server from Outlook). And on my workstation
at the workplace (which uses comcast), I can also reach the mail server from
my dsl. But on my friend's personal computer, I could not reach the mail
server from my dsl provider or from her comcast provider. Bottom line - I
don't really know how mail servers and email work - too well. I found a
sample email smtp client app on the net (in C#) which I was able to apply to
my personal computer at my home, and also at my workplace. But same code not
working on my friend's computer - it either can't resolve the mail server or
access denied.

Is there a way I could find what mail server is available for this computer
the way Outlook would find it without having to load Outlook on this
computer?

Thanks,
Rich
Jun 27 '08 #1
4 1731
On Apr 14, 2:28 pm, Rich <R...@discussions.microsoft.comwrote:
I want to build an simple email smtp client app similar to outlook except
with some custom features for a personal computer that uses comcast cable.
The owner of the computer said she doesn't have a comcast email and uses
gmail instead, but the internet service provider is comcast. This computer
also does not have MS Office loaded - otherwise I would open Outlook and see
what mail server it is using.

On my development machine at my home, I use dsl and can access the mail
server from my dsl provider which is the same mail server that my Outlook is
using (actually, I got the mail server from Outlook). And on my workstation
at the workplace (which uses comcast), I can also reach the mail server from
my dsl. But on my friend's personal computer, I could not reach the mail
server from my dsl provider or from her comcast provider. Bottom line - I
don't really know how mail servers and email work - too well. I found a
sample email smtp client app on the net (in C#) which I was able to apply to
my personal computer at my home, and also at my workplace. But same code not
working on my friend's computer - it either can't resolve the mail server or
access denied.

Is there a way I could find what mail server is available for this computer
the way Outlook would find it without having to load Outlook on this
computer?

Thanks,
Rich
I am pretty sure outlook cannot find the mail server by itself. you
will have to enter it yourself.
There is one way you could find it.that is by port scanning the the
netwrok. but i think comcast is not going to like it.
About your connectivity problem... i am not sure if got it right.. but
if you are trying to say that you cannot send email from you comcast
network using ur dsl mail server, it might make sense. I had a similar
problem where comcast would not let me send email using outlook(work
email server). I had to use their(comcast) mail server
Also if your client is using gmail then you could use gmails servers.I
believe comcast only blocks port 25 for sending mail and gmail uses
some higher port number.
Jun 27 '08 #2

"Rich" <Ri**@discussions.microsoft.comwrote in message
news:17**********************************@microsof t.com...
>I want to build an simple email smtp client app similar to outlook except
with some custom features for a personal computer that uses comcast cable.
The owner of the computer said she doesn't have a comcast email and uses
gmail instead, but the internet service provider is comcast. This
computer
also does not have MS Office loaded - otherwise I would open Outlook and
see
what mail server it is using.

On my development machine at my home, I use dsl and can access the mail
server from my dsl provider which is the same mail server that my Outlook
is
using (actually, I got the mail server from Outlook). And on my
workstation
at the workplace (which uses comcast), I can also reach the mail server
from
my dsl. But on my friend's personal computer, I could not reach the mail
server from my dsl provider or from her comcast provider. Bottom line - I
don't really know how mail servers and email work - too well. I found a
sample email smtp client app on the net (in C#) which I was able to apply
to
my personal computer at my home, and also at my workplace. But same code
not
working on my friend's computer - it either can't resolve the mail server
or
access denied.

Is there a way I could find what mail server is available for this
computer
the way Outlook would find it without having to load Outlook on this
computer?

Thanks,
Rich
Outlook finds the mail server ( and other details it needs - account name,
password, and some others) by presenting a wizard to the user when it is
first run, and asking them to enter the information, which should have been
provided to them by their ISP. Your application will need to provide
something similar to the user. (Your friend will have to contact their ISP
if they don't have the details.)

Rob

Jun 27 '08 #3
Thanks all for your replies. It sounds like my easiest solution would be to
load Outlook and run the wizard (which is what I meant by Outlook finding the
mail server). One thing where I am a little bit confused is this:

I have dsl at my house. My email works fine at my house. We have comcast
at my workplace. I can enter my dsl mail server and the app sends emails
from my dsl sever fine at the workplace. But my friend also has comcast - is
comcast different for home use than business use? Or is the comcast at the
workplace just using my windows login information to authenticate me?

And I have read something about port 587 is it? for sending email other
than port 25? Do I modify the app config file for this?
"Rich" wrote:
I want to build an simple email smtp client app similar to outlook except
with some custom features for a personal computer that uses comcast cable.
The owner of the computer said she doesn't have a comcast email and uses
gmail instead, but the internet service provider is comcast. This computer
also does not have MS Office loaded - otherwise I would open Outlook and see
what mail server it is using.

On my development machine at my home, I use dsl and can access the mail
server from my dsl provider which is the same mail server that my Outlook is
using (actually, I got the mail server from Outlook). And on my workstation
at the workplace (which uses comcast), I can also reach the mail server from
my dsl. But on my friend's personal computer, I could not reach the mail
server from my dsl provider or from her comcast provider. Bottom line - I
don't really know how mail servers and email work - too well. I found a
sample email smtp client app on the net (in C#) which I was able to apply to
my personal computer at my home, and also at my workplace. But same code not
working on my friend's computer - it either can't resolve the mail server or
access denied.

Is there a way I could find what mail server is available for this computer
the way Outlook would find it without having to load Outlook on this
computer?

Thanks,
Rich
Jun 27 '08 #4
I have dsl at my house. My email works fine at my house. We have comcast
at my workplace. I can enter my dsl mail server and the app sends emails
from my dsl sever fine at the workplace. But my friend also has comcast -
is
comcast different for home use than business use? Or is the comcast at
the
Comcast is an american isp yes?
I would have thought it shouldn't matter who the ISP is as to whether or not
u can connect to an email server, especially on a home account. But if
you're getting through from certain clients then it's more likely there's a
configuration problem on your friend's pc or network gateway. Have you
checked firewalls/router configuration etc?
Port 25 is the most common port that a SMTP email server would listen on for
connections, but that's configurable by the people owning that server and it
could be any "number" especially if there's a mad professor mentality to the
person in charge of installing the server software.
When your software wants to talk to an email server it needs to know the
settings needed to connect to that server eg
IP address, port, requires authentication, user ID, password and whether it
requires SSL. You can store those as fixed values in the app config file, or
you can use configurable user values via settings.settings. Personally I
prefer using values I can change at runtime.
Contact the email service provider to find out which settings you need to
connect to their particular server. There's usually an info page on their
web site.

Regarding Outlook. On home machine each simple email account will have their
own settings and you should be able to view these. At the office Outlook
links to our company email server in some devilishly clever way to give me
my email . I assume logging on with my domain account also logs me on to the
correct outlook mail boxes without needing to configure anything.
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jason Burr | last post by:
I was wondering what the best approach to handling a shopping cart was. My concerns 1. Cookies not accepted (session variables not maintained and setting retreiving cookies doesn't work) 2. Use...
6
by: Member | last post by:
Hi group. I have been working with ColdFusion and SQL Server for some time now....abour 4 years I guess. I have developed various web applications successfully. The scenario I am in is that a...
2
by: Corey | last post by:
I'm running Windows/Outlook XP with mail routed through POP3/SMTP university servers. Abruptly, I am no longer able to send mail, though receiving works fine. I get an error message saying that...
2
by: Stephen | last post by:
I am getting the following error when I am trying to send a report as an email attachment "Microsoft Access Can't Open the Mail Session" On the knowledge base on the MS site it says that this...
11
by: Mike MacSween | last post by:
Anybody done it? Speed OK? This would be over a 512 kbps connection, at BOTH ends. i.e. the client machine would be on a DSL connection, so would the server. Cheers, Mike
8
by: BobRoyAce | last post by:
I have an ASP.NET application set up on my local hard drive with all pages, dlls, and SQL server on local machine. However, I have discovered that if I reboot my machine without a network cable...
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
3
by: mfleet1973 | last post by:
Hello Again. I have a program that sends e-mails as follows: Try Dim mail As New MailMessage mail.To = "me@comp.com" mail.From = "me@comp.com mail.Subject = "Test" mail.Body = "Testing123"
1
by: berry | last post by:
Hi guys.. I am given an order to buy a server and complete the setup. what shall i need to consider and buy? I need the server to store the company data. the data size is not much. other than SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.