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

fix(backend): jmap config with smtp server #1425

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

Conversation

Shadow243
Copy link
Member

@Shadow243 Shadow243 commented Jan 17, 2025

Refactored server connection logic to handle cases where JMAP and SMTP coexist.

Currently, JMAP is added alone when $onlyJmap is true. The update replaces IMAP with JMAP in this case while allowing the possibility to check and add SMTP if $isSender is true.

Screenshot 2025-01-17 at 11 32 10

@Shadow243 Shadow243 requested a review from josaphatim January 17, 2025 09:31
@@ -1079,6 +1079,18 @@ public function process() {
return;
}

if($isSender){
Copy link
Member

Choose a reason for hiding this comment

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

I think the best way is to put this block of code out of its parent if so we avoid duplication.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@Shadow243 Shadow243 force-pushed the fixed-jmap-conf-with-sender-server branch from ca1d0ae to e63a076 Compare January 27, 2025 21:20
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