html with forms, that can then be sent via internal e-mail
Moderator: Forum Moderators
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
html with forms, that can then be sent via internal e-mail
All, if anybody knows how to create a html page that has about 5 simple forms for text entry, and then somehow send that info to several different e-mails via hitting one button, I would be most grateful.
Basically this is a form for when people receive threatening or terrorist threats, so thr user would input data into several different fields, and then once happy, just hit a button on the page, and this then sends to a list of e-mails either within the html or possibly an address group in Exchange.
We use IIS and Microsoft Exchange, so all e-mails are Outlook based.
I think the forms side of it is pretty easy, but I haven't a clue how to make the forms then send data to an internal e-mail address.
Do I point the mails to the internal mailsweeper relay, or directly to the exchange server itself?
This has all arisen as it was originally coded in Perl many many years ago, and the server is now being decommisioned, and this si the only thing it hosts.
I'll gladly donate tonnes of 5perm for any help with this.
Also worth noting I have Dreamweaver 8 as my web design app', and this has lots of stuff built in, so possibly I could use that if I knew where to look.
Basically this is a form for when people receive threatening or terrorist threats, so thr user would input data into several different fields, and then once happy, just hit a button on the page, and this then sends to a list of e-mails either within the html or possibly an address group in Exchange.
We use IIS and Microsoft Exchange, so all e-mails are Outlook based.
I think the forms side of it is pretty easy, but I haven't a clue how to make the forms then send data to an internal e-mail address.
Do I point the mails to the internal mailsweeper relay, or directly to the exchange server itself?
This has all arisen as it was originally coded in Perl many many years ago, and the server is now being decommisioned, and this si the only thing it hosts.
I'll gladly donate tonnes of 5perm for any help with this.
Also worth noting I have Dreamweaver 8 as my web design app', and this has lots of stuff built in, so possibly I could use that if I knew where to look.
Last edited by Woo Elephant Yeah on January 12th, 2007, 10:47, edited 1 time in total.
-
- Morbo
- Posts: 19676
- Joined: December 10th, 2004, 21:53
- Contact:
-
- Site Owner
- Posts: 9597
- Joined: May 16th, 2005, 15:31
- Location: Coventry, UK
- Contact:
Code: Select all
<form ACTION="mailto:youremail@yourdomain.com" METHOD="POST" ENCTYPE="text/plain">
<p><input NAME="Text entry field name" VALUE="Visible entry field title" size="20">Visible text that is inside field by default</p>
<p><input TYPE="SUBMIT" VALUE="Visible text on Submit button"></p>
</form>
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
Code: Select all
*should be a left arrow*form ACTION="mailto:i.love@horses.com" METHOD="post" ENCTYPE="text/plain">
<p>The details of the threat. or if a bomb, the location of the device:<br>
<textarea></textarea>
</p>
<p>Any times set for action/detonation:<br>
<textarea></textarea>
</p>
<p>The appearance and size of any device, or other object being used (eg contaminant):<br>
<textarea></textarea>
</p>
<p>The type of explosive/contaminant if appropriate:<br>
<textarea></textarea>
</p>
<p>Why is the threat being made:<br>
<textarea></textarea>
</p>
<p>The name and address of the caller, if obtainable or other identifying information:<br>
<textarea></textarea>
</p>
<p>The sex of the caller:<br>
<input>
</p>
<p>Estimated age of caller:<br>
<input>
</p>
<p>Record details of any accent, speech impediment?<br>
<textarea></textarea>
</p>
<p>Did the message sound like it was being read from a script?<br>
<input>
</p>
<p>Was the mood of the caller calm, agitated etc?<br>
<textarea></textarea>
</p>
<p>Was there any significant background noise?<br>
<textarea></textarea>
</p>
<p>Time of Call:<br>
<input>
</p>
<p>Please give your name:<br>
<input>
</p>
<strong>Try to read message back to caller before finishing.</strong></p>
<p><input>
</p>
</form>
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
-
- Morbo
- Posts: 19676
- Joined: December 10th, 2004, 21:53
- Contact:
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
-
- Zombie
- Posts: 2101
- Joined: February 20th, 2005, 21:31
Or ASP / ASP.Net / CGI(perl)ProfHawking wrote:cant you use php?
Basically you need a language other than HTML else IE will always give you that sending email warning. It also wont actually send the email until you open your email client and do a send and receive. You really want the server to send the email - not the client.
Stoat:
For HTML 4 you shouldn't use the closing "/>" - XHTML you should. Depends what doc type it is going into.
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact:
Only got IIS currently set up here at work, none of our live servers use PHP or CGI (Perl).
As for Asp, not sure about that, or what technology you need to drive it.
You are right though, it's a better idea to send from the server and not the client, and this is my main concern.
How easy is it to set up ASP, as that technology is used on something else that is due to be decommisioned and it might be handy to go down that route.
As for Asp, not sure about that, or what technology you need to drive it.
You are right though, it's a better idea to send from the server and not the client, and this is my main concern.
How easy is it to set up ASP, as that technology is used on something else that is due to be decommisioned and it might be handy to go down that route.
-
- Morbo
- Posts: 19676
- Joined: December 10th, 2004, 21:53
- Contact:
-
- Heavy
- Posts: 5433
- Joined: October 10th, 2004, 17:36
- Location: Bristol, UK
- Contact: