|
- Sub 发邮件()
- Dim OutlookApp As Outlook.Application
- Dim MItem As Outlook.MailItem
- Dim EmailAddr As String
- Dim subj As String
- Dim Msg As String
-
- Set OutlookApp = Outlook.Application
-
- EmailAddr = "test@163.com"
- subj = "我是主题"
-
- Msg = "您好" & vbCrLf & vbCrLf
- Msg = Msg & "我的正文如下:" & vbCrLf & vbCrLf
- Msg = Msg & "我的签名" & vbCrLf
-
- MsgBox Msg
- Set MItem = OutlookApp.createItem(olMailItem)
- With MItem
- .To = EmailAddr
- .Subject = subj
- .Body = Msg
- .Save
- End With
-
- End Sub
复制代码
我想在正文中插入一个2列4行的表格,并且第一行文字是粗体,但不太熟悉HTML方面的语句,请问老师我该如何进阶?Outlook中可以用HTML的语言吗?有例更好。谢谢! |
|