求gmail收发邮件的源代码。asp.net1.1的。有的朋友请速度发我邮箱。收到马上结帖。谢谢。急![email protected]

解决方案 »

  1.   

    http://www.cnblogs.com/ustbwuyi/archive/2007/05/28/762581.html
    第三段就是
    马上就要用,问题是你好歹也好设计下数据库吧,收下来的邮件信息要入库,附件信息也要入库
    ,附件要保存在服务器
      

  2.   

    http://blog.csdn.net/wangdetian168/archive/2007/01/24/1492464.aspx
    你把SmtpMail.SmtpServer = "smtp.sina.com.cn";
    换成SmtpMail.SmtpServer = "smtp.google.com";
    用户名密码
     换成泥的
      

  3.   

    http://www.cnblogs.com/goody9807/archive/2005/03/09/115367.html
      

  4.   

    下载jmail组件,安装,引用jmail.dll
    jmail.Message msg = new jmail.MessageClass(); msg.Silent = true; //安静发信
    msg.Charset = "gb2312";
    msg.ISOEncodeHeaders = false;
    msg.ContentTransferEncoding = "base64";
    msg.ContentType = "text/html";
    msg.FromName = fromname;
    msg.From = from;
    msg.AddRecipient(to,null,null); //送往
    msg.MailServerUserName = userName;
    msg.MailServerPassWord = password;
    msg.Subject = subject;
    msg.Body = message;

    msg.Send(server,false);
    msg.Close();
      

  5.   

    在工程里面添加jmail组建using System; 
    using System.Web.Mail; 
    using System.Web.Util;    
    using jmail;   
            jmail.Message Jmail=new jmail.MessageClass(); 
             Jmail.Silent=true; 
             Jmail.Logging=true; 
             Jmail.Charset="gb2312"; 
             Jmail.ContentType="text/html"; 
             Jmail.AddRecipient("[email protected]","",""); 
             Jmail.From="[email protected]"; 
             Jmail.MailServerUserName="hxjlo" ; 
             Jmail.MailServerPassWord="******" ; 
             Jmail.Subject="你好"; 
             Jmail.Body="邮件内容,你好!"; 
             Jmail.Send("smpt.163.com",false); 
             Jmail.Close() ; 
      

  6.   

    jmail4.4pro    哪位大哥有啊发份给我吧。下不到,,[email protected]