account = TNY_TRANSPORT_ACCOUNT (tny_iterator_get_current(iter));
- mail_operation = modest_mail_operation_new (TNY_ACCOUNT (account));
+ mail_operation = modest_mail_operation_new ();
modest_mail_operation_send_new_mail (mail_operation,
+ account,
"djcb@djcbsoftware.nl", mailto, cc, bcc,
subject, body, NULL);