Hello!
I am experiencing some difficulty with the .Save command on an IMAP (Gmail) account. I am adding custom properties to a MailItem which I need to save, but when I use the .Save() command with an IMAP account it communicates back to the mail server for whatever reason. This is taking between 1 second and 10 seconds per MailItem and I need to do this in batch, which is problematic. Does anyone know of a way to save a MailItem without needing to communicate to the server? I have tried the following:
* Unplugging my internet connection and saving the MailItems is instant
* Offline mode is instant, but I can't send e-mails in offline mode
* I need to frequently save the mailitems so going into offline mode, saving, and coming back won't work, needs to be seamless for the user.
Any feedback would be appreciated, thanks!
I am experiencing some difficulty with the .Save command on an IMAP (Gmail) account. I am adding custom properties to a MailItem which I need to save, but when I use the .Save() command with an IMAP account it communicates back to the mail server for whatever reason. This is taking between 1 second and 10 seconds per MailItem and I need to do this in batch, which is problematic. Does anyone know of a way to save a MailItem without needing to communicate to the server? I have tried the following:
* Unplugging my internet connection and saving the MailItems is instant
* Offline mode is instant, but I can't send e-mails in offline mode
* I need to frequently save the mailitems so going into offline mode, saving, and coming back won't work, needs to be seamless for the user.
Any feedback would be appreciated, thanks!