Title: Gmail attachment size
Last modified: August 31, 2016

---

# Gmail attachment size

 *  [tay23](https://wordpress.org/support/users/tay23/)
 * (@tay23)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/gmail-attachment-size/)
 * Hi.
 * I use Postman SMTP to send zipped database backups as attachments via Gmail. 
   This worked fine until the database recently grew larger and now, despite the
   attached file size being within the limit set by Gmail (35MB), the mail sending
   fails with the following error message:
 * Error calling POST [https://www.googleapis.com/gmail/v1/users/me/messages/send](https://www.googleapis.com/gmail/v1/users/me/messages/send):(
   413) <TITLE>Request Entity Too Large</TITLE> <H1>Request Entity Too Large</H1
   > <H2>Error 413</H2>
 * This Stack Overflow forum post explains that a different method must be used 
   when using the Gmail API to attach a file over anything but a few MB: [http://stackoverflow.com/questions/24462184/413-request-entity-too-large](http://stackoverflow.com/questions/24462184/413-request-entity-too-large)
 * Please could you let me know if there’s anything I can do to fix this problem
   myself? If not, is it possible for you to amend the plugin to cope with sending
   larger attachments via Gmail?
 * Many thanks,
    Mathew Taylor
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

Viewing 1 replies (of 1 total)

 *  [astereo](https://wordpress.org/support/users/astereo/)
 * (@astereo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/gmail-attachment-size/#post-8939805)
 * Hi all,
 * Bumping this old post because I just began experiencing this issue as well. I
   tried to add the custom header to the postman settings that’s mentioned in that
   SO link (Content-type: multipart/related; boundary=\”part_boundary\”0, but it
   did not seem make a difference.
 * Any ideas? Much appreciated!

Viewing 1 replies (of 1 total)

The topic ‘Gmail attachment size’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [astereo](https://wordpress.org/support/users/astereo/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/gmail-attachment-size/#post-8939805)
 * Status: not resolved