aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/smtp/MCOSMTPSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/smtp/MCOSMTPSession.h')
-rw-r--r--src/objc/smtp/MCOSMTPSession.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objc/smtp/MCOSMTPSession.h b/src/objc/smtp/MCOSMTPSession.h
index 286cd7c3..d462dbfb 100644
--- a/src/objc/smtp/MCOSMTPSession.h
+++ b/src/objc/smtp/MCOSMTPSession.h
@@ -89,6 +89,16 @@
/** @name Operations */
/**
+ Returns an operation that will perform a login.
+
+ MCOPOPOperation * op = [session loginOperation];
+ [op start:^(NSError * error) {
+ ...
+ }];
+ */
+- (MCOSMTPOperation *) loginOperation;
+
+/**
Returns an operation that will send the given message through SMTP.
It will use the recipient set in the message data (To, Cc and Bcc).
It will also filter out Bcc from the content of the message.