Skip to content

Error sending notification email with large file attachment #2626

@jlabs

Description

@jlabs

Describe the bug

Noticed a couple of email notifications have failed to send with the error (in the queue) Error: Unable to open path... on .../vendor\/symfony\/mime\/Part\/TextPart.php:156.

The standout difference between these notifications and others, is these have file attachments of 14mb. Others have a few hundred kb.

I've seen in the changelog from 2023 there was an issue sending large files, but the plugin is up to date.

Steps to reproduce

  1. Create a notification that sends an attachment
  2. Trigger the notification with a 14mb attachment

Form settings

  • Multi-page form: No
  • Submission Method: Page Reload
  • Client-side Validation: Yes
  • Custom Form Templates: No

Craft CMS version

5.8.19

Plugin version

3.1.5

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions