TnyTransportAccount

TnyTransportAccount — A type for transporting E-mails

Synopsis




                    TnyTransportAccount;
                    TnyTransportAccountIface;
void                tny_transport_account_send          (TnyTransportAccount *self,
                                                         TnyMsg *msg,
                                                         GError **err);

Object Hierarchy


  GInterface
   +----TnyTransportAccount

Prerequisites

TnyTransportAccount requires TnyAccount and GObject.

Known Implementations

TnyTransportAccount is implemented by TnyCamelTransportAccount and TnyCombinedAccount.

Description

A transport account and transport E-mail via a service and handles the authentication with the service.

Details

TnyTransportAccount

typedef struct _TnyTransportAccount TnyTransportAccount;


TnyTransportAccountIface

typedef struct {
	GTypeInterface parent;

	void (*send_func) (TnyTransportAccount *self, TnyMsg *msg, GError **err);
} TnyTransportAccountIface;


tny_transport_account_send ()

void                tny_transport_account_send          (TnyTransportAccount *self,
                                                         TnyMsg *msg,
                                                         GError **err);

Send msg. Note that msg must be a correct TnyMsg instance with a correct TnyHeader, which can be used as the envelope while sending.

self : a TnyTransportAccount object
msg : a TnyMsg object
err : a GError object or NULL

See Also

TnyStoreAccount, TnyAccount, TnyCamelTransportAccount, TnyCamelAccount