下午3点倒着结贴~ 给我点参考资料,关于广告邮件的.

pdsnet 2009-07-07 09:58:33
类似京东,淘宝的广告邮件.里边的最新产品是怎么处理的?
...全文
185 24 打赏 收藏 举报
写回复
用AI写文章
24 条回复
切换为时间正序
请发表友善的回复…
发表回复
pdsnet 2009-07-07
  • 打赏
  • 举报
回复
谢谢以上各位
悔说话的哑巴 2009-07-07
  • 打赏
  • 举报
回复
帮顶
wwd252 2009-07-07
  • 打赏
  • 举报
回复
做一个获取最新产品的页面,然后生成静态页面,把html页面以邮件的形式发出去。
lianglei9810 2009-07-07
  • 打赏
  • 举报
回复
写程序啊 非常简单的jmail功能

private void SendEmail(string emails, string NewsLetter)
{

int NID = int.Parse(Session["NID"].ToString());

//toNames.Add(dar["DName"].ToString());
//toEmails.Add(dar["DEmail"].ToString());

////获得内容
string topcontent = .BLL.NewLetterBLL.GetTopContent(NID);
string rightcontent = .BLL.NewLetterBLL.GetRightContent(NID);
string title = .BLL.NewLetterBLL.GetTitle(NID);
string content = .BLL.NewLetterBLL.GetContent(NID);
string downcontent = .BLL.NewLetterBLL.GetDownContent(NID);
////结束
string body = string.Empty;
jmail.MessageClass mail = new jmail.MessageClass();
body += "<!DOCTYPE html PUBLIC ' -//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>";
body += "<html xmlns='http://www.w3.org/1999/xhtml'>";
body += "<head>";
body += "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";
body += "<title>newsletter</title>";
body += "<style type='text/css'>";
body += "body {background-color: #808080;margin-left: 17px;margin-top: 21px;margin-right: 0px;margin-bottom: 0px;}";
body += ".STYLE1 {font-family: Arial,'宋体';font-size: 12px;font-weight: normal;color: #000000;line-height: 18px;}";
body += ".STYLE2 {font-family: Arial, '宋体';font-size: 14px; font-weight: bold; color: #000000; line-height: 18px; }";
body += "</style></head>";
body += "<body>";
body += "<table width='987' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += "<td><table width='987' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>";
body += " <tr>";
body += "<td width='109' valign='top'><img src='http://.com/images/newsletter-style_061.jpg' width='109' height='92' /></td>";
body += "<td width='895' valign='top'><table width='878' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += "<td height='25' colspan='2'> </td>";
body += "</tr>";
body += " <td width='18'> </td>";
body += "<td colspan='2'><span class='STYLE1'>" + topcontent + "</span></td>";
body += "</tr>";
body += "<tr>";
body += "<td colspan='3'><table width='555' height='75' border='0' cellpadding='0' cellspacing='0'>";
body += "<tr>";
body += "<td width='18'> </td>";
body += "<td width='510' valign='top' class='STYLE1'> </td>";
body += "<td width='27'> </td>";
body += " </tr>";
body += " </table></td>";
body += "</tr>";
body += "<tr>";
body += "<td class='STYLE1'> </td>";
body += "<td width='84' class='STYLE1'> </td>";
body += " <td width='453' class='STYLE1'><a href='http://www..com/Forward.aspx?NID=" + NID + "' class='link_en1'>SEND THIS NEWSLETTER TO MY FRIENDS</a> | <a href='http://www..com/Emial.aspx' class='link_en1'>PAST NEWSLETTERS</a></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "<tr>";
body += "<td valign='top'><table width='555' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += " <td valign='top'><table width='555' border='0' cellpadding='0' cellspacing='0' class='kuang'>";
body += "<tr>";
body += "<td width='19'> </td>";
body += " <td width='531'>" + title + "</td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "<tr>";
body += " <td><table width='555' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += "<td colspan='3'><img name='' src='' width='32' height='8' alt='' style='background-color: #FFFFFF' /></td>";
body += "</tr>";
body += "<tr>";
body += " <td width='9'> </td>";
body += "<td width='531'><table width='533' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += "<td width='533' class='STYLE1'>" + content + "</td>";
body += "</tr>";
body += " </table></td>";
body += " <td width='15'> </td>";
body += "</tr>";
body += " <tr>";
body += " <td> </td><td> </td><td> </td>";
body += "</tr>";
body += "</table>";
body += " <img name='' src='' width='32' height='5' alt='' style='background-color: #FFFFFF' /></td>";
body += "</tr>";
body += "<tr>";
body += " <td><table width='555' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += " <td width='356'> </td>";
body += "<td width='199' valign='bottom' class='STYLE1'></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "</table></td>";
body += "<td width='11' valign='top' bgcolor='#F6EDED'><img name='' src='' width='11' height='1' alt='' style='background-color: #F6EDED' /></td>";
body += "<td width='303' align='left' valign='top' bgcolor='#F6EDED'><table width='290' height='356' border='0' cellpadding='0' cellspacing='0'>";
body += "<tr><td height='18'> </td></tr>";
body += "<tr>";
body += "<td height='314' valign='top' class='STYLE1'>" + rightcontent + "<br />";
body += "</td>";
body += "</tr>";
body += "<tr><td height='18' valign='bottom'> </td></tr>";
body += "</table></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += " <tr>";
body += "<td><table width='868' height='14' border='0' cellpadding='0' cellspacing='0'>";
body += "<tr>";
body += "<td valign='middle'><img name='' src='' width='868' height='5' alt='' style='background-color: #808080' /></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "<tr>";
body += "<td align='left' valign='top' class='kuangtext'>" + downcontent + "</td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "<tr>";
body += " <td><table width='987' border='0' cellspacing='0' cellpadding='0'>";
body += "<tr>";
body += "<td width='109' align='left' valign='top'><img src='http://confuciusprograms.com/images/newsletter-style_17.jpg' width='109' height='20' /></td>";
body += "<td width='878' bgcolor='#FFFFFF'> </td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "<tr>";
body += "<td align='left' valign='top' bgcolor='#808080'><table width='969' height='28' border='0' cellpadding='0' cellspacing='0' class='downtext'> <tr>";
body += "<td width='969'>You received this newsletter message from ConfuciusPrograms.com. Please be assured that we will only use your e-mail address to communicate with you about our educational programs. We do not sell or rent information to third parties.<br />";
body += "This e-mail was sent from an unattended mailbox. Please do not reply. Send any questions to m.vanderputten@confuciusprograms.com<br />";
body += "If you are not interested in these newsletters and you do not mind missing out on valuable information we will be sending in the future, simply click the following <a href='http://www.confuciusprograms.com/UnSubscribe.aspx'>LINK</a>. This newsletter was sent to: " + emails + " </td>";
body += "</tr>";
body += "<tr>";
body += "<td> <div align='center'>© Copyright 2003-2008 Eyes on China Ltd.<br />";
body += "ConfuciusPrograms.com <br />Room 717, Fanli Plaza<br /> No. 22, Chao Wai Da Jie<br />100020 Beijing<br />P.R. China<br />";
body += "For questions regarding the delivery of this Newsletter or regarding Privacy concerns <br />";
body += "please call Confucius Programs at: +86.10.6588.0899</div></td>";
body += "</tr>";
body += "</table></td>";
body += "</tr>";
body += "</table>";
body += "</body>";
body += "</html>";


mail.Charset = "GB2312";// 字符集
// mail.Encoding = "BASE64";//附件的编码格式
mail.ContentType = "text/html";
mail.ISOEncodeHeaders = false;//是否将信头编码成iso-8859-1字符集
//mail.Priority = Convert.ToByte(1);// 优先级
mail.From = "newsletter@.com";//发送人邮件地址
mail.FromName = "newsletter@.com";//发送人姓名
mail.Subject = NewsLetter;// 邮件主题
mail.MailServerUserName = "newsletter@.com";//身份验证的用户名
mail.MailServerPassWord = "8888888888";

mail.AddRecipient(emails, "", "");
mail.Body = body;
mail.Send("mail..com", false);
mail.Close();

}
gongsun 2009-07-07
  • 打赏
  • 举报
