jmail組件發(fā)信服務器不需驗證實例
作者:技術支持來源:域名頻道發(fā)布時間:2006-9-18 22:33:04瀏覽:
'發(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郵件測試"
mail.body="jmail郵件測試."
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郵件測試"
mail.body="jmail郵件測試."
mail.Priority="1"
'On Error Resume Next
mail.Execute()
mail.Close
Set mail=nothing
response.write "發(fā)送成功"
%>
- 前一篇:jmail組件發(fā)信服務器需驗證實例
- 后一篇:什么是無組件上傳?