以斜体显示电子邮件正文 [英] Email body in italics
问题描述
请任何人都可以帮忙。我确信这很简单。我使用的代码类似于下面的代码。我想制作.body ="这是消息的正文用粗体和斜体。我怎么能这样做。
非常感谢
jacc14
< br $>
Sub Senmail()
Dim objOutlook As Object
Dim objOutlookMsg As Object
设置objOutlook = CreateObject(" Outlook.Application")
设置objOutlookMsg = objOutlook.CreateItem(0)
使用objOutlookMsg
.To =" test@test.net" ;
.CC =" name@email.com"
.Subject ="调度请求文档#" &安培; Doc_ID& 需要你的注意。
。身份="这是消息的主体
结束与
设置objOutlookMsg =没什么
设置objOutlook = Nothing
End Sub
尝试使用html代码。
嗨不幸的是我不知道html。我怎么把它放在我的vb脚本中?
谢谢
jacc14
拿一个通过电子邮件代码很棒的方式来看看这个网站我使用的方式是不一样的
http://forum.statcounter.com/vb/misc.php?do=bbcode
Please can anyone help. I am sure this is quite simply. I am using a code similar to the one below. I want to make the .body = "this is the body of the message" in bold and italic. How can i do this.
Many thanks
jacc14
Sub Senmail()
Dim objOutlook As Object
Dim objOutlookMsg As Object
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(0)
With objOutlookMsg
.To = "test@test.net"
.CC = "name@email.com"
.Subject = "A scheduling request document # " & Doc_ID & "needs your attention."
.Body = "This is the body of message"
End With
Set objOutlookMsg = Nothing
Set objOutlook = Nothing
End Sub
Try using html code.
Hi Unfortunately I dont know html. How would i put this in my vb script??
Thanks
jacc14
take a look at this site by the way that email code is great isn''t it same on I use
http://forum.statcounter.com/vb/misc.php?do=bbcode
这篇关于以斜体显示电子邮件正文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!