[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Unexplained error message from kmail
From: Constantin Berzan <exit3219 () gmail ! com>
Date: 2009-08-07 15:22:06
Message-ID: 200908071822.06875.exit3219 () gmail ! com
[Download RAW message or body]
On Friday 07 August 2009 18:07:56 David Jarvie wrote:
> On Fri, August 7, 2009 3:12 pm, Thomas McGuire wrote:
> > Hi,
> >
> > On Thursday 06 August 2009 16:05:31 you wrote:
> >> On Thursday 06 August 2009 16:25:31 David Jarvie wrote:
> >> > Error sending email:
> >> > The server did not accept the sender address "John Smith
> >> > <jn.sm@epa.gov>". The server responded: "<John Smith <jn.sm@epa.gov>>:
> >> > "@" or "." expected after "Carey""
> >>
> >> Original text from the bug report:
> >> The server did not accept the sender address "Carey Fitzmaurice
> >> <xxx.xxx@xxx.xxx>".
> >> The server responded: "<Carey Fitzmaurice <xxx.xxx@xxx.xxx>>: "@" or "."
> >> expected after "Carey""
> >>
> >> I may be completely wrong, but it looks like the server expects an email
> >> address (a@b.c) and gets a pretty address instead (name with spaces
> >> <a@b.c>).
> >
> > That seems to be the case indeed.
> > SMTP expects something like "MAIL FROM <a@b.c>", and the pretty address
> > shouldn't be there.
> > No idea how that can happen at all, since KMSender::doSendMsg() calls
> > extractSenderToCCAndBcc() to get the From address, and that in turn calls
> > extractAddrSpecs( "From" ), which seems to work fine for me.
> >
> > So sorry, I don't know what went wrong here.
>
> Sorry for being inaccurate, but now that I check the KAlarm code, I see
> that it's actually being sent by a MailTransport::TransportJob, rather
> than KMail. Does this make a difference?
Yes, the TransportJob definitely wants the transport email address only, not
the pretty one with the name. So I guess KAlarm will have to do the "pretty
address <a@b.c>" -> "a@b.c" conversion on its own.
Note: In the akonadi-ports branch we have a new Akonadi-based mechanism for
sending email (MessageQueueJob in mailtransport), that will eventually
deprecate TransportJobs.
--
http://ascending.wordpress.com/
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic