mail attachment not included

Created on 28 April 2022, about 2 years ago
Updated 30 May 2023, about 1 year ago

in a commerce2 project I am trying to send emails with invoices and attached pdf of the invoice.
this seems to be covered here:
https://www.drupal.org/project/commerce_invoice/issues/3089861 πŸ’¬ Email the customer invoice Fixed
mail pdf is created and the mail get sent, but are missing the attached pdf.

has this patch made it to RC1?

πŸ› Bug report
Status

Active

Component

Code

Created by

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.

  • πŸ‡«πŸ‡·France Toki Caen, Normandy

    @nojj Are you sure it is fixed by the Symfony Mailer dev version?
    Until I have switched from SwiftMailer to Symfony mailer, I can not get Commerce Invoice attaching invoices to emails.
    I am working on Drupal 9.5 (on PHP 8.1) with Commerce invoice 2.0-rc3 and Symfony Mailer 1.x-dev.
    As it worked on drupal test website, I have uninstalled Mail System and SwiftMailer (emails are fine globally).

    Drupal log sent this message (Type : commerce_invoice) :

    RuntimeException: Failed to start the session because headers have already been sent by "/home/my-website/public_html/vendor/symfony/http-foundation/Response.php" at line 1239. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 152 of /home/my-website/public_html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).

    Thanks for any tip here.

  • Status changed to Active about 1 year ago
  • πŸ‡«πŸ‡·France Toki Caen, Normandy
  • πŸ‡ΈπŸ‡¬Singapore vhin0210

    Subscribed. Have the same issue as #9 πŸ› mail attachment not included Active

Production build 0.69.0 2024