emailservices/emailclientapi/src/emailmailbox.cpp
changeset 66 084b5b1f02a7
parent 62 a8c646b56683
--- a/emailservices/emailclientapi/src/emailmailbox.cpp	Mon Aug 23 23:32:31 2010 +0300
+++ b/emailservices/emailclientapi/src/emailmailbox.cpp	Fri Sep 03 14:07:42 2010 +0300
@@ -361,13 +361,16 @@
     {
     bool syncronous;
 
-    XQServiceRequest request( emailInterfaceNameSend,
-                             emailOperationSendMail,
-                             syncronous );
+    XQServiceRequest request( XQI_EMAIL_MESSAGE_SEND,
+                              XQOP_EMAIL_MESSAGE_SEND,
+                              syncronous );
 
     QVariant returnValue;
+
     if ( !request.send( returnValue ) )
+        {
         User::Leave( KErrGeneral );
+        }
     }
 
 // -----------------------------------------------------------------------------