Forms and POSTDATA.ATT

G

Guest

When I get emailed from users using this form, their comments arrive as an attatchment called POSTDATA.ATT rather than in the body of the email.
The strange thing is that it only happens when the user is using Internet Explorer on Windows. If the user is using a different browser on Mac or Linux then it works fine.

<form name="support" action="mailto:[email protected]" method="post"><textarea cols=50 rows=15 name="comment" wrap="soft"></textarea><br><br><INPUT TYPE="SUBMIT" VALUE="Submit (Click only once)"><INPUT TYPE="RESET" VALUE="Reset"></form>
 
J

Jim Buyens

Right.

When you configure a form to send mail using
action="mailto:...", you're actually invoking the Web
visitor's local mail program. Microsoft Outlook, at least,
responds by sending the form's POST information in an
attached file named (you guessed it) POSTDATA.ATT.

There's really nothing you can do about this, except to
start using a server-side mailer program. The FrontPage
Server Extensions can do this for you, or you can write an
ASP or ASP.NET page, or you can use any of many, many
freeware products. Your hosting provider almost certainly
has one or more of these products already installed for
your use. Check their support pages.

One bit advantage of sending mail from the server is that
all the mail arrives in the same format (because the same
program always sends it).

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

-----Original Message-----
When I get emailed from users using this form, their
comments arrive as an attatchment called POSTDATA.ATT
rather than in the body of the email.
The strange thing is that it only happens when the user
is using Internet Explorer on Windows. If the user is
using a different browser on Mac or Linux then it works
fine.
<form name="support" action="mailto:[email protected]"
method="post"><textarea cols=50 rows=15 name="comment"
wrap="soft">
 
A

Andrew Murray

shouldn't that be action=post and method=mailto......
you have these the other way around

when you think about it, its logical

the ACTION is to POST the data and the METHOD is to MAILTO:



Anonymous CowOrker said:
When I get emailed from users using this form, their comments arrive as an
attatchment called POSTDATA.ATT rather than in the body of the email.
The strange thing is that it only happens when the user is using Internet
Explorer on Windows. If the user is using a different browser on Mac or Linux
then it works fine.
<form name="support" action="mailto:[email protected]"
method="post"><textarea cols=50 rows=15 name="comment"
wrap="soft"></textarea><br><br><INPUT TYPE="SUBMIT" VALUE="Submit (Click only
once)"><INPUT TYPE="RESET" VALUE="Reset"></form>
 
R

Ronx

No!
Action is the form handler: mailto:addy / .asp page / .pl script /
FPextensions / .....
Method is how the data is sent to the handler - usually either POST or
GET
 

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