回复
...
十八道胡同 2009-07-07
  • 打赏
  • 举报
回复
up,
sy_binbin 2009-07-07
  • 打赏
  • 举报
回复
可以动态生成HTML啊!!
把动态生成的HTML当成邮件的内容发出去啊!!

产品的图片地址和链接地址都采用绝对地址就可以了!!
pdsnet 2009-07-07
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 sy_binbin 的回复:]
怎么处理的??就是根据他们自己的需求呗!!

可以根据商品的上传时间,商品的优先级别,另外就是把商品当成广告了,另外拿钱了就把你的商品用邮件发出去呗!!

没啥可说的!!
[/Quote]

html 形式的邮件, 上边的动态产品数据 怎么处理? 这个意思
sy_binbin 2009-07-07
  • 打赏
  • 举报
回复
怎么处理的??就是根据他们自己的需求呗!!

可以根据商品的上传时间,商品的优先级别,另外就是把商品当成广告了,另外拿钱了就把你的商品用邮件发出去呗!!

没啥可说的!!
pdsnet 2009-07-07
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 wangan2008 的回复:]
up lz好豪爽。。话说lz问题不是很清楚嘛。。
[/Quote]
京东 定期发送的那些广告邮件里的新产品 是怎么处理的 ?
pdsnet 2009-07-07
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 jasondct 的回复:]
他们 多是用js处理的,用js做的模板有利于资源优化,更新时方便,不用重新发布。中午有空给你代码吧
两侧广告用 自定义控件实现的
[/Quote] 谢谢 64123799@qq.com
jasondct 2009-07-07
  • 打赏
  • 举报
