[Bug 257755] Invitation Replies can't be sent
Martin Kampas
martin.kampas+kdebugs at ubedi.net
Wed Aug 17 09:10:46 BST 2011
https://bugs.kde.org/show_bug.cgi?id=257755
Martin Kampas <martin.kampas+kdebugs at ubedi.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.kampas+kdebugs at ubedi
| |.net
--- Comment #7 from Martin Kampas <martin kampas+kdebugs ubedi net> 2011-08-17 08:10:45 ---
I met this problem after update to KMail 4.7.0 (Gentoo). The problem is when
talking to the SMTP server, email addresses are passed in the form "Name
Surname <name.surname at domain.com>" while it only accepts the plain form
"name.surname at domain.com".
kio_smtp(10392) SMTPProtocol::sendCommandLine: C: >> MAIL
FROM:<jane.roe at domain.com> SIZE=1458
RCPT TO:<John Doe <john.doe at domain.com>>
DATA <<
kio_smtp(10392) SMTPProtocol::getResponse: S: >> 250 2.1.0
jane.roe at domain.com....Sender OK <<
kio_smtp(10392) SMTPProtocol::getResponse: S: >> 501 5.5.4 Invalid Address <<
kio_smtp(10392) SMTPProtocol::getResponse: S: >> 554 5.5.2 No valid recipients
<<
kio_smtp(10392) SMTPProtocol::sendCommandLine: C: >> RSET <<
For me a quickfix was to edit SMTPProtocol::put() from
kdepimlibs-4.7.0/kioslave/smtp/smtp.cpp like this:
230c230,232
< queueCommand( new RcptToCommand( m_sessionIface, (*it).toLatin1() ) );
---
> queueCommand( new RcptToCommand( m_sessionIface,
> QString(*it).replace(QRegExp(QLatin1String("^(.*<)?([^<>]+)(>.*)?$")),
> QLatin1String("\\2")).toLatin1() ) );
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list