mapi控件发送email时出现“unspecified failure has occurred”错误提示
在vb中用mapi控件发送email时出现“unspecified failure has occurred”错误提示,奇怪的是有些电脑上会出错,有些又不会?! 公司所有电脑上都安装了office 2003,会不会是outlook express与office 2003 outlook有冲突,如果是为什么有些电脑上又没问题呢?
以下是我的代码,哪位高手帮忙看看。
--------------------------------------------
If bLoggedon = False Then
With mapSess
.DownLoadMail = False
.LogonUI = True
.SignOn
.NewSession = True
mapMess.SessionID = .SessionID
End With
bLoggedon = True
End If
Screen.MousePointer = vbDefault
With mapMess
.Compose
.MsgSubject = "Order Confirmation"
.MsgNoteText = "The attached is a confirmation list of your current order."
If pRecipAddress <> "" Then
.RecipAddress = pRecipAddress
End If
.MsgIndex = -1
.AttachmentPathName = EmailFileName
.Send True
End With
-------------------------------------------------------
[解决办法]
友情Up...........
mapi控件发送email时出现“unspecified failure has occurred”异常提示
mapi控件发送email时出现“unspecified failure has occurred”错误提示在vb中用mapi控件发送email时出现“un
