SQL Server 2005的设置如下: 1.运行SQL Server Surface Area Configuration-Surface Area Configuration for features-选择Database Mail-选择Enable Database mail stored procedures 2.打开SQL Management Studio-Management-Database mail-Configure SMTP Settings. 3.打开SQL Server Agent-Operators-建立一个新的Operator 4.建立一个新Job-在通知(Notifications)中,选择Email和刚才新建的Operator...[ 查看全文 ]
Click here to copy the Code to your clipboard (Only for IE Users) 'Declare Variables Dim CDONTSObj, MessageBody 'Create the CDONTS object Set CDONTSObj = Server.CreateObject("CDONTS.NewMail") 'To Address CDONTSObj.To = "info@scriptmate.com" 'From Address CDONTSObj.From = "you@yoursite.com" 'CC Email Addresses seperated by a comma CDON...[ 查看全文 ]
//**********************Created by Chen************************** using System; using System.IO; using System.Text; using System.Net; using System.Net.Sockets; using System.Collections; using System.Collections.Specialized; using KSN.Exceptions; using KSN.Validate; namespace KSN.Web.Mail { /// <summary /// 邮件内容 /// </summary public class MailM...[ 查看全文 ]