ios - MailCore how to delete a message -
when using mailcore, how go deleting message? understand set imap deleted flag ctcoremessage
cause message deleted server? or there way this?
first use:
- (bool)setflags:(nsuinteger)flags formessage:(ctcoremessage *)msg;
to set deleted flag
then:
- (bool)expunge;
these both methods in ctcorefolder.
the tricky part comes determining if account gmail , if user rather message gets moved [gmail]/trash or deleted
Comments
Post a Comment