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;

A account to send E-mails with

free-function: g_object_unref


TnyTransportAccountIface

typedef struct {
	GTypeInterface parent;

	void (*send) (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 will be used as the envelope while sending.

self : a TnyTransportAccount
msg : a TnyMsg
err : (null-ok): a GError or NULL

Since 1.0 audience: application-developer

See Also

TnyStoreAccount, TnyAccount, TnyCamelTransportAccount, TnyCamelAccount