class CDOSend{ public void sendMessageBox(){ try { CDO.Message oMsg = new CDO.Message(); CDO.NNTPPostConnectorClass p=new CDO.NNTPPostConnectorClass(); oMsg.From = "xxx@xxx.xxx" oMsg.To = "xxx@xxx.xxx" oMsg.Subject = "newtest"; oMsg.TextBody = "huhong test"; oMsg.Newsgroups="microsoft.public.cn.dotnet.framework"; CDO.IConfigu...
[ 查看全文 ]