https://bugs.kde.org/show_bug.cgi?id=257755


Martin Kampas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.kampas+kdebugs@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 <[email protected]>" while it only accepts the plain form
"[email protected]".

kio_smtp(10392) SMTPProtocol::sendCommandLine: C: >> MAIL
FROM:<[email protected]> SIZE=1458
RCPT TO:<John Doe <[email protected]>>
DATA <<
kio_smtp(10392) SMTPProtocol::getResponse: S: >> 250 2.1.0
[email protected] 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.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to