X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-main.c;h=5d048dc43cbc8a6796301e5509ed979eef8bc930;hb=90b7d85fe6a7f3a46b14810fb9476982d021716d;hp=ca96b75098c0bd9181633b88e4747ae80e477eea;hpb=e8034b4378f6fe2e644b149d8fd9fab723cd7a98;p=modest diff --git a/src/modest-main.c b/src/modest-main.c index ca96b75..5d048dc 100644 --- a/src/modest-main.c +++ b/src/modest-main.c @@ -283,9 +283,10 @@ send_mail (const gchar* account_name, from_string = modest_account_mgr_get_from_string (modest_runtime_get_account_mgr(), account_name); - mail_operation = modest_mail_operation_new (MODEST_MAIL_OPERATION_ID_SEND, NULL); + mail_operation = modest_mail_operation_new (MODEST_MAIL_OPERATION_TYPE_SEND, NULL); modest_mail_operation_send_new_mail (mail_operation, account, + NULL, from_string, mailto, cc, bcc, subject, body, NULL /* html_body */, NULL /* attachments */, 0 /* priority */);