rev 7651 - in kde-extras/mailody/trunk/debian: . patches
Tom Albers
tomalbers-guest at alioth.debian.org
Thu Oct 25 18:30:44 UTC 2007
Author: tomalbers-guest
Date: 2007-10-25 18:30:44 +0000 (Thu, 25 Oct 2007)
New Revision: 7651
Added:
kde-extras/mailody/trunk/debian/patches/12_fix_smtp_gmail.diff
Modified:
kde-extras/mailody/trunk/debian/changelog
Log:
Add patch for sending via gmail. Not yet done.
Modified: kde-extras/mailody/trunk/debian/changelog
===================================================================
--- kde-extras/mailody/trunk/debian/changelog 2007-10-25 15:39:13 UTC (rev 7650)
+++ kde-extras/mailody/trunk/debian/changelog 2007-10-25 18:30:44 UTC (rev 7651)
@@ -1,6 +1,7 @@
-mailody (0.5.0-4) UNRELEASED; urgency=low
+mailody (0.5.0-4) unstable; urgency=low
- * NOT RELEASED YET
+ [ Tom Albers ]
+ * add patch 12 to fix sending via gmail.
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Mon, 30 Jul 2007 19:02:49 +0100
Added: kde-extras/mailody/trunk/debian/patches/12_fix_smtp_gmail.diff
===================================================================
--- kde-extras/mailody/trunk/debian/patches/12_fix_smtp_gmail.diff (rev 0)
+++ kde-extras/mailody/trunk/debian/patches/12_fix_smtp_gmail.diff 2007-10-25 18:30:44 UTC (rev 7651)
@@ -0,0 +1,26 @@
+--- i/mailody-0.5.0/mailody/src/smtp.cpp 2007-04-02 23:41:07.000000000 +0200
++++ mailody/src/smtp.cpp 2007-10-25 20:26:31.000000000 +0200
+@@ -150,7 +150,7 @@
+ dataIn.find("AUTH") < dataIn.find("LOGIN"))
+ m_authPossible = true;
+
+- if (dataIn.find("\n250 "))
++ if (dataIn.find("\n250 ") != -1)
+ slotTLS();
+ }
+ else if (m_currentCommand == TLS)
+@@ -192,8 +192,14 @@
+ {
+ emit error(i18n("Authentication did not succeed"));
+ return;
++ }
++ else
++ {
++ m_currentCommand = From;
++ m_socket->write("MAIL FROM:" + m_email);
+ }
+
++
+ // Please remember, this can be the response to hte Helo or to
+ // a previous Pass command.... TLS already send the headers, so
+ // that should pass through....
More information about the pkg-kde-commits
mailing list