login about faq

Hello everybody i use this code and i don't know if it do the same functionality of "Non Junk" button in the other ISPs Web application like Outlook, Yahoo or Gmail:

var email = imap.FetchSingle(messageSet.GetId(i), bUid);
imap.SetMailFlagAsync(email, "NonJunk", 1);
...
//then move all message to the INBOX Folder
imap.MoveMessages(messageSet, "INBOX");

Please help, thanks for advance

asked Jan 22 at 16:27

foolorem's gravatar image

foolorem
1


link

answered Jan 23 at 19:43

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

edited Jan 23 at 19:43

Thank you for your reply (y) there is any other method to mark an outlook.com email as not spam ?

Thank you.

(Jan 24 at 16:32) foolorem

See this:

Android: Examine Junk/NonJunk Flags on Outlook.com and GMail

Classic ASP: Examine Junk/NonJunk Flags on Outlook.com and GMail

C: Examine Junk/NonJunk Flags on Outlook.com and GMail

C++: Examine Junk/NonJunk Flags on Outlook.com and GMail

C#: Examine Junk/NonJunk Flags on Outlook.com and GMail

C# UWP/WinRT: Examine Junk/NonJunk Flags on Outlook.com and GMail

DataFlex: Examine Junk/NonJunk Flags on Outlook.com and GMail

Delphi ActiveX: Examine Junk/NonJunk Flags on Outlook.com and GMail

Delphi DLL: Examine Junk/NonJunk Flags on Outlook.com and GMail

.NET Core C#: Examine Junk/NonJunk Flags on Outlook.com and GMail

Excel: Examine Junk/NonJunk Flags on Outlook.com and GMail

Visual FoxPro: Examine Junk/NonJunk Flags on Outlook.com and GMail

Java: Examine Junk/NonJunk Flags on Outlook.com and GMail

Lianja: Examine Junk/NonJunk Flags on Outlook.com and GMail

MFC: Examine Junk/NonJunk Flags on Outlook.com and GMail

Mono C#: Examine Junk/NonJunk Flags on Outlook.com and GMail

Node.js: Examine Junk/NonJunk Flags on Outlook.com and GMail

Objective-C: Examine Junk/NonJunk Flags on Outlook.com and GMail

Perl: Examine Junk/NonJunk Flags on Outlook.com and GMail

PHP ActiveX: Examine Junk/NonJunk Flags on Outlook.com and GMail

PHP Extension: Examine Junk/NonJunk Flags on Outlook.com and GMail

PowerBuilder: Examine Junk/NonJunk Flags on Outlook.com and GMail

PowerShell: Examine Junk/NonJunk Flags on Outlook.com and GMail

PureBasic: Examine Junk/NonJunk Flags on Outlook.com and GMail

Python: Examine Junk/NonJunk Flags on Outlook.com and GMail

Ruby: Examine Junk/NonJunk Flags on Outlook.com and GMail

SQL Server: Examine Junk/NonJunk Flags on Outlook.com and GMail

Swift: Examine Junk/NonJunk Flags on Outlook.com and GMail

Tcl: Examine Junk/NonJunk Flags on Outlook.com and GMail

Unicode C: Examine Junk/NonJunk Flags on Outlook.com and GMail

Unicode C++: Examine Junk/NonJunk Flags on Outlook.com and GMail

Visual Basic 6.0: Examine Junk/NonJunk Flags on Outlook.com and GMail

VB.NET: Examine Junk/NonJunk Flags on Outlook.com and GMail

VB.NET UWP/WinRT: Examine Junk/NonJunk Flags on Outlook.com and GMail

VBScript: Examine Junk/NonJunk Flags on Outlook.com and GMail

Xojo Plugin: Examine Junk/NonJunk Flags on Outlook.com and GMail

link

answered Jan 24 at 20:49

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

Ohh Thank you that's very helpful, as i see there is no flags on outlook.com to mark an email as Spam or Not Spam but gmail yes.

so as your experience sir do you have any ideas about how to mark an email as Not Spam on outlouk.com using my C# application.

Thank you bro, you are very helpful

(Jan 26 at 08:26) foolorem

Please sir i need your solution to mark an email in a outlook account as not spam using my C# application

Thank you.

(Jan 28 at 16:08) foolorem

Doesn't look possible since there is not Junk flag - maybe just moving the email to the "Junk" folder (or similarly named folder like Spam) will work?

(Jan 30 at 11:18) jpbro ♦

Thanks @jpbro for your answer yeah its possible to move emails from the inbox folder to junk/spam but some localy parameters does not stored while do that so i need to simulate the NonJunk button in outlook using my code C#

(Jan 30 at 16:49) foolorem
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×191
×39
×6

Asked: Jan 22 at 16:27

Seen: 636 times

Last updated: Jan 30 at 16:49

powered by OSQA