Bug 175816 - Cannot send mail using SSL with GMail
Summary: Cannot send mail using SSL with GMail
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 01:26 UTC by Unknown
Modified: 2009-03-19 00:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!!