下記は実用例のHTMLソースです。
| <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <title>お問い合せ</title> </head> <body> <form name="form1" action="/scripts/misoaspemail.asp"> 差出人名:<input name="_fromName" type="text" maxlength="25"> <br> 差出人メールアドレス:<input name="_fromEmail" type="text" maxlength="100"> <br> 宛名:<input name="_toName" type="text" maxlength="25"> <br> 宛先メールアドレス:<input name="_toEmail" type="text" maxlength="100"> <br> 件名:<input name="_subject" type="text" size="40"> <br> 本文:<textarea name="_body" cols="40" rows="6"></textarea> <br> <input type="hidden" name="_toCCEmail" value="yourmail2@hoge.com"> <input type="hidden" name="_toCCName" value="山田太郎"> <input type="hidden" name="_toBCCEmail" value="yourmail3@hoge.com"> <input type="hidden" name="_toBCCName" value="鈴木花子"> <input type="hidden" name="_success" value="http://www.hoge.com/success.htm"> <input type="hidden" name="_fail" value="http://www.hoge.com/fail.htm"> <input type="submit" name="Submit" value="送信"> </form> </body> </html> |