diff options
author | 2014-09-12 10:14:27 +0900 | |
---|---|---|
committer | 2014-09-12 10:14:27 +0900 | |
commit | 765a6a456dd76b4395c779efda9cab3c3e744b2c (patch) | |
tree | 8756a13ad63b17924599a3db7d9936bf991cba36 /src/objc/smtp | |
parent | 3dbf0f8470ffba2c194088d7c78417473fec3cc8 (diff) |
Fixed typo in a documentation.
Diffstat (limited to 'src/objc/smtp')
-rw-r--r-- | src/objc/smtp/MCOSMTPSession.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objc/smtp/MCOSMTPSession.h b/src/objc/smtp/MCOSMTPSession.h index 5c616244..286cd7c3 100644 --- a/src/objc/smtp/MCOSMTPSession.h +++ b/src/objc/smtp/MCOSMTPSession.h @@ -30,7 +30,7 @@ /** This is the hostname of the SMTP server to connect to. */ @property (nonatomic, copy) NSString * hostname; -/** This is the port of the POP3 server to connect to. */ +/** This is the port of the SMTP server to connect to. */ @property (nonatomic, assign) unsigned int port; /** This is the username of the account. */ @@ -95,7 +95,7 @@ Generate RFC 822 data using MCOMessageBuilder - MCOPOPOperation * op = [session sendOperationWithData:rfc822Data]; + MCOSMTPOperation * op = [session sendOperationWithData:rfc822Data]; [op start:^(NSError * error) { ... }]; @@ -109,7 +109,7 @@ Generate RFC 822 data using MCOMessageBuilder - MCOPOPOperation * op = [session sendOperationWithData:rfc822Data + MCOSMTPOperation * op = [session sendOperationWithData:rfc822Data from:[MCOAddress addressWithMailbox:@"hoa@etpan.org"] recipients:[NSArray arrayWithObject:[MCOAddress addressWithMailbox:@"laura@etpan.org"]]]; [op start:^(NSError * error) { @@ -123,7 +123,7 @@ /** Returns an operation that will check whether the SMTP account is valid. - MCOPOPOperation * op = [session checkAccountOperationWithFrom:[MCOAddress addressWithMailbox:@"hoa@etpan.org"]]; + MCOSMTPOperation * op = [session checkAccountOperationWithFrom:[MCOAddress addressWithMailbox:@"hoa@etpan.org"]]; [op start:^(NSError * error) { ... }]; @@ -133,7 +133,7 @@ /** Returns an operation that will perform a No-Op. - MCOPOPOperation * op = [session noopOperation]; + MCOSMTPOperation * op = [session noopOperation]; [op start:^(NSError * error) { ... }]; |