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(other): add Junk button when Junk folder is configured for an IMAP Server #1420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Baraka24
Copy link
Member

@Baraka24 Baraka24 commented Jan 5, 2025

🍰 Pullrequest

Issues

@Baraka24 Baraka24 force-pushed the add-junk-button-to-msg_controls branch from a4eb244 to 976228d Compare January 5, 2025 10:37
@Baraka24 Baraka24 changed the title feat(other): Add Junk button when Junk folder is configured for an IMAP Server feat(other): add Junk button when Junk folder is configured for an IMAP Server Jan 5, 2025
@Baraka24 Baraka24 requested a review from kroky January 5, 2025 10:38
@Baraka24 Baraka24 force-pushed the add-junk-button-to-msg_controls branch 4 times, most recently from 6aa2823 to 4c80273 Compare January 5, 2025 13:08
@christer77 christer77 force-pushed the add-junk-button-to-msg_controls branch 5 times, most recently from d913a2b to a403d24 Compare January 7, 2025 09:05
@christer77 christer77 force-pushed the add-junk-button-to-msg_controls branch from a403d24 to 128fe01 Compare January 7, 2025 09:17
}
}
} else {
if (!$mailbox->message_action($folder_name, mb_strtoupper($action_type), $uids)['status']) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to check what happens in mailbox down the road - besides IMAP, it is passing this method to EWS if that's the account type and I am not sure EWS understands the Junk action unless you code it...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out! I'll look into implementing the JUNK action for the EWS side. If I run into any issues, I'll reach out for your help.

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