嗨即时通讯工作的按钮,将打开一个新的邮件选项卡与预定义的文本,但我不能在邮件中的任何段落。 我试过\ n和<br>
没有什么作品?我怎么能在我的邮件()
$message .= '<html>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="mailto:' . $email . '?Subject=Deine Reservierung in der 73 Burger.Bar.&Body=Servus, vielen Dank fuer deine Reservierungsanfrage, hiermit bestaetigen wir deine gewueschte Reservierung am ' . $date . ' um ' . $time . ' fuer ' . $amount . '' . "\n" . ' Personen." target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; background-color: #EB7035; border-top: 12px solid #EB7035; border-bottom: 12px solid #EB7035; border-right: 18px solid #EB7035; border-left: 18px solid #EB7035; display: inline-block;">Annehmen →</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html>';
强烈建议不要使用一个mailto标签。一个HTML表单将是一个更好的主意 – rtfm
可以给我一个链接描述我只使用邮件()到现在 –
https://stackoverflow.com/questions/18379238/send-email-with-php-from-html使用相同的脚本提交表单 – rtfm