Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3951992
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:47:49+00:00 2026-05-20T01:47:49+00:00

where do I begin? I can’t seem to find any definitive documentation. (I am

  • 0

where do I begin?

I can’t seem to find any definitive documentation. (I am probably looking in the wrong places….).

I want to be able to edit IMAP keywords (for tagging purposes) for email messages.

I have some really noobie questions;
how are they added?
are keywords applied directly to message headers (if so, what is the syntax), or is there some other kind of imap voodoo at work…

thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:47:50+00:00Added an answer on May 20, 2026 at 1:47 am

    IMAP custom keywords are applied to messages via the STORE command. Once added, they’ll be returned when you do a FETCH for FLAGS and they’ll be searchable via SEARCH KEYWORD:

    A001 FETCH 5 (UID RFC822.SIZE FLAGS)
    * 5 FETCH (UID 292 RFC822.SIZE 2554 FLAGS (\Seen))
    A001 OK FETCH completed
    
    A002 STORE 5 +FLAGS (pending ignored uninteresting)
    * 5 FETCH (FLAGS (\Seen pending ignored uninteresting))
    A002 OK STORE completed
    
    A003 FETCH 5 (UID RFC822.SIZE FLAGS)
    * 5 FETCH (UID 292 RFC822.SIZE 2554 FLAGS (\Seen pending ignored uninteresting))
    A003 OK FETCH completed
    
    A004 SEARCH KEYWORD pending
    * SEARCH 5
    A004 OK SEARCH completed
    

    Note that when you create a new keyword via STORE, the server should respond with an updated list of all the system and user flags defined on the mailbox:

    A002 STORE 5 +FLAGS (pending ignored uninteresting)
    * FLAGS (\Answered \Deleted \Draft \Flagged \Seen pending ignored uninteresting)
    * 5 FETCH (FLAGS (pending ignored uninteresting))
    A002 OK STORE completed
    

    Some servers won’t allow you to create used-defined keywords. They’ll let you know this by not including \* at the end of the PERMANENTFLAGS list when you SELECT the mailbox.

    The STORE command allows you to add keywords to a message’s existing set (via +FLAGS), remove them (-FLAGS), or replace the set with an entirely new set (FLAGS).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone suggest me the right way to begin with the documentation of the
How can I drop all tables whose names begin with a given string? I
I am trying to learn PHP classes so I can begin coding more OOP
ive got a text input whereby somebody can begin to type and then below
I am creating a download manager, and I need to be able to find
How can i determine who called the Showme Procedure? procedure Showme(str:string); begin ShowMessage(str); end;
I'd like check via jquery a string, thi string can begin by P or
i want to know how i can open a browser to a specific web
Consider the following SQL: BEGIN TRAN SET TRANSACTION ISOLATION LEVEL READ COMMITTED INSERT Bands
How would you begin improving on a really bad system? Let me explain what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.