我有一个问题,我已经彻底搜索了互联网,但我找不到解决方案。
我想通过电子邮件发送表格。我希望通过电子邮件发送生成的整个页面。atm 我有这个代码:
<input name="email" type="button" onClick="javascript:location='mailto:test@hotmail.com?subject=Really Cool Website&body=test'" value= "mail">
这允许我向我发送一封电子邮件到预设的电子邮件地址和主题。身体会说测试。但我似乎无法发送整个页面。有更多的东西缺少 atm,但我的 html/php 是有点生锈的 atm。这将是餐厅的送货单。链接到餐厅网站以供参考它错过了很多 atm 功能,但我正在努力。有谁知道如何能够通过电子邮件发送页面。
提前致谢!整个代码写在下面。
碧玉
<html>
<body>
<form>
<div>
<table width="900" border="0" cellspacing="0" cellpadding="0" class="content">
<tr>
<td width="140"><strong>Selecteer hoeveel porties:</strong><br><hr></td>
<td width="572"><strong>Beschrijving</strong><br><br><hr></td>
<td width="112"><strong>Prijs</strong><br><br><hr></td>
<td width="76"><strong>Totaalprijs</strong><br><br><hr></td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td><strong>3-gangen traiteurmenu</strong><br>
(incl. brood en boter)<br>******<br>
Creme van gerookte paling<br>******<br>
Gestoofde hertensukade met aardappelgratin, rodekool en een stoofpeertje.<br>******<br>
Kerstbal van witte en pure chocolade en een vanillesaus.<br><hr>
</td>
<td>€16,50</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td><strong>Extra voorgerecht</strong><br>
Gerookte eendenborstfilet met een rilette van eend en een mangochutney.<br></td>
<td>€5,--</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td><strong>Extra tussengerecht</strong><br>
Gamba's geserveerd in een saus van ....?<br><hr></td>
<td>€5,--</td>
<td>€</td>
</tr>
<tr>
<td><strong>Diversen</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Graved laks met een mosterd-dillesaus</td>
<td>€....... per 100 gram</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Kreeftensoep</td>
<td>€8.95 per 0,5L</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Wildpeper</td>
<td>€2.35 per 100 gram</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Aardappelgratin</td>
<td>€2.95</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Rodekool</td>
<td>€3.95</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Botersaus</td>
<td>€4,50 per 250 ml.</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>Rode portsaus</td>
<td>€3.95 per 250 ml.</td>
<td>€</td>
</tr>
<tr>
<td><?php include('optie.php');?></td>
<td>aangepaste wijnen per fles</td>
<td>€....... per fles</td>
<td>€</td>
</tr>
<tr>
<td></td>
<td></td>
<td><strong>Totaal prijs:</strong></td>
<td><strong>€</strong></td>
</tr>
<tr>
<td><strong>Bestellen:</strong></td><td><br>
U kunt uitsluitend bestellen door middel van ons bestelformulier.
Uiterlijk voor maandag 17 december inleveren. </td>
</tr>
<tr>
<td><strong>Afhalen:</strong><br></td>
</tr>
<tr>
<td></td><td> <input type="checkbox" name="option1" value="24 december 12.00-13.00 uur"> 24 december 12.00-13.00 uur</td>
</tr>
<tr>
<td></td><td> <input type="checkbox" name="option2" value="25 december 12.00-13.00 uur"> 25 december 12.00-13.00 uur</td>
</tr>
<tr>
<td></td><td> <input type="checkbox" name="option3" value="26 december 12.00-13.00 uur"> 26 december 12.00-13.00 uur<br><br></td>
</tr>
<tr>
<td><strong> Betaling:</strong><br><br><br></td>
<td>U kunt betalen met pin of contant.<br><br><br></td>
</tr>
<tr>
<td><strong>Printen</strong></td>
<td><input type="button" onClick="window.print()" value="Print"/></td>
<td></td>
<td>
<input name="email" type="button" onClick="javascript:location='mailto:test@hotmail.com?subject=Really Cool Website&body=test'" value= "mail"></td>
</table>
</form>
<a href="mailto:coloriteman@gmail.com"></a>
</div>
</div>
</body>
</html>