- 域名頻道首頁(yè)
- 客服中心
- 常見(jiàn)問(wèn)題
- 空間租用
- 業(yè)務(wù)相關(guān)
- jmail組件發(fā)信服務(wù)器不需驗(yàn)證實(shí)例
jmail組件發(fā)信服務(wù)器不需驗(yàn)證實(shí)例
作者:技術(shù)支持來(lái)源:域名頻道發(fā)布時(shí)間:2006-9-18 22:33:04瀏覽:
'發(fā)信服務(wù)器不需要認(rèn)證的
<%
set mail=server.CreateObject("jmail.SMTPMail")
mail.Charset="gb2312"
mail.ServerAddress = "mx.dns110.com"
mail.Sender="test@dns110.com"
mail.SenderName="test"
mail.AddRecipient("test@sina.com")
mail.Subject ="jmail郵件測(cè)試"
mail.body="jmail郵件測(cè)試."
mail.Priority="1"
'On Error Resume Next
mail.Execute()
mail.Close
Set mail=nothing
response.write "發(fā)送成功"
%>
<%
set mail=server.CreateObject("jmail.SMTPMail")
mail.Charset="gb2312"
mail.ServerAddress = "mx.dns110.com"
mail.Sender="test@dns110.com"
mail.SenderName="test"
mail.AddRecipient("test@sina.com")
mail.Subject ="jmail郵件測(cè)試"
mail.body="jmail郵件測(cè)試."
mail.Priority="1"
'On Error Resume Next
mail.Execute()
mail.Close
Set mail=nothing
response.write "發(fā)送成功"
%>