求gmail收发邮件 求gmail收发邮件的源代码。asp.net1.1的。有的朋友请速度发我邮箱。收到马上结帖。谢谢。急![email protected] 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://www.cnblogs.com/ustbwuyi/archive/2007/05/28/762581.html第三段就是马上就要用,问题是你好歹也好设计下数据库吧,收下来的邮件信息要入库,附件信息也要入库,附件要保存在服务器 http://blog.csdn.net/wangdetian168/archive/2007/01/24/1492464.aspx你把SmtpMail.SmtpServer = "smtp.sina.com.cn";换成SmtpMail.SmtpServer = "smtp.google.com";用户名密码 换成泥的 http://www.cnblogs.com/goody9807/archive/2005/03/09/115367.html 下载jmail组件,安装,引用jmail.dlljmail.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(); 在工程里面添加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() ; jmail4.4pro 哪位大哥有啊发份给我吧。下不到,,[email protected] asp.net 怎么让页面得到参数的值 ASP.NET WEB应用程序的问题调试出错 请大家看看如何在VS2003中用C#写多表查询语句??、? 有没有什么办法可以解决下面的问题。。? 运行response.write() 后,表格内容都居左了 VS 2003的BUG? 关于合法性检查问题 非匿名访问下,webservice调用出现问题 采集不到阿里巴巴的页面源代码 关于IList数据类型的绑定和显示的问题(线上等待,今天结账) ajax ModalPopupExtender问题 socket的简单问题
第三段就是
马上就要用,问题是你好歹也好设计下数据库吧,收下来的邮件信息要入库,附件信息也要入库
,附件要保存在服务器
你把SmtpMail.SmtpServer = "smtp.sina.com.cn";
换成SmtpMail.SmtpServer = "smtp.google.com";
用户名密码
换成泥的
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();
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() ;