Needs review
Project:
Mime Mail
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2020 at 04:25 UTC
Updated:
24 Jun 2020 at 21:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
imclean commentedComment #3
imclean commentedThe patch in #2 is an arbitrary test case which demonstrates the problem.
A real-world use case could involve generating a PDF and attaching the contents to the email without having to save the file anywhere. For example, the FPDM library can return the PDF contents
Comment #4
tr commentedYes, this patch can be used to verify the problems raised by #2904611: Seeing errors when sending a mail with files attached as file contents (and by a dozen similar issues over the years).
We should probably also add a form input so that a file URL can be entered and attached.
That will give use three ways to attach files:
Are there other ways of attaching files that aren't covered by these three use cases?
These three cases should probably be altogether in a details form element, to simplify the UI.
Comment #5
tr commentedLet's use #3129458: Add support for sending private files to mimemail example module for item 3) above.