最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Jmail发送附件
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
用Jmail发送附件:
jmail.Body="this is a file from jmail using c# asp.net";
jmail.AddAttachment(Server.MapPath("01.jpg"),false,"image/jpg");
发送HTML:
jmail.HTMLBody="
this is html
";
如果HTML内容中含有图像等连接,可以:
1)
jmail.HTMLBody="
this is html
";
2)
string cid=jmail.AddAttachment(Server.MapPath("01.jpg"),true,"image/jpg");
jmail.HTMLBody="
this is html
";
jmail.Body="this is a file from jmail using c# asp.net";
jmail.AddAttachment(Server.MapPath("01.jpg"),false,"image/jpg");
发送HTML:
jmail.HTMLBody="
this is html
";
如果HTML内容中含有图像等连接,可以:
1)
jmail.HTMLBody="
this is html
";
2)
string cid=jmail.AddAttachment(Server.MapPath("01.jpg"),true,"image/jpg");
jmail.HTMLBody="
this is html
";
相关文章
- 探探app如何撤回已经发送的消息 07-12
- 今日头条app如何给小编发送私信 06-22
- word提示发送错误报告怎么办 05-11
- 手印直播APP怎么发送弹幕 手印直播APP发送弹幕教程 04-16
- Word将文档内容发送到PPT方法 04-11
- 天籁K歌怎么发送悄悄话 天籁K歌APP发悄悄话方法 03-20