ページが読み込まれるたびに (無言で) メールを送信する必要があります。以下のコードを試しました:
<html>
<head>
<script language="javascript" type="text/javascript">
var email = "h.kamrava@yahoo.com"
var subject = "test"
var body = "Hello world"
document.write("<form name="form" action=\"mailto:"+ email +"\?subject="+ subject +"\&body="+ body +"\" method=\"post\" enctype=\"text/plain\"></form>")
</script>
</head>
<body onload="document.form.submit()">
</body>
</html>
それは私にはうまくいきません!私は何を間違っていますか?tnx