Attachment compatibility

Created on 26 July 2021, over 3 years ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

I'm trying to use this module on a site which uses Commerce Invoice. The invoice email attachment is given a 'filepath' but the file itself is not loaded, so the mail handler fails to attach the file content to the mail (Swiftmailer handles the 'filepath' correctly). I am not sure if other contrib modules use this, but including this case surely can't hurt.

Steps to reproduce

Install commerce_invoice, set up a simple commerce shop, purchase a product. Invoice mail will throw a warning and no attachment will be sent.

Proposed resolution

Treat this case.

Remaining tasks

I will provide a patch

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇴Romania alex.stanciu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024