Announcement

Collapse
No announcement yet.

Yet another gmail question - output could not connect to host

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Yet another gmail question - output could not connect to host


    Hello all;

    I did due diligence and searched the gmail posts before starting this thread, but I couldn't find a specific answer to this question.

    I am trying to setup gmail with Kontact. The inbox is working but when trying to send a message I get the following error;

    Sending failed:
    Could not connect to host smtp.gmail.com.
    The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
    The following transport protocol was used:
    gmail
    The directions from gmail show;

    Incoming Mail (POP3) Server - requires SSL: pop.gmail.com
    Use SSL: Yes
    Port: 995
    Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
    Use Authentication: Yes
    Use STARTTLS: Yes (some clients call this SSL)
    Port: 465 or 587
    Account Name: your Gmail username (including @gmail.com)
    Email Address: your full Gmail email address (username@gmail.com)
    Password: your Gmail password

    My sending settings are as follows:


    GENERAL
    name: gmail
    host: smtp.gmail.com
    prot: 465

    X Server requires authentication
    login: 'username'
    password: ********
    X store smtp password

    SECURITY
    Encryption: TLS (I've tried SSL as well)
    Authentication method: Plain



    Every thing seems right to me, any ideas?

    Thanks, SteveJ

    #2
    Re: Yet another gmail question - output could not connect to host

    I'd make sure you can actually reach the server. Open up Konsole and execute "telnet smtp.gmail.com 25". You should get this back:
    Trying 209.85.163.109...
    Connected to gmail-smtp.l.google.com.
    Escape character is '^]'.
    220 mx.google.com ESMTP e27sm4964122elf
    If you do, just say "quit" and you'll disconnect.. If not, tell what happens.
    For external use only.

    Comment


      #3
      Re: Yet another gmail question - output could not connect to host


      Thanks for the reply;

      That seemed to connect

      Trying 209.85.147.109...
      Connected to smtp.gmail.com.
      Escape character is '^]'.
      220 mx.google.com ESMTP k23sm4908576waf
      strangly, though, if i type the same thing using port 465 instead of 25 I don't connect. Port 465 is what google suggests, though. Should I try port 25 instead?

      SteveJ

      Comment


        #4
        Re: Yet another gmail question - output could not connect to host



        I went ahead and tried port 25 - it worked! I wonder why that is, why would it be a different port than required by google?

        Thanks for your help,

        SteveJ

        Comment


          #5
          Re: Yet another gmail question - output could not connect to host

          I have mine setup in T-Bird to use Port 587 and TLS. Works fine. You might try 587.

          Comment


            #6
            Re: Yet another gmail question - output could not connect to host

            Huh... Wonder why that happens. Firewall/router issues?

            But if it works now, don't mess around too much.
            For external use only.

            Comment


              #7
              Re: Yet another gmail question - output could not connect to host

              From a Google search:

              Generally, outbound port 25 blocking prevents you from using SMTP message
              submission servers other than the one your ISP provides. Some ISPs actually
              use a port 25 redirect, though, which forces all outbound SMTP traffic
              through the ISP message submission server. AOL was a good one for doing
              that.

              The way around that is to find out if your third party Email Service
              Provider's SMTP message submission servers accept connections on some port
              other than port 25. RFC 2476 designates port 587 for message submission.
              Yahoo! mail servers, GMail, and GMX all accept message submission to port
              587; GMail and GMX *require* using STARTTLS.

              Another common message submission port is port 465 (requires SSL). GMail
              (again), MyRealBox, and, recently added, Yahoo! Mail use port 465. I have
              use 'smtp.mail.yahoo.com.au:465' w/SSL. For 'yahoo.com' email addresses,
              'smtp.mail.yahoo.com:465' w/SSL works. My ISP uses 'smtp.att.yahoo.com:465'
              w/SSL.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment

              Working...
              X