This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > May 2004 > Forms and POSTDATA.ATT





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Forms and POSTDATA.ATT
Anonymous CowOrker

2004-05-28, 7:15 pm

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:example@example.edu" 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>
Jim Buyens

2004-05-28, 7:15 pm

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:example@example.edu"

method="post"><textarea cols=50 rows=15 name="comment"
wrap="soft">


Andrew Murray

2004-05-29, 12:15 pm

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" <anonymous@discussions.microsoft.com> wrote in message
news:471ED6A3-026E-4798-90C7-B3D26C5E8886@microsoft.com...
> 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:example@example.edu"

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>


Ronx

2004-05-29, 12:15 pm

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
--
Ron
Reply only to group - emails will be deleted unread.

"Andrew Murray" <SPAMadBUSTERmurray@iinet.net.au> wrote in message
news:40b84769$0$8100$5a62ac22@freenews.iinet.net.au...
> 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" <anonymous@discussions.microsoft.com> wrote in

message
> news:471ED6A3-026E-4798-90C7-B3D26C5E8886@microsoft.com...
an[color=darkred]
> attatchment called POSTDATA.ATT rather than in the body of the email.
Internet[color=darkred]
> Explorer on Windows. If the user is using a different browser on Mac or

Linux
> then it works fine.
> 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>
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews