問(wèn):http://www.oeea.com/b/cn/shoppingcart_3.aspx?orderid=&ShiptoName=f&shipcity=ff&UseCurrency=RMB&totelprice=100&Mememail=s@oeea.com&langueid=cn
下面是SCRIPT
<% @Import Namespace=\”System.Web.Mail\” %>
<script language=\”VB\” runat=\”server\”>
Sub Page_Load(Sender As Object, E As EventArgs)
dim mail as MailMessage=New MailMessage()
mail.to=Request.QueryString(\”Mememail\”)
mail.from=\”daderun@163.com\”
mail.bcc=\”p@163.com\”
mail.bodyformat=mailformat.Html
mail.subject=\”訂單號(hào):\” & Request.QueryString(\”orderid\”) & \” | \” & Request.ServerVariables(\”Http_Host\”)
mail.body=\”<br>\” & Request.QueryString(\”ShiptoName\”) & \”:\” & _
\”<br>您好!\” & _
\”<br>您于\” & DateTime.Now & _
\”在 \” & Request.ServerVariables(\”Http_Host\”) & _
\” 成功提交訂單, \” & \”訂單號(hào)為:\” & Request.QueryString(\”orderid\”) & \”.\” & _
\”<P><strong>訂單詳細(xì)信息如下:</strong>\” & _
\”<br>訂單號(hào): <a href=\’\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/shoppingcart_invoice.aspx?orderid=\” & Request.QueryString(\”orderid\”) & \”&binfoid=\” & Request.QueryString(\”binfoid\”) & \”\’><u>\” & Request.QueryString(\”orderid\”) & \”</u></a>\” & _
\”<br>http://\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/shoppingcart_invoice.aspx?orderid=\” & Request.QueryString(\”orderid\”) & \”&binfoid=\” & Request.QueryString(\”binfoid\”) & _
\”<br>收貨人: \” & Request.QueryString(\”ShiptoName\”) & _
\”<br>訂單金額總計(jì):\” & Request.QueryString(\”UseCurrency\”) & Request.QueryString(\”totelprice\”) & \”元\” & _
\”<p><a href=\’\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/shoppingcart_invoice.aspx?orderid=\” & Request.QueryString(\”orderid\”) & \”&binfoid=\” & Request.QueryString(\”binfoid\”) & \”\’><strong><u>查看訂單</u></strong></a>\” & _
\”<br><a href=\’\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/shoppingcart_invoice.aspx?orderid=\” & Request.QueryString(\”orderid\”) & \”&binfoid=\” & Request.QueryString(\”binfoid\”) & \”\’><strong><u>打印訂單</u></strong></a>\” & _
\”<br>\” & _
\”<p>\” & _
\”<br><strong>– 付款方式 –</strong>\” & _
\”<br>1. <a href=\’http://\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/service.aspx?SortID=12&ServiceID=1201\” & \”\’><u>銀行轉(zhuǎn)帳</u></a>\” & _
\”<br>2. <a href=\’http://\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/service.aspx?SortID=12&ServiceID=1202\” & \”\’><u>網(wǎng)上銀行支付</u></a>\” & _
\”<br>付款后請(qǐng)及時(shí)通知我們, 以便及時(shí)處理您的訂單.\” & _
\”<br>\” & _
\”<p>\” & _
\”<br>IP:\” & Request.ServerVariables(\”REMOTE_ADDR\”) & _
\”<br>如果您有任何疑問(wèn),請(qǐng)通過(guò)客服中心 Http://\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/contact.aspx\” & \” 和我們聯(lián)系或登錄網(wǎng)站獲取幫助.\” & _
\”<br>\” & _
\”<br><strong>– 聯(lián)系我們 –</strong> \” & _
\”<br><a href=\’\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/feedback.aspx\” & \”\’><u>在線(xiàn)留言</u></a>\” & _
\”<br><a href=\’\” & Request.ServerVariables(\”Http_Host\”) & \”/b/\” & Request.QueryString(\”langueid\”) & \”/contact_online.aspx\” & \”\’><u>在線(xiàn)客服</u></a>\” & _
\”<br>\” & Request.ServerVariables(\”Http_Host\”)
mail.Fields.Add(\”http://schemas.microsoft.com/cdo/configuration/smtpauthenticate\”, \”1\” )
mail.Fields.Add(\”http://schemas.microsoft.com/cdo/configuration/sendusername\”, \”\”)
mail.Fields.Add(\”http://schemas.microsoft.com/cdo/configuration/sendpassword\”, \”\”)
SmtpMail.SmtpServer=\”smtp.163.com\”
SmtpMail.Send(mail)
end sub
</script>
,網(wǎng)頁(yè)無(wú)法設(shè)置script 自動(dòng)發(fā)送郵件。請(qǐng)幫忙開(kāi)通。
問(wèn):請(qǐng)?jiān)俨榭磆ttp://www.oeea.com/b/cn/shoppingcart_3.aspx?orderid=&ShiptoName=f&shipcity=ff&UseCurrency=RMB&totelprice=100&Mememail=s@oeea.com&langueid=cn
問(wèn):您好,我司在程序web.config 配置文件中開(kāi)啟了報(bào)錯(cuò)輸出,詳見(jiàn)附圖2 ,目前核實(shí)到訪(fǎng)問(wèn)仍為圖1所示 ,并無(wú)異常,建議再觀(guān)察,并將你本地觀(guān)察到的報(bào)錯(cuò)截圖反饋至工單,以便我司為您核實(shí) ,非常感謝您長(zhǎng)期對(duì)我司的支持.由此給您帶來(lái)的不便之處,敬請(qǐng)?jiān)?謝謝!
問(wèn):http://www.oeea.com/b/EN/shoppingcart_3.aspx?orderid=&ShiptoName=f&shipcity=ff&UseCurrency=RMB&totelprice=100&Mememail=s@oeea.com&langueid=cn
問(wèn):您好,非常抱歉,此為郵局服務(wù)商的反饋信息,詳見(jiàn)附圖,存在識(shí)別為垃圾郵件的問(wèn)題 ,具體可參考 :http://help.163.com/09/1224/17/5RAJ4LMH00753VB8.html 進(jìn)一步核實(shí) ,非常感謝您長(zhǎng)期對(duì)我司的支持.由此給您帶來(lái)的不便之處,敬請(qǐng)?jiān)?謝謝!