aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/smtp/MCOSMTPOperation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/smtp/MCOSMTPOperation.h')
-rw-r--r--src/objc/smtp/MCOSMTPOperation.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/objc/smtp/MCOSMTPOperation.h b/src/objc/smtp/MCOSMTPOperation.h
index 1b3b4b83..32d98dc8 100644
--- a/src/objc/smtp/MCOSMTPOperation.h
+++ b/src/objc/smtp/MCOSMTPOperation.h
@@ -15,7 +15,12 @@
// This is an asynchronous SMTP operation.
@interface MCOSMTPOperation : MCOOperation
-- (void)start:(void (^)(NSError *error))completionBlock;
+
+// Starts the asynchronous operation.
+// On success, the completion block will be called with nil as error.
+// On failure, error will be set with MCOErrorDomain as domain and an error code available in MCOConstants.h.
+- (void) start:(void (^)(NSError * error))completionBlock;
+
@end
#endif