Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ts_tier_2_012010.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
1 Мб
Скачать
☆

B) Formmail

  • Forrmails are typically used for online forms which send the submitted form to an email address.

Troubleshooting Formail

  • Check to see if Perl is running on the domain web space by uploading a helloworld.pl test script in the cgi-bin

    • If PERL is working, view form source and verify if the script is written correctly.

    • If PERL is not working, first upload your own formmail test script before submitting a ticket.

  • Always upload your own testscript. You are not here to fix code, but you can prove that form mail works on our system.

Creating a Test Formmail

1) Site Builders>Plug-in scripts > Formmail

Install Formmail

Email address: email@domain.com

Referrer (URL): domain.com

Email address: ourtestingzone@yahoo.com

Referrer (URL): yahoo.com

2) Create a Test Form.

You can use this test form:

<html>

<!--

//*************************************************************************

//******* Sample Form to use in Conjunction with Formmail ********

//******* ********

//******* This test form can be used to test if formmail is working********

//******* correctly for this site. ********

//*************************************************************************

--!>

<head>

<title></title>

</head>

<body>

<table border=0 cellpadding=10>

<td colspan=1>

<td colspan=2>

<H1></h1>

</td>

</table>

<p>

Please fill out the following:<BR><BR>

<!--*********************************************************************************

******* Ensure you replace the below recipient VALUE with an email address ********

******* you can test with. ********

*************************************************************************************--!>

<form method=POST action="/cgi-bin/formmail">

<input TYPE="hidden" NAME="recipient" VALUE="ourtestingzone@yahoo.com">

<!--*********************************************************************************--!>

<b>Your name <i>(optional)</i>:</b><br>

<INPUT name="realname" size=60>

<p>

<b>Your e-mail address <i>(if you want a reply)</i>:</b><br>

<INPUT name="username" size=60>

<p>

<b>Enter your comment or question:</b><br>

<textarea name="note" rows=15 cols=50></textarea><br>

<p>

<input type="submit" value="Submit"><br>

<input type=reset value="Clear Form"><br>

</form>

</body>

</html>

3) Copy and Paste Code into Form Non Secure Site

<form method="POST" action="/cgi-bin/formmail">

<input TYPE="hidden" NAME="recipient" VALUE="ourtestingzone@yahoo.com">

Secure Site Generic Certificate

<form method="POST" action="https://secure1.securewebexchange.com/domain.com/cg-bin/formmail">

<input TYPE="hidden" NAME="recipient" VALUE="ourtestingzone@yahoo.com">

Note: For Generic SecureWebExchange URL go to PIGS (Domain Info).

Private SSL

<form method="POST" action="https://www.domain.com/cg-bin/formmail"> <input TYPE="hidden" NAME="recipient" VALUE="ourtestingzone@yahoo.com">

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]