Instead of php, you can use a button with a mailto: tag
(您可以使用带有mailto:标签的按钮来代替php)
.button { background-color: #ffa200; border: none; color: white; padding: 15px 410px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } .button:hover { background-color:#ff2f00; } aa { text-decoration: none; } h3.k { color: white; font-weight: bold; }
<center> <button class="button"> <a class="a" href="mailto: [email protected]"><h3 class="k">SEND US A MESSAGE</h3></a> </button> </center>
This tag opens the Mail app and already shows who it is to
(此标签会打开“邮件”应用,并且已经显示了该收件人的身份。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…