Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ ✨ feat: Add UID method to IMAPSearchCriteria #19

Conversation

ARYAN-NIKNEZHAD
Copy link
Contributor

Summary

This pull request adds a UID method to the IMAPSearchCriteria class to provide unique identification functionality for IMAP email searches.

Changes

  • Added uid static method to IMAPSearchCriteria class
  • Updated class documentation with example usage for the uid method
criteria = IMAPSearchCriteria.uid("100")
print(criteria)  # Output: UID 100

criteria = IMAPSearchCriteria.uid("100:200")
print(criteria)  # Output: UID 100:200

Closes #18

…ification

- Added  static method to IMAPSearchCriteria class
- The method generates search criteria for emails using the specified
  UID or range of UIDs
  - Updated class documentation with example usage for the  method

  The  method allows users to search for emails based on their
  unique identifiers, enhancing the search functionality of the
  IMAPSearchCriteria class. This update ensures better compatibility
  with the  package for Python, providing a straightforward way
  to use UIDs in IMAP queries.
@sepehr-akbarzadeh sepehr-akbarzadeh merged commit 67636ff into sageteamorg:develop Jul 24, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants