最大附件大小邮件服务 [英] Maximum Attachment Size Mail Services

查看:134
本文介绍了最大附件大小邮件服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我做了这个php脚本(使用PHPMailer)收集铅并发送自动邮件与PDF文件作为附件。



问题是脚本的作品适用于小型文件。但客户端已经提供给我发送一个大小为24,139 KB的PDF文件。



因此,由于内存耗尽(64M以前),所以我将$ code> memory_limit 增加到128M。脚本现在工作正常,没有错误,但我没有收到任何邮件与这个大文件



邮件提供者,如Gmail,雅虎等阻止大的附件?如果有人告诉我最大的大小是多少,我可以要求我的客户端限制PDF大小



任何帮助?
Sharan

解决方案

雅虎:您可以通过Yahoo Mail发送和接收大小为25MB的电子邮件。 [1]



Gmail:附件大小限制。您可以发送大小为25兆字节(MB)的邮件。 [2]



Hotmail / Outlook:10 MB [3]



Gmail包含完整的邮件大小。 p>

[1] https ://help.yahoo.com/kb/message-size-limit-sln5673.html

[2] https://support.google.com/mail/answer/6584?hl=en

[3] http://answers.microsoft.com/en-us/windowslive/forum/email/what-is-hotmails-attachment-size-limit/feeed45f-bdab-47fc-a206-509aa2e9175d


So I have made this php script (Using PHPMailer) that collects lead and send an automated mail with a PDF File as Attachment.

The Problem is the script works for small sized Files. But the client has provided me to send a PDF file of the size 24,139 KB.

So I Increased the memory_limit to 128M since memory was exhausted earlier (64M Earlier). The script now works fine without an error but I don't recieve any mail with this large file

Does mail providers such as Gmail,Yahoo etc blocks large attachments?? If so could someone tell me what is the maximum size, so that i could ask my client to limit the PDF size

Any Help?? Sharan

解决方案

Yahoo: You can send and receive emails up to 25MB in size with Yahoo Mail. [1]

Gmail: Attachment size limit. You can send messages up to 25 megabytes (MB) in size. [2]

Hotmail/Outlook: 10 MB [3]

Gmail includes full message size.

[1] https://help.yahoo.com/kb/message-size-limit-sln5673.html
[2] https://support.google.com/mail/answer/6584?hl=en
[3] http://answers.microsoft.com/en-us/windowslive/forum/email/what-is-hotmails-attachment-size-limit/feeed45f-bdab-47fc-a206-509aa2e9175d

这篇关于最大附件大小邮件服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