Email attachment not readable from form using FP2000

P

pegarcia

I created a FP form with a submit button. The form will send the email but
the file is formatted as a .ATT file attachment. I've opened the file using
Notepad and found the information is correct however it is a single long
string of text. I can only make the form work using the "Custome ISAPI,
NSAPI, CGI, or ASP Script" option which doesn't allow file type selection.
The following is the HTML sending the form:

<form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
Report" target="_top">
<!--webbot bot="SaveResults" U-File="O:\forms\incident.htm"
S-Format="HTML/UL"
S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="HTML/UL"
S-Email-Address="(e-mail address removed)"
B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="FALSE"
S-Email-ReplyTo="email" B-Email-Subject-From-Field="FALSE"
S-Email-Subject="Incident Report" S-Builtin-Fields S-Form-Fields -->

Ultimately I would like the form to send the information provided by a user
in a printable format.

Thanks,
 
T

Thomas A. Rowe

Select the text option and make sure under Page Options | Authoring you have the Extensions enabled
and that you are publishing the site to a server that has FP extensions.

Also do not name the form or change the name that FP assigns.

The path for the save result file should be relative to the web, not a absolute URL to disk-based
location, which is a indication that you did not have web / site open when you worked on the content
of your web.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Murray

Change this -

<form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
Report" target="_top">

to this -

<form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
Report" target="_top" enctype="text/plain">
 
P

pegarcia

Tom,

I checked the Page Options and FP extensions are/were enabled on my page. I
removed the file name and retried the form. The same file attachment is sent,
POSTDATA.ATT. Is this an indication that our server may not have FP
extionsions enabled? I have sent a question to our IT group asking if the FP
extensions are enabled but I have not yet heard back.
 
T

Thomas A. Rowe

It could be how their mail server is configured.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
S

Stefan B Rusynko

PS
And the name should be w/o any spaces (plus the FP forms handler does not support targets)

<form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental_Incident_Report" enctype="text/plain">





| Change this -
|
| <form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
| Report" target="_top">
|
| to this -
|
| <form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
| Report" target="_top" enctype="text/plain">
|
| --
| Murray
| ============
|
| | >I created a FP form with a submit button. The form will send the email but
| > the file is formatted as a .ATT file attachment. I've opened the file
| > using
| > Notepad and found the information is correct however it is a single long
| > string of text. I can only make the form work using the "Custome ISAPI,
| > NSAPI, CGI, or ASP Script" option which doesn't allow file type selection.
| > The following is the HTML sending the form:
| >
| > <form METHOD="POST" ACTION="--WEBBOT-SELF--" name="Environmental Incident
| > Report" target="_top">
| > <!--webbot bot="SaveResults" U-File="O:\forms\incident.htm"
| > S-Format="HTML/UL"
| > S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
| > S-Email-Format="HTML/UL"
| > S-Email-Address="(e-mail address removed)"
| > B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="FALSE"
| > S-Email-ReplyTo="email" B-Email-Subject-From-Field="FALSE"
| > S-Email-Subject="Incident Report" S-Builtin-Fields S-Form-Fields -->
| >
| > Ultimately I would like the form to send the information provided by a
| > user
| > in a printable format.
| >
| > Thanks,
| >
| >
| > --
| > Paul
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top