Bug 175816

Summary: Cannot send mail using SSL with GMail
Product: [Applications] kmail Reporter: Unknown <null>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christophe, jtamate
Priority: NOR    
Version: 1.10.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Unknown 2008-11-22 01:26:02 UTC
Version:           1.10.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

Using KMail 1.10.3, I can receive my email from gmail account with ease, but sending is impossible.  I tried all possible combinations of parameters including SSL or TLS, username with and without @gmail.com, port 465 & 587, and Authentication method as PLAIN or LOGIN.  Nothing works!!  I receive error messages:

==>Using port 465 & SSL
Sending failed:
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 was used:
 smtp gmail

==>Using port 587 & SSL:
Sending failed:
smtp.gmail.com: SSL negotiation failed
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 was used:
 smtp gmail

==>Using port 465 & TLS:
No error message, but kmail says"Sending message" and it will never end...

==>Using port 587 & TLS:
Sending failed:
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 was used:
 smtp gmail

I already had the package cyrus-sasl-plain and I reinstalled it several times.  I also restarted kmail a hundred times and rebooted my machine, all without any success. Kmail wont send email.  However, I tried to mispell my smtp password using any above settings (that will generate an error msg), and kmail says that my username/password are incorrect, so I assume that kmail succeed to connect to the gmail server, but the encryption (SSL) is corrupted or incompatible.

Any help appreciated as there is clearly a lack of good PIM's out there for Linux...
Comment 1 Jaime Torres 2008-11-22 13:31:38 UTC
Please try clicking the button "test what server supports", if it does not works, try with:

port: 587
Cipher: TLS
In Advanced:
check server needs authentication
user: username without @gmail.com
password: whatever
check store password (it works for me)
authentication method: PLAIN

And do not forget to close the bug if it works :-)
Comment 2 Unknown 2008-11-22 14:51:38 UTC
OK It worked! The only combination i didnt tried is TLS and without the @gmail.com in the username..

Thanks 1000 times Jaime!!