| Reference Manual of the tinymail framework | ||||
|---|---|---|---|---|
TnyTransportAccount;
TnyTransportAccountIface;
void tny_transport_account_send (TnyTransportAccount *self,
TnyMsg *msg,
GError **err);
TnyTransportAccount is implemented by TnyCamelTransportAccount and TnyCombinedAccount.
A transport account and transport E-mail via a service and handles the authentication with the service.
typedef struct _TnyTransportAccount TnyTransportAccount;
A account to send E-mails with
free-function: g_object_unref
typedef struct {
GTypeInterface parent;
void (*send) (TnyTransportAccount *self, TnyMsg *msg, GError **err);
} TnyTransportAccountIface;
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