联系表格7不能发送超过6MB的附件到电子邮件

时间:2019-02-27 07:26:11

标签: php wordpress smtp contact-form-7

enter image description here

附件已上传到服务器。但是,如果文件大于6MB,则无法使用联系方式将附件发送至电子邮件。 Ajax正在加载。 我遇到以下错误:

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

邮件程序:Gmail

请求实体太大

请求实体太大 错误413

这是我的设置:

我在php.ini中增加了以下内容:

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

CF7文件限制:20MB

如果大小超过6MB,我仍然无法通过电子邮件发送文件。非常感谢。

0 个答案:

没有答案