[PATCH] encode mail address when passing via KApplication::invokeMailer
kloecker at kde.org
Sun Jan 9 10:44:13 GMT 2005
On Sunday 09 January 2005 09:41, Oswald Buddenhagen wrote:
> On Sat, Jan 08, 2005 at 11:15:18PM +0100, Ingo KlÃ¶cker wrote:
> > There's no such thing as a "core address".
> so you say, that mailto:?to=ossi%40kde.org&to=ingo%40kde.org is a
> valid address? or maybe mailto:ossi%40kde.org,%20ingo%40kde.org ?
> and how many mailers will read this correctly, do you think?
Well, KMail supports the latter, but not the former (grmbl, I'll fix
it). What about Mutt? And FWIW, I think that all mailers will read the
I don't really have a problem with invokeMailer creating
but since applications like KAddressBook do pass
"Kloecker, Ingo" <kloecker at kde.org>
to invokeMailer(), the simple QStringList::split( ',', ... ) approach
doesn't work. I have a method in kdepim which can split a list of email
addresses into a QStringList. It only handles a subset of RFC 2822
addresses, but it's far better than using QStringList::split(). If you
really think it's necessary to create (1) then I can copy it to
kapplication (as helper function).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel