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 support for remote file mail attachment #3384

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

pditommaso
Copy link
Member

This PR fixes the support for remote paths in the mail attachment.

When a remote path is provided, the file is copied in the local file system to a temp file.

Signed-off-by: Paolo Di Tommaso paolo.ditommaso@gmail.com

@pditommaso pditommaso linked an issue Nov 13, 2022 that may be closed by this pull request
@pditommaso
Copy link
Member Author

Should it be added a warning if the user try to attach a file too big e..g larger than 20MB? @robsyme what do you think?

Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso
Copy link
Member Author

Ok, I've added a warning if the attachment is bigger than 20MB. merging!

@pditommaso pditommaso merged commit 6b496bb into master Nov 14, 2022
@pditommaso pditommaso deleted the fix-remote-path-attachment branch November 14, 2022 16:34
@pditommaso pditommaso added this to the 23.04.0 milestone Nov 16, 2022
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.

Attaching S3 objects to emails
1 participant