prepare_mail


Description:

public virtual void prepare_mail (Source mail_account_source, Source mail_identity_source, Source mail_transport_source)

Convenience function to populate a set of Source instances with mail account information to be added to an CollectionBackend.

This is mainly used for vendor-specific collection backends like Google or Yahoo! where the host, port, and security details are known ahead of time and only user-specific information needs to be filled in.

Parameters:

this

an CollectionBackendFactory

mail_account_source

an Source to hold mail account information

mail_identity_source

an Source to hold mail identity information

mail_transport_source

an Source to hold mail transport information