diff options
Diffstat (limited to 'src/objc/smtp/MCOSMTPSendOperation.h')
-rw-r--r-- | src/objc/smtp/MCOSMTPSendOperation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objc/smtp/MCOSMTPSendOperation.h b/src/objc/smtp/MCOSMTPSendOperation.h index 02c220d5..2174df91 100644 --- a/src/objc/smtp/MCOSMTPSendOperation.h +++ b/src/objc/smtp/MCOSMTPSendOperation.h @@ -12,10 +12,14 @@ #import <MailCore/MCOSMTPOperation.h> +// This is an asynchronous operation that will send a message through SMTP. + typedef void (^MCOSMTPOperationProgressBlock)(unsigned int current, unsigned int maximum); @interface MCOSMTPSendOperation : MCOSMTPOperation +// This block will be called during the progression of the send of the message +// when some bytes have been sent to the network. @property (nonatomic, copy) MCOSMTPOperationProgressBlock progress; - (void)start:(void (^)(NSError *error))completionBlock; |