Contact Form 7 can't send attachment more than 6MB to email

允我心安 提交于 2019-12-25 02:24:18

问题


Attachment is uploaded into server. But, unable to send attachment using contact form to email if file is larger than 6MB. Ajax is loading. I encounter the following errors:

 EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.4.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

Here is my setting:

I have increased the following in php.ini:

      
upload_max_filesize = 512M
post_max_size=512M
max_execution_time=600
max_input_time=600
memory_limit=1024M

CF7 file limit: 20MB

I still can't send file to email if more than 6MB. Thanks a lot.

来源:https://stackoverflow.com/questions/54900130/contact-form-7-cant-send-attachment-more-than-6mb-to-email

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!