Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paradox - Outlook Express

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i am using the following script whitch attaches a file to an e mail

When outlook tryes to send the file it reports an "error 554 no date field"

Has any one experanced this problem before and how do i get around it.

Thanks

Var

lError Logical
m MAIL
sMsgRecip String
sMsgSubj String
sMsgText String
sAttach String
endVar

sMsgRecip = "nigel.lister@qatc.co.uk"
sMsgSubj = "Your data"
sMsgText = "Here is the info you have requested."
sAttach = "C:\\data.txt"


m.logonDlg()
m.addAddress(sMsgRecip)
m.setSubject(sMsgSubj)
m.setMessage(sMsgText)
m.addAttachment(sAttach)
m.send() ; Send the message

m.empty() ;clear out old message
M.EMPTYADDRESSES()
m.emptyattachments()

m.logoff()

MsgInfo("Status","Data has been sent to "+sMsgRecip)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top