<% set msg = Server.CreateOBject( "JMail.Message" ) msg.From = "[email protected]" msg.AddRecipient "[email protected]", "hkhrinfo" msg.Subject = "網上登記" body = body & "課程 = " &Request.Form("course") & "
" body = body & "公司名稱 = " & Request.Form("companyName") & "
" body = body & "聯絡人 = " & Request.Form("contactPPl") & "
" body = body & "電話 = " & Request.Form("telephone") & "
" body = body & "傳真 = " & Request.Form("fax") & "
" body = body & "電郵 = " & Request.Form("email") & "
" body = body & "上課時間 = " & Request.Form("time") & "
" body = body & "人數 = " & Request.Form("numOfPPl") & "
" body = body & "學生名稱 = " & Request.Form("students") & "
" msg.body = body msg.send("mail.www.blpug.com") Response.Write "訊息已被傳送!" %>