Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Mark an email as spam using mailbee.net Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
chintan
Newbie
Newbie
Avatar

Joined: 19 May 2009
Location: India
Online Status: Offline
Posts: 7
Posted: 15 November 2011 at 9:11pm | IP Logged Quote chintan

HI,
We use mailbee.net for syncronizing emails from google to our application.
we want user to report spam for an email (withing our application)and that should reflect changes to google mails.

i checked code from your documentation which is as following.
but does not work.
imp.SetMessageFlags(imp.MessageCount.ToString(), false, "$Spam", MessageFlagAction.Replace, false);

can you suggest what am i doing wrong ?              
Back to Top View chintan's Profile Search for other posts by chintan
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6044
Posted: 15 November 2011 at 10:26pm | IP Logged Quote Igor

I'm not sure how GMail works in that regard, but there's a great chance that moving message to Spam folder will have the effect of marking mails as spam. In general, IMAP and POP3 services of GMail have highly non-standard behavior, and the approach which works for other services will not necessarily works with them.

--
Regards,
Igor, AfterLogic Support

P.S.: Since it's not a question about WebMail Lite I have moved the topic to the appropriate folder.
Back to Top View Igor's Profile Search for other posts by Igor
 
chintan
Newbie
Newbie
Avatar

Joined: 19 May 2009
Location: India
Online Status: Offline
Posts: 7
Posted: 22 November 2011 at 11:21pm | IP Logged Quote chintan

hi.

i have found that there is new method for to set flags in mailbox

http://www.afterlogic.com/mailbee/docs/#IMAP4_methods_SetFlagsForMessageAsString.htm

but when i downloaded latest mail bee objects, i did not find above method.

though it exist in documentation.
Back to Top View chintan's Profile Search for other posts by chintan
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6044
Posted: 22 November 2011 at 11:23pm | IP Logged Quote Igor

You are referring to documentation for MailBee Objects (ActiveX) while you seem to use MailBee.NET Objects. Documentation for the latter is available at http://www.afterlogic.com/mailbee-net/docs/.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide