尝试为godaddy.com上托管的网站设置表单邮件程序 [英] Trying to setup form mailer for a site hosted on godaddy.com

查看:105
本文介绍了尝试为godaddy.com上托管的网站设置表单邮件程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是网络托管新手,我使用Expression web 3.0创建网站。 我正在尝试表格,我完全迷失了。 我的网站托管在godaddy上,我的网址是www.ambroseparish.org/ambroseparish/calendar/event.html如果你可以看看我不确定我是否将godaddy给我的信息放在了正确的位置。 以下是他们给我的一个示例

< form action =" _gdForm / webformmailer.asp"方法= QUOT; POST">

< input type =" hidden"命名= QUOT受试者QUOT;值= QUOT;提交" />
< input type =" hidden"命名= QUOT;重定向"值= QUOT; thankyou.html" />
名字:< input type =" text"名称= QUOT;姓" />
姓氏:< input type =" text"名称= QUOT;名字" />
电子邮件:< input type =" text"名称= QUOT;电子邮件" />
评论:< textarea name =" comments" COLS = QUOT; 40" rows =" 10">
在此处输入评论。< / textarea>
< input type =" submit"命名= [提交" value =" submit" />
< input type =" hidden"名称= QUOT; form_order" value =" alpha" />
< input type =" hidden"名称= QUOT; form_interval" value =" hourly" />
< input type =" hidden"名称= QUOT; form_format" value =" html" />
< / form>



当然我的输入是不同的,我认为我是要添加跟随我的代码。


< form action =" _gdForm / webformmailer.asp"方法= QUOT; POST">
< input type =" hidden"命名= QUOT受试者QUOT;值= QUOT;提交" />
< input type =" hidden"命名= QUOT;重定向"值= QUOT; thankyou.html" />

< input type =" submit"命名= [提交" value =" submit" />
< input type =" hidden"名称= QUOT; form_order" value =" alpha" />
< input type =" hidden"名称= QUOT; form_interval" value =" hourly" />
< input type =" hidden"名称= QUOT; form_format" value =" html" />
< / form>



如果你真好看,有什么建议可以给我会有所帮助。 或者,如果有任何网站可以帮助我解决这个问题,我很乐意看看它们。

感谢

Jerry Fowler
FowlerJ

解决方案

不,你的建议不会起作用。服务器代码期望POST数据中只有特定的名称值对。如果您将自己的内容添加到表单中,服务器将不会注意到它们,或者可能只是为了更好地衡量您。您需要获取他们的服务器端代码的副本并将新字段添加到其中。

如果它按照您的建议完成,我们都可以向您发送我们自己对可爱的想法的疯狂内容输入表单看起来像。

I am new to web hosting and I am using Expression web 3.0 to create a site.  I am trying my hand at forms and I am totally lost.  My site is hosted on godaddy and my url is www.ambroseparish.org/ambroseparish/calendar/event.html if you could take a look I am not sure that I placed the information that godaddy gave me in the right place.  Here is a sample of what they gave me

<form action="_gdForm/webformmailer.asp" method="POST">

<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
First Name: <input type="text" name="FirstName" />
Last Name :<input type="text" name="LastName" />
Email: <input type="text" name="email" />
Comments: <textarea name="comments" cols="40" rows="10">
Type comments here.</textarea>
<input type="submit" name="submit" value="submit"/>
<input type="hidden" name="form_order" value="alpha"/>
<input type="hidden" name="form_interval" value="hourly"/>
<input type="hidden" name="form_format" value="html"/>
</form>


Of course my input is different and I would think that I was to add the following to my code.

<form action="_gdForm/webformmailer.asp" method="POST">
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />

<input type="submit" name="submit" value="submit"/>
<input type="hidden" name="form_order" value="alpha"/>
<input type="hidden" name="form_interval" value="hourly"/>
<input type="hidden" name="form_format" value="html"/>
</form>


if you would be so kind to look, any suggestions that you could give me would be helpful.  Or if there are any sites that would help me figure this out I would be glad to look at them.

thanks

Jerry Fowler
FowlerJ

解决方案

No, what you are suggesting is not going to work. The server code is expecting only specific name value pairs in the POST data. If you add your own to your form the server will not notice them or may just flush you for good measure. You need to get a copy of their server side code and add your new fields to it also.

If it did what you suggested we could all be sending you crazy stuff with our own ideas of what a cute input form looks like.


这篇关于尝试为godaddy.com上托管的网站设置表单邮件程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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