Obsolete Members for MailTransport::TransportManager

The following members of class TransportManager are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated) MailTransport::TransportJob *createTransportJob(Transport::Id transportId)
(deprecated) MailTransport::TransportJob *createTransportJob(const QString &transport)
(deprecated) void schedule(MailTransport::TransportJob *job)

Member Function Documentation

[deprecated] MailTransport::TransportJob *TransportManager::createTransportJob(Transport::Id transportId)

This function is deprecated. We strongly advise against using it in new code.

Creates a mail transport job for the given transport identifier. Returns 0 if the specified transport is invalid. transportId The transport identifier.

use MessageQueueJob to queue messages and rely on the Dispatcher Agent to send them.

[deprecated] MailTransport::TransportJob *TransportManager::createTransportJob(const QString &transport)

This function is deprecated. We strongly advise against using it in new code.

Creates a mail transport job for the given transport identifier, or transport name. Returns 0 if the specified transport is invalid. transport A string defining a mail transport.

use MessageQueueJob to queue messages and rely on the Dispatcher Agent to send them.

[deprecated] void TransportManager::schedule(MailTransport::TransportJob *job)

This function is deprecated. We strongly advise against using it in new code.

Executes the given transport job. This is the preferred way to start transport jobs. It takes care of asynchronously loading passwords from KWallet if necessary. job The completely configured transport job to execute.

use MessageQueueJob to queue messages and rely on the Dispatcher Agent to send them.