• Resolved eelinandersson

    (@eelinandersson)


    Hi, I have been getting a 413 Error message stating the following:

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.7.1 logged this error during the last time it tried to send an email:

    Mailer: Gmail

    Request Entity Too Large

    Request Entity Too Large
    Error 413

    I have checked my server and my max_execution_time is set to 300, my max_upload_size is 256MB and Post_max_siz is also 256MB. The emails that are failing to be sent carry pretty heavy attachments but the email size should still be less than 10 MB. When I disabled the WP Mail SMTP the emails were able to be sent so there must be a limit on the plugin. Please advice.

Viewing 1 replies (of 1 total)
  • Hi @eelinandersson,

    I apologize for any confusion about this. There’s a limit with Gmail API. The Gmail limit for direct file attachment in the email is 31 MB. This limit is applied to the sum of the message’s text and the encoded attachment. Encoding makes the file size slightly larger, can often double in size. Though, the multipart upload might help and is on our radar as we plan our roadmap for the future.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘413 Error and size limits..’ is closed to new replies.