[Kde-pim] MessageQueueJob / MailDispatcherAgent not reporting transport failure

David Jarvie djarvie at kde.org
Mon Oct 13 23:01:48 BST 2014


When an email is sent (using sendmail) via MailTransport::MessageQueueJob, and if akonadi_mailfilter_agent is not installed, the send fails but MessageQueueJob returns success. As a result, the user is not warned of the failure.

MessageQueueJob uses MailDispatcherAgent to send the mail. This uses its own SendJob class, which stores the error result as an ErrorAttribute for the mail Item. Presumably MessageQueueJob would need to fetch the mail item and check t
its ErrorAttribute in order to determine whether the mail was sent successfully. I haven't yet investigated whether/how MessageQueueJob can do this. Any hints on how MessageQueueJob can be made to detect failure would be appreciated.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm
_______________________________________________
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