1
我使用的mailto當我點擊沒有新的窗口得到openend.The代碼的鏈接錨tag.But的屬性是: -如何使用HTML中的錨標記的mailto屬性發送郵件?
<html>
<body>
<a href="mailto:[email protected]?Subject=Hello%20again" target="_top">Send Mail</a>
</body>
</html>
我使用的mailto當我點擊沒有新的窗口得到openend.The代碼的鏈接錨tag.But的屬性是: -如何使用HTML中的錨標記的mailto屬性發送郵件?
<html>
<body>
<a href="mailto:[email protected]?Subject=Hello%20again" target="_top">Send Mail</a>
</body>
</html>
格式你的目標與價值_blank
屬性,然後它會工作。
<html>
<body>
<a href="mailto:[email protected]?Subject=subject message" target="_blank">Send Mail</a>
</body>
</html>
您不能發送......你需要一臺服務器來處理你的表格併發送郵件,'的mailto:'將只在您的電腦打開 –
默認郵件客戶端請出示HTML等。你到目前爲止。 – Corvusoft
考慮向服務器發送POST請求,請求發送郵件(然後使用服務器端語言處理請求)或使用[this](https://medium.com/design-startups/b53319616782) 。 – initramfs