回复
他们 多是用js处理的,用js做的模板有利于资源优化,更新时方便,不用重新发布。中午有空给你代码吧
两侧广告用 自定义控件实现的
周公 2009-07-07
  • 打赏
  • 举报
回复
最近设计过类似的系统,虽然没见过他们的广告邮件,但是一般会参考几个方面:一、添加商品的时间;二、商品的优先级别(权重)。
搜索最新产品的时候会按照这些字段排序,并且按照分类分开。
Dream_Hunter_ 2009-07-07
  • 打赏
  • 举报
回复
不知道。电子商务的东西关注一下。帮顶!
wangan2008 2009-07-07
  • 打赏
  • 举报
回复
up lz好豪爽。。话说lz问题不是很清楚嘛。。
pdsnet 2009-07-07
  • 打赏
  • 举报
回复
第一次发200分贴..
程序漫步 2009-07-07
  • 打赏
  • 举报
回复
帮顶~~
desegou 2009-07-07
  • 打赏
  • 举报
回复
我也顶一下
gwins 2009-07-07
  • 打赏
  • 举报
回复
up
stromboy007 2009-07-07
  • 打赏
  • 举报
回复
顶~~~~
加载更多回复(4)
源码直接下载地址: https://pan.quark.cn/s/a4b39357ea24 【FAST FWR310 无线路由更新程序】是一个专门为FAST FWR310型号无线路由设备设计的固件升级方案,其主要目的在于改善设备的工作表现、纠正已知的系统缺陷或引入全新的操作特性。对无线路由器进行固件更新,实质上是指替换或升级其核心操作系统(即固件),从而使其运行状态得到进一步优化。 在无线路由器的持续使用阶段,用户有时会遭遇若干操作难题,例如网络连接的频繁中断、数据传输速率不高、无线信号覆盖范围有限等情况。针对此类挑战,通过安装新的固件(即刷机包),能够有效应对上述问题,因为新固件或许已经针对这些普遍存在的问题进行了优化处理。不仅如此,固件升级还能开启一些隐藏的功能选项,或者兼容第三方固件,例如OpenWRT,从而让用户能够进行更深入的系统自定义配置及管理。 FWR310 V5.0升级软件20160301是该刷机包的明确版本标识,显示出这是针对FAST FWR310路由器推出的第五代固件,并且发布日期为2016年3月1日。此版本的更新内容可能涵盖以下几个方面: 1. 运行效能的调优:借助于对路由器处理流程与内存分配的改善,能够加快数据交换速率,减少响应时间,从而全面提升网络的工作效能。 2. 安全防护的强化:更新内容中可能融入了对新兴网络安全风险的防御机制,用以保障用户的资料安全。 3. 互操作性的扩展:可能增强了与更多设备及协议的适配能力,比如最新的无线通信标准或设备连接模式。 4. 运行稳定性的提升:修复了可能引发路由器系统崩溃或意外重启的已知故障,延长了设备的稳定运行周期。 5. 新特性集成:或许增添了提升用户体验的功能,例如远程操作控制、家长监管功能、服务质...
内容概要:本文围绕基于混沌系统与DNA编码的彩色图像加密解密体系展开研究,旨在解决传统图像加密算法密钥空间小、抗干扰能力弱等问题。通过结合混沌系统的伪随机性与DNA编码的高维组合特性,构建了多层级、高复杂度的加密框架,实现了对彩色图像RGB三通道的混淆与扩散操作。研究重点包括加密算法的设计与实现、密钥敏感性分析以及抗噪声和抗裁剪性能的系统性测试。实验结果表明,该算法在面对高斯噪声、椒盐噪声及不同面积、位置的图像裁剪攻击时,仍能较好地恢复图像主体结构与核心信息,展现出优良的鲁棒性和实用性。文章还总结了当前研究的不足,并对未来优化方向进行了展望。; 适合人群:具备一定信息安全、图像处理或密码学基础知识的科研人员、研究生及工程技术人员。; 使用场景及目标:①用于高安全性需求下的图像传输与存储场景,如军事通信、医疗影像保护等;②为复合型图像加密技术的研究提供理论支持与实验依据,推动加密算法向高鲁棒性、强抗攻击能力方向发展; 阅读建议:建议读者结合文中提供的理论基础与实验分析,深入理解混沌与DNA编码的融合机制,并可通过复现实验进一步掌握算法细节与性能边界,重点关注抗干扰测试部分以评估其在实际应用中的可靠性。

62,271

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