| 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 {
GTypeInterface parent;
void (*send_func) (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 can be used as the envelope while sending.
self : |
a TnyTransportAccount object |
msg : |
a TnyMsg object |
err : |
a GError object or NULL |