我按照下面代码发送邮件,并添加了附件,可是附件内容是空的,这个什么原因?
Sub mail
Set smtpmail=CreateObject("wwscommon.smtpmail")
smtpmail.sendername="gzy"
smtpmail.senderaddress="Mymail@163.com"
smtpmail.subject="预警"
Call smtpmail.addreceiver("aa","18623195847@163.com")
Call smtpmail.addtextcontent("sss")
Call smtpmail.AppOctStrmContent("D:\INVESTMENT\投资观察.xlsx")
Call smtpmail.sender("smtp.163.com","Mymail@163.com","password")
application.MsgOut("发送邮件完成")
End Sub
稍等,工作人员本地核实一下该问题
[此贴子已经被作者于2018/4/16 13:46:03编辑过]