[Kde-pim] [Job] K3Process should be replaced by QProcess

Ingo Klöcker kloecker at kde.org
Tue May 15 22:27:19 BST 2007


On Tuesday 15 May 2007 22:03, Tom Albers wrote:
> Hi,
>
> I heard people are looking for cool jobs. So, anyone interested in a
> porting task?
>
> Where:
> kdepimlibs/mailtransport/sendmailjob.*
>
> What:
> Currently based on K3Process and should be ported to QProcess
>
> Description:
> sendmailjob deals with the communication with the sendmail command
> when sending mail. It receives the email and passes it on to the
> command line call. The class needs to be ported to QProcess which has
> a different API compared to the old KProcess.
>
> Possible problems:
> Large parts of that code deals with buffering the data, I think to
> keep the gui responsive. I believe QProcess itself does the buffering
> now, but I do not know if this is sufficient. You will need to find
> out (or someone will reply with the answer ;-))
>
> Testing:
> You can test the results with Mailody or KNode. Both can be used to
> send email to the sendmail command line.
>
> Bonus points:
> Look at the KMail bugs reported against it and fix those (I recall at
> least one, which was that recipients starting with a "-" are not
> working (it will probably be parsed as an argument to the command
> line)).

The fix for this bug consists most likely of adding "--" before the 
first recipient to the command line.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070515/26f1b088/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list