Chatroom
 

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Bad Astronomy and Universe Today Forum > General > Off-Topic Babbling
Register FAQ Members List Calendar Mark Forums Read

   

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 22-August-2006, 02:07 PM
Sticks's Avatar
Sticks Sticks is offline
Moderator
 
Join Date: Jan 2004
Location: Newcastle upon Tyne, UK
Posts: 3,754
Send a message via MSN to Sticks
Default Web Mail forms - Any tips ?

I have been asked to do a mail form for a website.
when I did one for our church information site, I was only able to do one because I could sign up to a service offered by the company who does the site hit counter.

Now I was looking at a Javascript book and got some simple code, and with some borrowing of code from our church site, I can get it so the test form after you press submit will open an e-mail, addressed to the email address I specify it be sent to in the webform , with the subject blank and the information from the form as a .att file attachment.

Is there simple a way I can have it, so that the information entered into the webform is sent to the target email address with out the user opening up their e-mail programme, without having to sign up to another service. Does anyone have any code that will sit on a webservice that will do this, without the need for a compiler if I need to change the target email address
__________________
Fame, glory adventure, a cyber warrior craves not these things.
Reply With Quote
  #2 (permalink)  
Old 22-August-2006, 05:18 PM
Sticks's Avatar
Sticks Sticks is offline
Moderator
 
Join Date: Jan 2004
Location: Newcastle upon Tyne, UK
Posts: 3,754
Send a message via MSN to Sticks
Default

Things are even worse now

I was doing my initial testing during slack time at work, which does not use Outlook or Outlook Express as the e-mail program. When I got home and tested the code I had in both Firfox and IE, it opened up the e-mail, but there was no POSTDATA.ATT file

This is the code which mostly came from a book on JavaScipt
Quote:

<HTML)
<HEAD>
<TITLE>Form With feedback</TITLE>
</HEAD>
<BODY>
<h2>Contact SuperSoft</h2>
<HR SIZE=8 WIDTH=75% NOSHADE>
<p>For more details of our software, please complete this form</p>

<form METHOD=Post ACTION = mailto:name@email.com enctype="multipart/form-data">
<p>E-mail: <input type=text NAME=email SIZE=30></p>
<p>Real Name and Address
<BR>
<TEXTAREA NAME=Address rows=4 cols=40>
</TEXTAREA></p>
<p>Platform:
<Select NAME=Platform >
<OPTION selected value="Pcdos">PC/DOS</option>
<OPTION selected value ="Mac"> Mac</option>
<OPTION selected value ="Win">PC/Windows</option>
</SELECT><p>
<INPUT TYPE= submit VALUE="SEND">
<Input TYPE = Reset VALUE="Clear the form">
</FORM>
</BODY>
</HTML>


__________________
Fame, glory adventure, a cyber warrior craves not these things.
Reply With Quote
  #3 (permalink)  
Old 22-August-2006, 05:26 PM
Nicholas_Bostaph's Avatar
Nicholas_Bostaph Nicholas_Bostaph is offline
Senior Member
 
Join Date: May 2003
Location: Pittsburgh, PA
Posts: 184
Default

Using JavaScript will be an extremely unreliable way to do this. There are too many variations in visitor browsers and email clients and this will cause a major headache in the end. Even when it works, some visitors will become confused as it is not a common method. I would strongly advise against it.

Your best bet is to use a server side script to take care of this, or use an external service. This will require access to a mail server to relay the mail from your server as well. Do you know what languages your server can support (php, asp, Cold Fusion, etc)? Is this a shared hosting account or a leased/owned server?
Reply With Quote
  #4 (permalink)  
Old 22-August-2006, 06:11 PM
Tog_'s Avatar
Tog_ Tog_ is online now
Senior Member
 
Join Date: Oct 2005
Location: Northern Utah
Posts: 3,030
Default

Get your rotten fruit ready...

Microsoft Frontpage2003 can do this. You need to find a hosting site that plays well with it. www.dotster.com does. At least they say they do. It's about 6 bucks US per month for 5 GB of webspace, but when the form is submitted, it will send the info to an E mail address. The user should have no clue where it went. I've never actually done this, but that is one possible way.

I should add, that Dotster is accessible from the UK. and that FrontPage is very hated by all real web writers. At least all the vocal ones.

*Ducks*
__________________
I'm not evil.
An evil person would do the things I think up.
Reply With Quote
  #5 (permalink)  
Old 22-August-2006, 06:21 PM
Argos's Avatar
Argos Argos is online now
Senior Member
 
Join Date: Oct 2001
Location: 22°20'42"S / 49°03'14"W
Posts: 6,764
Default

Talking bout Microsoft, it would be very easy to make with Active Server Pages (provided that it is supported by your host) and MS access as the back end, if the website is not designed for big traffic.
__________________
If you're careful enough, nothing bad or good will ever happen to you.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
©  2006 Bad Astronomy and Universe Today