mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 13:36:02 +03:00
[PR #508] [MERGED] load profiles when attaching a file, so smtp drafts are correctly saved #859
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#859
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/508
Author: @kroky
Created: 8/30/2021
Status: ✅ Merged
Merged: 9/29/2021
Merged by: @jasonmunro
Base:
master← Head:bugfix/smtp-imap-draft-file-attachment📝 Commits (1)
c163446load profiles when attaching a file, so smtp drafts are correctly saved into a linked imap profile drafts folder; additionally send local attachments saved to first draft as part of imap draft sending procedure - otherwise, attachments stay on the server and are never sent out📊 Changes
3 files changed (+8 additions, -0 deletions)
View changed files
📝
modules/profiles/setup.php(+1 -0)📝
modules/smtp/modules.php(+6 -0)📝
modules/smtp/setup.php(+1 -0)📄 Description
... into a linked imap profile drafts folder; additionally send local attachments saved to first draft as part of imap draft sending procedure - otherwise, attachments stay on the server and are never sent out
@henrique-borba I think saving imap drafts when smtp/imap profile is setup is your work, can you check out these fixes? The main problem I was hunting is missing files in the sent email after attaching them to a message. However, I found another bug as well. In short:
a) delete local attachments when imap draft is saved as those are saved as part of the imap message
b) show attachments to the imap draft in the compose form when editing an imap draft
c) send those attachments even if they are not locally uploaded when submitting the compose form
If you have a different/easier to implement idea, I am also fine but I think this imap draft feature needs some updates in order to work fine with attachments.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.