Server Help

Trash Talk - setting up a host for email.

tcsoccerman - Mon Mar 03, 2008 4:48 pm
Post subject: setting up a host for email.
in an application i'm making i have an email tool that (obviously) sends emails.i'm writing this in c# so i'm using System.Net.Mail.SmtpClient to send the email.

the problem is that the email cannot be sent because the host part is not working. i've tried "localhost" but that doesn't work. i gave "www.hotmail.com" a try and that doesn't work either.

is there a solution that i can use so the users of this application can either
a)set a host (that works)
b)use "localhost"
c)any other way to have the email feature work.

edit:oh this should probably be in non-subspace related programming. feel free to move it there.
Samapico - Mon Mar 03, 2008 4:55 pm
Post subject:
well you need a working SMTP (or maybe pop3) email server I guess...
Like the kind of emails the ISP's give out, or business emails... these kind of things.

Hotmail is an email server, but it's not SMTP or pop3. If you have a gmail account, that could work maybe. But search through their help to find the smtp/pop3 server address. It would be something like smtp.gmail.com or pop3.gmail.com.
tcsoccerman - Mon Mar 03, 2008 5:05 pm
Post subject:
and it's not illegal or anything to use their's?
Dr Brain - Mon Mar 03, 2008 6:50 pm
Post subject:
Hotmail doesn't run a public SMTP server. Run your own, or use your ISP's.
BDwinsAlt - Mon Mar 03, 2008 6:59 pm
Post subject:
I use my isp's. Mine is charter, so I use smtp.charter.net. If you have an outlook account setup with your isp, edit the account and find the part that deals with smtp. It should be something beginning with smtp.yourISP.something

I don't have to have a username and password for mine. I use it for braddavis.info/webmail. There is a storm, so my power might go out. If you need a port try 25, but the port number should be listed with the smtp server information.
tcsoccerman - Mon Mar 03, 2008 9:21 pm
Post subject:
ok i'll give those ideas a go ty.
tcsoccerman - Sun May 11, 2008 8:47 pm
Post subject:
i got it all worked out.

basically you create a gmail account (digitalhockeymessenger@hotmail.com) and use that.( to send messages FROM).

you need to make sure that you use credentials to login your account.

port is 587.

host is smtp.gmail.com

works like a charm.
Dr Brain - Sun May 11, 2008 10:57 pm
Post subject:
a gmail account that ends in @hotmail.com?
tcsoccerman - Mon May 12, 2008 5:53 pm
Post subject:
oops i meant @gmail.com. good catch.
baseball43v3r - Tue May 13, 2008 2:31 am
Post subject:
the brainwashing techniques by hotmail are still effective i see
tcsoccerman - Sat May 24, 2008 8:57 pm
Post subject:
lately the email wasn't being recieved (but it was being sent :/) so i tried to fix it.

it works out that smtpclient.SendAsync() doesn't work while smtpclient.Send() does.

I wonder why...
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group