Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some C# code that I use for my contact form. I know it works and is not the issue. I signed up a few weeks ago and have been slowly moving away from my hosting sites mail servers.

I setup a few accounts already with google apps and when I send emails with them and to them through thunderbird they receive it.

Now I am trying to use google as my smtp to send out emails. However it does not work(I don't get really get an error expect for a timeout error as it can't send the email).

I tried using this

SMTP Host:
password: 1234567
port: 587

However this does not work. Do I need to use some other host from google since I am using my own domain name(even though I am using their services still?)

share|improve this question
Does your app login to the server first before sending the mail ? – Sathya Aug 17 '10 at 21:12
up vote 2 down vote accepted

You need authentication to use Google's SMTP servers. use either TLS/STARTTL on port 587 or SSL on port 465.

share|improve this answer
Sorry I forgot to add that I tried both port 587 and 465. – chobo2 Aug 17 '10 at 21:03
you are actually using TLS or SSL rather than straight SMTP? – Colin Pickard Aug 17 '10 at 21:26
what do you mean by "straight smtp"? – chobo2 Aug 17 '10 at 22:00
He means that just by using port 587 or 465 doesn't mean that you are using the encryption that Google requires. Your SMTP client must be configured to use SSL or TLS in order for it to work. – heavyd Aug 17 '10 at 22:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .