Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
1.0.0-alpha11
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2022 at 16:47 UTC
Updated:
22 May 2023 at 10:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
adamps commentedComment #3
adamps commentedComment #4
nojj commentedis anyone working on this?
seems this patch is a good starting point.
I could help testing.
Comment #5
adamps commentedI linked a different patch in the issue summary. The patch mentioned in #4 is more complicated because it combines two topics - this issue, plus some work towards security. I would like to handle security in a separate issue (it hasn't been raised yet).
Comment #6
nojj commentedhey AdamPS the patch you linked, does not send attachments for me.
Comment #7
adamps commentedPlease describe what you did to test it.
Comment #8
nojj commentedfor alpha10 and latest dev
Comment #9
adamps commentedOK, so the patch needs re-roll, and there are comments in the "Remaining Tasks" section of the IS.
If someone writes a patch I will commit it, but I don't have time to write the patch myself at the moment.
Comment #10
adamps commentedOK here is a rough idea how it would work, but not actually tested and missing one part.
Please review/test and let me know any comments.
Comment #11
nojj commentedThanks!
Patch applies to alpha10 and sends correct PDF Invoice attachment with commerce invoice.
Comment #12
adamps commentedGreat thanks @nojj.
I checked and Symfony already does some MIME type guessing with a big array in
Symfony\Component\Mime\MimeTypes. It might not be identical to Drupal, but arguably it's better - not clear why Drupal has to reimplement this. So I'm going to remove the @todo comment and commit.Comment #13
adamps commentedComment #15
adamps commentedComment #16
adamps commentedComment #17
adamps commentedComment #19
luenemann