问题描述
我有一个的很多的输入字段,我用填充邮件的HTML表单。我今天了解到,使用GET法将限制什么贴的大小。但是,从我可以告诉,有一个使用POST时,没有限制。那么,有可能是因为我相信,这可能是我的问题。我的电子邮件不会在电子邮件客户端打开,当他们达到一定规模(或者,如果我用了太多的输入字段?)
I've got a HTML form with a lot of input fields, which I use to populate an email. I learned today that using the GET-method will limit the size of what's posted. But from what I can tell, there is no limit when using POST. Well, there probably is since I believe that this is probably my problem. My emails aren't opening in the email client when they have reached a certain size (or if I've used too many input fields?)
用户将不能够有一个恒定的互联网连接,唯一的可靠的方法来沟通是通过电子邮件。他们在自己的电脑的使用是有限的,不能欠幅任何可执行文件。这就是为什么我创建了一个带有大量的JavaScript创建电子邮件正文HTML文件。有些用户已经收到一个电子邮件客户端,如果是这样的话我想开一个新的电子邮件从表格上的HTML文件中的内容。
The users will not be able to have a constant internet connection, and the only "reliable" method to communicate is via email. They are limited in their usage of their computer and can't runt any executable files. That's why I created a HTML file with a lot of javascript that creates the email body. Some of the users have got an email client, and if that's the case I want to open a new email with the content from the form on the HTML file.
那么,有没有某种用行动=邮寄地址发送表单时,身体可以多大限度?
So, is there some kind of limit of how big the body can be when sending a form with action="mailto:"?
推荐答案
在测试了火狐3.5.8,我可以用行动=时候只有1994年补习班字符到一个POST形式。通常你要避免使用的mailto:用身体参数
Tested on Firefox 3.5.8, I could only cram 1994 characters into a POST form when using action="mailto:". Generally you want to avoid using mailto: with a body parameter.
也许只是让他们手动复制/粘贴生成的电子邮件的正文为他们的客户。这是非常粗糙的,但有时你不得不即兴....
Perhaps just have them copy/paste the body of a generated email into their client manually. It's extremely crude, but sometimes you have to improvise....
这篇关于在邮件正文限制发布一个mailto时:形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!