
附件被上传到服务器。但是,如果文件大小超过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,我仍然无法将文件发送到电子邮件。非常感谢。
发布于 2021-08-26 13:58:26
默认情况下,联系人7为每个上传的文件设置1MB的最大大小
因此,您可以手动将限制设置为此->限制:2MB
[file file-709 limit:2mb filetypes:pdf]https://stackoverflow.com/questions/54900130
复制相似问题