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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -