messagingfw/msgtestproduct/email/smtp/src/T_UtilsSendEmail.cpp
changeset 58 6c34d0baa0b1
parent 0 8e480a14352b
--- a/messagingfw/msgtestproduct/email/smtp/src/T_UtilsSendEmail.cpp	Tue Oct 05 13:50:47 2010 +0530
+++ b/messagingfw/msgtestproduct/email/smtp/src/T_UtilsSendEmail.cpp	Tue Oct 19 11:59:06 2010 +0530
@@ -103,7 +103,7 @@
 	iReceipient.Set(aReceipient);
 	
 	// Connects the client to the file server.
-	iFs.Connect();
+	User::LeaveIfError( iFs.Connect() );
 
 	// Opens an existing file reading and a share mode 
 	// If the file does not already exist, an error is returned.