社区
ASP
帖子详情
用mailto:?Body=...发邮件,body中怎么插入回车换行、html代码?
VCBeginer
2003-08-23 05:31:23
用mailto:?Body=...发邮件,body中怎么插入回车换行?
...全文
11684
12
打赏
收藏
用mailto:?Body=...发邮件,body中怎么插入回车换行、html代码?
用mailto:?Body=...发邮件,body中怎么插入回车换行?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
12 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
VCBeginer
2003-08-25
打赏
举报
回复
有没有js的写法?我这边不是asp环境。
dicklee1214
2003-08-25
打赏
举报
回复
VBCRLF如果你用的是vbscript的话
VCBeginer
2003-08-25
打赏
举报
回复
均试过了,可是outlook打开后,就是没有换行呀?这跟环境设置有没什么关系?
wolf004
2003-08-25
打赏
举报
回复
mail.body="<br>"这就是一个回车了!
给你一个例子!〕
<%set mail=server.createobject("CDONTS.NewMail")
mail.to=email
mail.from=smail
mail.MailFormat = 0
mail.bodyFormat = 0
mail.subject="邮件的标题"
html=html&"<html>"
html=html&"<head>"
html=html&"</head>"
html=html&"</html>"
html=html&"<div align=""center""> "
html=html&"<table border=""0"" cellpadding=""0"" cellspacing=""0"" width=""100%"" align=""center"">"
html=html&"<tbody>"
html=html&"<tr>"
html=html&"<td width=""100%"">"
html=html&"<table border=""0"" cellpadding=""0"" cellspacing=""0"" width=""100%"">"
html=html&"<tbody>"
html=html&"<tr>"
html=html&"<td colspan=""2"" valign=""top"" height=""5"">"
html=html&"<table width=""100%"" cellspacing=""0"" cellpadding=""0"">"
html=html&"<tr valign=""top"">"
html=html&"<td width=""100%"">"
html=html&"<table width=""100%"" cellspacing=""0"" cellpadding=""0"" height=""100%"">"
html=html&"<tr>"
html=html&"<td>"
html=html&"<table width=""100%"" cellpadding=""1"" align=""center"" border=""0"">"
html=html&"<tr align=""center"" valign=""top"" >"
html=html&"<td>"
html=html&"<table width=""100%"" cellspacing=""0"" cellpadding=""0"" height=""100%"">"
html=html&"<tr>"
html=html&"<td>"
html=html&"<table width=""100%"" cellspacing=""0"" cellpadding=""0"" height=""100%"" border=""0"" align=""left"" >"
html=html&"<tr>"
html=html&"<td height=""8"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td height=""10"">"
html=html&yname
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td height=""5"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td>"
html=html&msg
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td height=""5"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td>"
html=html&sname
html=html&" "
html=html&date()
html=html&"</font>"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td height=""5"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"</table>"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td height=""1"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"</table>"
html=html&"</td>"
html=html&"</tr>"
html=html&"</table>"
html=html&"<br>"
html=html&"<br>"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr align=""left"">"
html=html&"<td height=""15"">"
html=html&"<a href=""http://www.yqhr.com.cn"" >"
html=html&"乐清人才网 www.yqhr.com.cn"
html=html&"</a>"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr align=""left"">"
html=html&"<td height=""10"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td>单位名称:"
html=html&dws1
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr align=""left"">"
html=html&"<td height=""10"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td>招聘职位:"
html=html&zws1
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr align=""left"">"
html=html&"<td height=""10"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr align=""left"">"
html=html&"<td height=""30"">"
html=html&"详细信息请查看:""<a href=""http://www.yqhr.com.cn/zhaopin/zhaopinviews.asp?uname"
html=html&"="
html=html&ids1
html=html&""">"
html=html&"http://www.yqhr.com.cn/zhaopin/zhaopinviews.asp"
html=html&"</a>"
html=html&"</td>"
html=html&"</tr>"
html=html&"</table>"
html=html&"</td>"
html=html&"</tr>"
html=html&"</table>"
html=html&"</td>"
html=html&"</tr>"
html=html&"<tr>"
html=html&"<td colspan=""2"" valign=""top"">"
html=html&"</td>"
html=html&"</tr>"
html=html&"</tbody>"
html=html&"</table>"
html=html&"</td>"
html=html&"</tr>"
html=html&"</tbody>"
html=html&"</table>"
mail.body=html
mail.send
%>
zhongmao
2003-08-25
打赏
举报
回复
<a href=mailto:test@test.com?subject=标题我知道&body=Webmaster,你们好,%0a%0d%0a%0d我是注册用户,我想申请进入版主特区。以下是我的注册信息可以证明我的身份:%0a%0d%0a%0d注册名:%0a%0d注册使用的电子邮件:%0a%0d%0a%0d感谢你们的工作。谢谢。>测试</a>
KUMOZAKI
2003-08-25
打赏
举报
回复
其实js的写法也是一样的!
其实那个vbcrlf就是body或者textarea的换行符,相当于<br>!!
KUMOZAKI
2003-08-23
打赏
举报
回复
改错:第二行应是bodyword=bodyword&"abcdefghijklmn"&vbcrlf......
少了一个word
这是asp程序!不是js
孟子E章
2003-08-23
打赏
举报
回复
mailto:xx@xx.xom?body=aa%0dbb
KUMOZAKI
2003-08-23
打赏
举报
回复
我试过了我的方法,可以的:
您可以先设一个变量
Bodyword="12345678910"&vbCrlf
bodyword=body&"abcdefghijklmn"&vbcrlf
...mailto:?Body=<%=bodyword%>
ok!
VCBeginer
2003-08-23
打赏
举报
回复
不行,js中认chr(10),chr(13)但outlook中没效果?!
KUMOZAKI
2003-08-23
打赏
举报
回复
或许试一试vbcrlf,
boby="123456789"&"vbcrlf"......
由于我没有试过,所有不知道行不行!
luluso
2003-08-23
打赏
举报
回复
chr(10),chr(13)
网 设计与制作 练习 .pdf
12.
插入
回车
符:` `标记用于
换行
。 13. 引用标记:`<cite>`用于引用和引文。 14. 字体设置:`<font>`标签设置字体大小和字体类型,如`<font size=6 face="隶书">欢迎访问我的主页!</font>`。 15. 背景颜色...
JavaScript监听和禁用浏览器
回车
事件实例
js监听浏览器
回车
事件,可以支持ie6+,火狐,谷歌等浏览器。
代码
如下: <
html
> <head> [removed] //注册键盘事件 [removed] = function(e) { //捕捉
回车
事件 var ev = (typeof event!= ‘undefined...
mailto
:xxx@163.com时关于
body
中
的
换行
在
mailto
网页连接给客户
发邮件
时年具体弹出什么程序,要看访问者系统默认的邮件客户端是什么,如果是默认Outlook Express就弹出OE,如果默认Foxmail,那么就弹出Fox,
body
里面
换行
可以这样实现,
换行
在URL编码...
JavaScript 之 调用outlook
发邮件
功能
mailto
(附带
换行
问题)
mailto
众所周知是
html
中
发送电子邮件的
代码
,写法如下: <a href="
mailto
:111111@qq.com">发送邮件</a>
mailto
还有一些参数使用方式,类似地址栏写法:
mailto
表示收件人(多人
中
间分号间隔) cc...
常用的一些javascript小技巧(收藏http://www.car371.com/article.asp?id=13)
常用的一些javascript小技巧...字体大小: 小
中
大 //事件源对象 event.srcElement.tagName event.srcElement.type //捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture();//事件按键...
ASP
28,409
社区成员
356,971
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章