• Resolved emaqu

    (@emaqu)


    I’m encountering an issue where emails sent through WP Mail are not including attachments. The attachments are added correctly in the email composition, but they are missing from the received emails.

Viewing 1 replies (of 1 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @emaqu,

    Thanks for reaching out! Please kindly know that the WP Mail SMTP plugin does not strip attachments when sending emails. The attachment limit is determined by the mailer that you have configured on your site. For example, if you’re using Gmail mailer, you can send up to 25 MB in attachments.

    By default, WordPress does not allow to upload some filtypes. To expand the allowed file types, you can use a plugin like File Upload Types plugin: https://ww.wp.xz.cn/plugins/file-upload-types/.

    Generally, we do not recommend sending emails with file attachments, the reason is that it can often hurt email deliverability. Different email providers have different limits on the type and size of files they can accept. Sending files that don’t pass these rules most often means the email won’t get delivered or will bounce.

    For example, if the email provider only allows a total attachment size of 10MB but the user uploads 28MB jpegs, the email won’t deliver.

    The recommended solution would be to upload those attachments to a server (or to a cloud storage service), and then include those attachment links within your email notifications.

    A plugin like WPForms does this automatically as well.

    I hope this helps. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Email Attachments’ is closed to new replies.