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

[FEATURE] Keep original filenames of uploads in {powermail_all} marker #1157

Open
kitzberger opened this issue Oct 7, 2024 · 1 comment
Open
Labels

Comments

@kitzberger
Copy link
Contributor

kitzberger commented Oct 7, 2024

A user might find it odd that the name of the file that they've just uploaded got changed due to the randomizeFileName setting. Therefore I suggest to keep the original filename for each uploaded file to be used when rendering the {powermail_all} marker

Idea originally mentioned here: #965

@tntrpsw
Copy link

tntrpsw commented Jan 13, 2025

Additionally to this feature request I would like to ask to not only use the supported filenames within templates, but also for the files being attached to emails sent out by powermail.

That would make things much easier, at least for some of our customers (website owners).

Maybe it could be done by extending the attachFromPath() function call within the addAttachmentsFromUploads() function to use the original filename, if provided and valid (and after sanitation of cause).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants