New method to send a mail without ui
[modest] / src / modest-mail-operation.h
index fc0a240..97c6066 100644 (file)
@@ -400,6 +400,9 @@ void    modest_mail_operation_send_new_mail   (ModestMailOperation *self,
                                               TnyHeaderFlags priority_flags,
                                               TnyList *header_pairs);
 
+void modest_mail_operation_send_mail (ModestMailOperation *mail_operation,
+                                     TnyTransportAccount *transport_account,
+                                     TnyMsg *msg);
 
 /**
  * modest_mail_operation_save_to_drafts: