急,高手指导!!!! vfp 发送邮件
WITH thisform.mAPISESS
.logonui=.F.
.downloadmail=.f.
.signon
ENDWITH
aa=GETFILE()
mymessage(aa)
thisform.maPIMESS.sessionID=thisform.maPISESS.sessionID
WITH thisform.mAPIMESS
.msgindex=-1
.compose
.recipdisplayname=ALLTRIM(thisform.text1.Value)
.msgsubject=ALLTRIM(thisform.text2.value)
.msgnotetext=thisform.edit1.Value
.attachmentindex=1
.AttachmentPathName=aa
.attachmenttype=1
.send(1)
ENDWITH
thisform.maPISESS.signoff
上述代码,运行send()方法时,老是出现,attachment not found 不知道是怎么回事
还请高手指点