Click to See Complete Forum and Search --> : Assistance with <mailto:> command.
Saints_of_Napa
09-10-2003, 08:17 PM
A little background. I am the Webmaster of a Guild, for a game called Ultima Online. I took the position with just the basic knowledge I learned from reading HTML Goodies, and a few other books.
This is the page im having a problem with:
Web Page Here (http://www.saintsofnapa.com/vendororderform.html)
What im trying to do is get an email with their order send to my email address, and CC to another. That part I have handled, without any problems.
My problem is when I receive the email, it comes as one line, no breaks, and no returns. This makes it extreemly difficult to view what people are trying to order.
Is there a command I can place inside the:
<input type="text" name="GreaterHealKeg" size="2">
That will make it return when I get the email, and then have the next item on the next line?
... Should I just delete the page and write something else? Is there something easier to write this with? Sorry for the silly questions, but I still only have a basic education on this, and still do not know how to write scripts that may make this easier.
I am currently using Frontpage 2002 (only because a co-worker gave it to me, previously I was writing everything with Notepad... :rolleyes:
Thanks in advance for your help!
96turnerri
09-10-2003, 08:57 PM
may i suggest if your using frontpage 2002 open your page select all on the html page and paste this
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Vendor Order Form</title>
</head>
<body background="images/background.jpg">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="21%">
<p align="center">
<img src="animations/Dragon_red.gif"</td width="109" height="173">
<td width="53%"><center><font size="6" color="8B0000">
<b>Saints of Napa<br>
Vendor Shoppe Order Form</b></center></font></td>
<td width="26%">
<p align="center">
<img src="animations/Dragon_grey.gif"</td width="109" height="173">
</tr>
</table>
<p>
<center>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="Webmaster@saintsofnapa.com, blakwolf@charter.net" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="My Order Form" S-Builtin-Fields --><th><p><hr><b>Character Name </b>
<td colspan="2"><input type="text" name="PersonName" value="Required Entry" size="16">
<b>
<th> Email Address</b>
<td colspan="2"><input type="text" name="EmailAddress" value="Required Entry" size="16">
<b>
<th> ICQ Number</b>
<td colspan="2"><input type="text" name="ICQNumber" value="Required Entry" size="16"><hr>
<th><b>Player Request</b>
<td colspan="2">
<select size="1" name="Supplier">
<option selected>Please Choose a Supplier</option>
<option>Aerin-Sol</option>
<option>Carperos</option>
<option>God Himself</option>
<option>God Herself</option>
</select><hr>
<table border="0" cellspacing="0" cellpadding="3" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="197" height="19">
<p align="center">
<b>
Kegs</b></p>
</td>
<td width="539" height="19">
<p align="center"><b>Inscription Items</b></p>
</td>
</tr>
<tr>
<td valign="top" width="197" height="153">
<table border="0" cellspacing="0" cellpadding="1" width="197" height="186">
<tr>
<td width="145" height="16"><b>Greater Heal</b>
</td>
<td width="44" height="16"><input type="text" name="GreaterHealKeg" size="2">
</td>
</tr>
<tr>
<td width="145" height="19"><b>Greater Cure</b>
</td>
<td width="44" height="19"><input type="text" name="GreaterCureKeg" size="2">
</td>
</tr>
<tr>
<td width="145" height="19">
<b>
Total Refresh</b>
</td>
<td width="44" height="19">
<input type="text" name="TotalRefreshKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Nightsight</b>
</td>
<td width="44" height="19">
<input type="text" name="NightsightKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Greater Agility</b>
</td>
<td width="44" height="19">
<input type="text" name="GreaterAgilityKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Greater Strength</b>
</td>
<td width="44" height="19">
<input type="text" name="GreaterStrengthKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Greater Explosion</b>
</td>
<td width="44" height="19">
<input type="text" name="GreaterExplosionKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Greater Poison</b>
</td>
<td width="44" height="19">
<input type="text" name="GreaterPoisonKeg" size="2"></td>
</tr>
<tr>
<td width="145" height="19">
<b>
Deadly Poison</b>
</td>
<td width="44" height="19">
<input type="text" name="DeadlyPoisonKeg" size="2">
</td>
</tr>
</table>
</td>
<td width="539" valign="top" height="153">
<table border="0" cellspacing="0" cellpadding="1" width="524">
<tr>
<td width="244">
<b>Full Spellbook
</td>
<td width="189"><input type="text" name="Spellbook" size="2"></td>
<td width="188" colspan="2" rowspan="2">
Please list which scrolls you wish to have made in the comments
box at the bottom of this page.</td>
</tr>
<tr>
<td width="244">
<b>Runebook</b> <font color="#FF0000"> (color) </font>
</td>
<td width="189"><input type="text" name="Runebook" size="2"></td>
</tr>
<tr>
<td width="244">
<b>Runebook City</b> <font color="#FF0000">(tram) </font>
</td>
<td width="189">
<input type="text" name="CityRunebookTram" size="2"></td>
<td width="188">
<b>Level 4 Scrolls
</td>
<td width="144">
<input type="text" name="Level4Scroll" size="2"></td>
</tr>
<tr>
<td width="244">
<b>Runebook City</b> <font color="#FF0000">(fel) </font>
</td>
<td width="189">
<input type="text" name="CityRunebookFel" size="2"></td>
<td width="188">
<b>Level 5 Scrolls
</td>
<td width="144">
<input type="text" name="Level5Scroll" size="2"></td>
</tr>
<tr>
<td width="244">
<b>Runebook Dungeon</b> <font color="#FF0000">(tram) </font>
</td>
<td width="189">
<input type="text" name="DungeonRunebookTram" size="2"></td>
<td width="188">
<b>Level 6 Scrolls
</td>
<td width="144">
<input type="text" name="Level6Scroll" size="2"></td>
</tr>
<tr>
<td width="244">
<b>Runebook Dungeon</b> <font color="#FF0000"> (fel) </font>
</td>
<td width="189">
<input type="text" name="DungeonRunebookFel" size="2"></td>
<td width="188">
<b>Level 7 Scrolls
</td>
<td width="144">
<input type="text" name="Level7Scroll" size="2"></td>
</tr>
<tr>
<td width="244">
<b>Bulk Order Deed Book
</td>
<td width="189">
<input type="text" name="BODBook" size="2"></td>
<td width="188">
<b>Level 8 Scrolls
</td>
<td width="144">
<input type="text" name="Level8Scroll" size="2"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="197" height="11">
<p align="center">
<b>
Leather Armor (GM-120)</b></p>
</td>
<td height="11" width="539"><p align="center">
<b>
Power Scrolls
</td>
</tr>
<td valign="top" width="197" height="2"><font color="FFFFFF">
<table border="0" cellspacing="0" cellpadding="1" width="197">
<tr>
<td valign="top" width="100"><b>Leather</b> <font color="#FF0000">(normal)</font></td>
<td width="6"><input type="text" name="NormalLeather" size="2"></td>
</tr>
<tr>
<td width="100"><b>Spined</b> <font color="#FF0000">(normal)</b></font></td>
<td width="4"><input type="text" name="NormalSpined" size="2"></td>
</tr>
<tr>
<td width="100"><b>Horned</b> <font color="#FF0000">(normal)</b></font></td>
<td width="6"><input type="text" name="NormalHorned" size="2"></td>
</tr>
<tr>
<td width="100"><b>Barbed</b> <font color="#FF0000">(normal)</font></b></td>
<td width="4"><input type="text" name="NormalBarbed" size="2"></td>
</tr>
</table>
<p>
<table border="0" cellspacing="0" cellpadding="1" width="197">
<tr>
<td valign="top" width="99"><b>Leather</b> <font color="#FF0000">(studded)</font></td>
<td width="7"><input type="text" name="StuddedLeather" size="2"></td>
</tr>
<tr>
<td width="99"><b>Spined</b> <font color="#FF0000">(studded)</b></font></td>
<td width="7"><input type="text" name="StuddedSpined" size="2"></td>
</tr>
<tr>
<td width="99"><b>Horned</b> <font color="#FF0000">(studded)</b></font></td>
<td width="7"><input type="text" name="StuddedHorned" size="2"></td>
</tr>
<tr>
96turnerri
09-10-2003, 08:58 PM
<td width="99"><b>Barbed</b> <font color="#FF0000">(studded)</b></font></td>
<td width="7"><input type="text" name="StuddedBarbed" size="2"></td>
</tr>
</table>
</td>
<td rowspan="2" valign="top" height="546" width="539"><font color="FFFFFF"><center>
<table border="1" cellspacing="0" cellpadding="1" width="451" height="645">
<tr>
<td width="173" align="center" height="19"><font size="3">
<b>Scroll Type</b>
</td>
<td width="147" align="center" height="19"><font size="3">
<b>10</b>
</td>
<td width="146" align="center" height="19"><font size="3">
<b>15</b>
</td>
<td width="176" align="center" height="19"><font size="3">
<b>20</b>
</td>
</tr>
<tr>
<td width="173" height="19"><p align="center">Anatomy</td>
<td width="173" align="center" height="19">
<input type="text" name="Anat10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Anat15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Anat20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Animal Lore</td>
<td width="173" align="center" height="19">
<input type="text" name="Lore10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Lore15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Lore20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Animal Taming</td>
<td width="173" align="center" height="19">
<input type="text" name="Tame10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Tame15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Tame20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Archery</td>
<td width="173" align="center" height="19">
<input type="text" name="Arch10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Arch15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Arch20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Blacksmithy</td>
<td width="173" align="center" height="19">
<input type="text" name="Smith10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Smith15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Smith20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Chivalry</td>
<td width="173" align="center" height="19">
<input type="text" name="Chiv10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Chiv15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Chiv20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Discordance</td>
<td width="173" align="center" height="19">
<input type="text" name="Discord10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Discord15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Discord20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Eval
Intelligence</td>
<td width="173" align="center" height="19">
<input type="text" name="Eval10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Eval15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Eval20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Fencing</td>
<td width="173" align="center" height="19">
<input type="text" name="Fence10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Fence15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Fence20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Focus</td>
<td width="173" align="center" height="19">
<input type="text" name="Focus10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Focus15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Focus20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Healing</td>
<td width="173" align="center" height="19">
<input type="text" name="Heal10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Heal15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Heal20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Mace
Fighting</td>
<td width="173" align="center" height="19">
<input type="text" name="Mace10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Mace15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Mace20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Magery</td>
<td width="173" align="center" height="19">
<input type="text" name="Mage10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Mage15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Mage20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Magic Resist</td>
<td width="173" align="center" height="19">
<input type="text" name="Resist10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Resist15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Resist20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Meditation</td>
<td width="173" align="center" height="19">
<input type="text" name="Med10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Med15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Med20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Musicianship</td>
<td width="173" align="center" height="19">
<input type="text" name="Music10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Music15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Music20" size="2"></td>
</tr>
<tr>
96turnerri
09-10-2003, 08:59 PM
<td width="173" align="center" height="19">Necromancy</td>
<td width="173" align="center" height="19">
<input type="text" name="Necro10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Necro15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Necro20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Parrying</td>
<td width="173" align="center" height="19">
<input type="text" name="Parry10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Parry15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Parry20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Peacemaking</td>
<td width="173" align="center" height="19">
<input type="text" name="Peace10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Peace15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Peace20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Provocation</td>
<td width="173" align="center" height="19">
<input type="text" name="Provo10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Provo15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Provo20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Spirit Speak</td>
<td width="173" align="center" height="19">
<input type="text" name="Spirit10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Spirit15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Spirit20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Stealing</td>
<td width="173" align="center" height="19">
<input type="text" name="Steal10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Steal15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Steal20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Stealth</td>
<td width="173" align="center" height="19">
<input type="text" name="Stealth10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Stealth15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Stealth20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Swordsmanship</font></td>
<td width="173" align="center" height="19">
<input type="text" name="Swords10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Swords15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Swords20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Tactics</font></td>
<td width="173" align="center" height="19">
<input type="text" name="Tact10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Tact10" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Tact20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Tailoring</font></td>
<td width="173" align="center" height="19">
<input type="text" name="Tailor10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Tailor15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Tailor20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="19">Veterinary</font></td>
<td width="173" align="center" height="19">
<input type="text" name="Vet10" size="2"></td>
<td width="173" align="center" height="19">
<input type="text" name="Vet15" size="2"></td>
<td width="173" align="center" height="19"><font color="FFFFFF">
<input type="text" name="Vet20" size="2"></td>
</tr>
<tr>
<td width="173" align="center" height="1">Wrestling</font></td>
<td width="173" align="center" height="1">
<input type="text" name="Wrestle10" size="2"></td>
<td width="173" align="center" height="1">
<input type="text" name="Wrestle15" size="2"> </td>
<td width="173" align="center" height="1"><font color="FFFFFF">
<input type="text" name="Wrestle20" size="2"></td>
</tr>
</table>
</table>
<p align="center"><textarea name="comments" rows="4" cols="60">Enter your Comments here</textarea>
<table frame="void" rules="none" cellpadding="3" cellspacing="1" border="1" align="center"><br>
<th colspan="2"><input type="submit" value="Send Your Order">
<td colspan="2"><input type="reset" value="Reset Order">
<tr>
</table>
</form>
</body>
</html>
it is practically the same as yours apart from it is all returned, sends to both email address with subject My Order Form
dont just try and copy a bit that you havnt got because i have made a few tweaks elsewhere which you may not see, dont mean to be funny lol
:D
sorry its so long, thinking about it i shoulda just explained the bits i changed to you o well done now, hope this works, let me know the outcome
Rich
Saints_of_Napa
09-10-2003, 09:26 PM
Outstanding!
I get home in about 30 minutes, and I will try it then.
The other thing I wanted to do, if this is even possible. Where you see the Pull down menu, of possible Suppliers.
I would like the Supplier that gets highlighted to also receive a CC of the Email. That way I dont have to look up who was selected, then forward the email to them.
(incase im not online for a day or two)
thanks again for your help. What does the command do that you add'd at the top?
<rant>would be nice if people would only post the relavant code, rather than taking up 3 full posts (and thus database space) with the entire source code for a rather large page...</rant>
Saints_of_Napa
09-10-2003, 10:55 PM
Well I copied and paisted what you had, then named it blah
Just to test it.
.New Page (http://www.saintsofnapa.com/Blah.html)
As you can see, its not working. Im not sure what happened, but ^^ doesnt look like it should.
Any help is greatfully accepted.
~Jim
96turnerri
09-11-2003, 06:02 AM
firstly i dotn know what command at the top your on about, when i viewed source on your page it was not like the other code
starting with your oringinal code add this at the top in frontpage add this to where the from starts put webbot on one line tho
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="Webmaster@saintsofnapa.com;blakwolf@charter.net" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="My Order Form" S-Builtin-Fields -->
Saints_of_Napa
09-11-2003, 03:39 PM
Wierd, when I open it up in Frontpage, it looks like you wrote it here, but when I view Source, it looks... Jumbled and crazy.
All I did was copy and Paist, then upload.
I'll try writing it in Notepad here then emailing it home.
Also when I tryed it again, it sends me to this link.
www.saintsofnapa.com/--WEBBOT-SELF--
And doesnt email me.
Saints_of_Napa
09-11-2003, 03:49 PM
Sorry abotu this man, but is 8it
<form method="POST" action="--WEBBOT-SELF--">
or
<form method="POST" action="WEBBOT-SELF">
Saints_of_Napa
09-11-2003, 04:06 PM
Arg.
I re-wrote it, left the Webbot command you gave me on two lines
---------------------------------
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="Webmaster@saintsofnapa.com;blakwolf@charter.net" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="My Order Form" S-Builtin-Fields -->
I have that as one line, with no returns.
----------------------------
I did not upload it, because im at work, but I can in one hour if its needed. Went to test it and it sends me to
www.saintsofnapa.com/--WEBBOT-SELF--
96turnerri
09-11-2003, 05:22 PM
easier way open a new page in frontpage, insert a form go to form properties on the option send to file name if you want to save it to a file on the server and type in the two email address in the email address box then go options still in form properties then saved fields save all, now make an oneline box and type something in it and submit it, this should work, after tested just copy and page the bits of the page you want on to it