Author |
Message |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Mar 03, 2008 4:48 pm Post maybe stupid 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. |
|
Back to top |
|
 |
Samapico No, these DO NOT look like penises, ok?

Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Mon Mar 03, 2008 4:55 pm Post maybe stupid 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. _________________ (Insert a bunch of dead links here) |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Mar 03, 2008 5:05 pm Post maybe stupid Post subject: |
 |
|
|
|
and it's not illegal or anything to use their's? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Mar 03, 2008 6:50 pm Post maybe stupid Post subject: |
 |
|
|
|
Hotmail doesn't run a public SMTP server. Run your own, or use your ISP's. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Mon Mar 03, 2008 6:59 pm Post maybe stupid 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. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Mar 03, 2008 9:21 pm Post maybe stupid Post subject: |
 |
|
|
|
ok i'll give those ideas a go ty. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Sun May 11, 2008 8:47 pm Post maybe stupid 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. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sun May 11, 2008 10:57 pm Post maybe stupid Post subject: |
 |
|
|
|
a gmail account that ends in @hotmail.com? |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon May 12, 2008 5:53 pm Post maybe stupid Post subject: |
 |
|
|
|
oops i meant @gmail.com. good catch. |
|
Back to top |
|
 |
baseball43v3r Seasoned Helper
Joined: Jan 02 2006 Posts: 102 Offline
|
Posted: Tue May 13, 2008 2:31 am Post maybe stupid Post subject: |
 |
|
|
|
the brainwashing techniques by hotmail are still effective i see |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Sat May 24, 2008 8:57 pm Post maybe stupid 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... |
|
Back to top |
|
 |
|