Public Sub SendMail(ByVal strSendTo As String)
Dim MMsg As MAPIMessages
With MMsg
.MsgIndex = -1
.RecipDisplayName = Trim(strSendTo)
.MsgSubject = Trim(TxtSubject.Text)
.MsgNoteText = Trim(TxtMessage.Text)
.AttachmentPathName = Trim(TxtAttchment.Text)
' .AttachmentName = "Hello.txt"
.SessionID = MSsn.SessionID
.Send
End With
End Sub
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货