| | |
Need a contact form
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Yes, but the form will not be pretty as you can't modify the sent data in any way:
HTML and CSS Syntax (Toggle Plain Text)
<form action=mailto:your@email.address method="POST" enctype="text/plain">
Last edited by stymiee; Jun 20th, 2007 at 11:11 am.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
:stymiee>
>_< messy and it's not just a case of being unable to modify data : most browsers will dump you to a default mail client (if one exists) with (at best) the form data in the message body. (assuming that that default mail client is even configured to send mail) the user then has to go click 'send' themselves; that is convolution to the max. at worst, the browser will spit an error, or won't do anything.
if you want to be sure that most users will be able to use your form, get a better hosting provider. if there's some legitimate reason why just ONE hosting provider that you're using won't let you access any kind of server-side script, and you need to keep a site with that hosting provider.. rent one that does let you write script, and use that one solely to send the mail.
I'll rent you a one-function script on one of my domains if you're desperate...
Otherwise, you're probably better off just writing your email address on the page and asking people to email you the information if they feel like it. That's pretty much what action=mailto equates to.
<form action=mailto:your@email.address method="POST" enctype="text/plain">>_< messy and it's not just a case of being unable to modify data : most browsers will dump you to a default mail client (if one exists) with (at best) the form data in the message body. (assuming that that default mail client is even configured to send mail) the user then has to go click 'send' themselves; that is convolution to the max. at worst, the browser will spit an error, or won't do anything.
if you want to be sure that most users will be able to use your form, get a better hosting provider. if there's some legitimate reason why just ONE hosting provider that you're using won't let you access any kind of server-side script, and you need to keep a site with that hosting provider.. rent one that does let you write script, and use that one solely to send the mail.
HTML and CSS Syntax (Toggle Plain Text)
<b>Welcome to http://myprimarydomain.tld!</b> ... <form action="http://myotherdomain.tld/mailscript.php" method="POST" enctype="text/plain"> ... </form>
Otherwise, you're probably better off just writing your email address on the page and asking people to email you the information if they feel like it. That's pretty much what action=mailto equates to.
Plato forgot the nullahedron..
Remember, they said they don't have access to PHP. Otherwise a formmail script would have been the obvious choice.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Mm. Indeed and agreed. but it's probably worthwhile listing all of the drawbacks of mailto: actions; rather than a simple script somehere ( not neccessarily on the same server where the site is hosted ).
When I had a similar problem ( sendmail blocked ) with some dodgy cheap hosting my old employer used; I set up individiual scripts on my own private full-featured hosting package to handle email forms for clients. As far as I know, those scripts are still in-use...
Perhaps I should start running a third-party service... Set up an account for some silly price like £10 for life ( guaranteed for five years ), and use your own private mailto script, with configurable IP-blocking and a timed IP lock and referer check to protect againt automatic mailbombing... I'm sure such things exist already, but I can't seem to find them by perusing.. It'd almost be money for nothing. ( disapears to plan ).
When I had a similar problem ( sendmail blocked ) with some dodgy cheap hosting my old employer used; I set up individiual scripts on my own private full-featured hosting package to handle email forms for clients. As far as I know, those scripts are still in-use...
Perhaps I should start running a third-party service... Set up an account for some silly price like £10 for life ( guaranteed for five years ), and use your own private mailto script, with configurable IP-blocking and a timed IP lock and referer check to protect againt automatic mailbombing... I'm sure such things exist already, but I can't seem to find them by perusing.. It'd almost be money for nothing. ( disapears to plan ).
Plato forgot the nullahedron..
•
•
Join Date: Jun 2007
Posts: 2
Reputation:
Solved Threads: 0
Thank you for your suggestions! I found a site that offers remotely hosted contact forms, www.emailmeform.com . Basically, I paste the html code in my website, and it calls the php script on their server who sends the email.
![]() |
Similar Threads
- Need Web Based Contact Us Form (PHP)
- Need a contact form for my web site (Site Layout and Usability)
- Contact us form help (PHP)
- Auto fill-in a field on the contact form (HTML and CSS)
- Contact form without scipts (PHP)
- Removing pictures from Outlook 2003 Contact form (Windows Software)
- I need help with a form please (PHP)
Other Threads in the HTML and CSS Forum
- Previous Thread: Css floating problem
- Next Thread: Fluid CSS, aligning column heights, but with fluid widths
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






