mailMessage.Body=body;        
       }       
       //添加收信人 
       public void sendAddRecipient(string receiverEmail)
       {
        mailMessage.AddRecipient(receiverEmail,"","");
       } 
       //密送
       public void sendAddRecipientBCC(string receiverEmail)
       {
       mailMessage.AddRecipientBCC(receiverEmail,"");
       } 
        //抄送
       public void sendAddRecipientCC(string receiverEmail)
       {
           mailMessage.AddRecipientCC(receiverEmail,"","");
       }          
       //增加附件 attPath= [Input File Field].PostedFile.FileName;       
public void sendAddAttachment(string attPath)
       {
           mailMessage.AddAttachment(@attPath,true,attPath.Substring(attPath.LastIndexOf(".")+1,3));              
       } 
       public bool sendNow()
       {
           if(mailMessage.Send(this.smtpServer,false))
           {
              return true;
           }
           else
           {
              return false;;
           }
           this.mailMessage=null;
       }
    } 
第三步:调用Jmail.cs类库的功能 
 Jmail mail = new Jmail();
            //Register
            //在body.text 中写入具体的信件内容。
            mail.SenderReg(smtpServer.Text.Trim(),user.Text.Trim(),pwd.Text.Trim(),email.Text.Trim(),
                name.Text.Trim(),subject.Text.Trim(),body.Text.Trim());            
            //add attachments 
            if(attachment.PostedFile.FileName!="")
            {
            mail.sendAddAttachment(attachment.PostedFile.FileName); 
            } 
            //add receivers 
            mail.sendAddRecipient(receiver.Text.Trim());
            mail.sendAddRecipientBCC("
vincentqiu@km169.net");
            mail.sendAddRecipientCC("
vincentqiu@hotmail.com");
            //send 
            if(mail.sendNow())
            {
             Response.Write("send successfully !");
            }
            else
            {
            Response.Write("send faile !");
            }; 
            ESMS通过该邮件支持系统,根据不同的请求,套用具体的邮件内容模版,自动发送相应的邮件。           
     3) 存在问题: 
         该邮件支持系统,还没有实现发送网页邮件功能。而该功能的实现,将有助于提高系统的灵活性和可操作性。对于电子商城的管理,产品广告的发送,定单的处理都有很大的帮助。 
6.11.2站内通信系统
6.11.3无线应用系统
第七章  系统配置
7.1对硬件设备的规定
数据库系统 
Cpu :  3.0 G
内存:  2.0 G
硬盘空间:240 G 
WEB服务器和应用服务器 
Cpu :  3.0 G
内存:  3.0 G
硬盘空间:80 G  
客户端 
Cpu :  1.0 G
内存:  128 M
硬盘空间:20 G     
7.2运行所需的支持软件的规定 
数据库系统 
操作系统:Windows 2003 Advance Server
数据库系统:Microsoft SQL Server 2000  
WEB服务器 
操作系统:Windows 2003 Advance Server
WEB 服务器:IIS 6.0
应用平台:ESMS V1.0 
客户端 
操作系统:Windows 98 / NT
浏览器:IE 6.0 
7.3系统配置过程
7.3.1系统部署 
 1.IIS 6.0
 2.Microsoft .NET Framework SDK v1.1 
 3.数据库安装,ESMS.sql
 4.把ESMS放到 C:\Inetpub\wwwroot 并设成默认网站,      
 7.4..2系统初始化 
 1.用户状态,
 2.商家状态,
 3.定单状态,
 4.产品状态,
 5.产品分类,
 6.行业分类,
 7.定单状态,
 8.邮件系统的配置 ,安装W3JMail 并在项目中引用中添加jmail.dll;
 << 上一页  [31] [32] [33] 下一页 
ASP+SQL SERVER2000电子商城系统 第32页下载如图片无法显示或论文不完整,请联系qq752018766