file corruption


Recommended Posts

a strange one here I have a app that logs alarms to a text file

I can open the text file and all is OK but when i email from within daqfactory the file becomes corrupted any ideas?

function that does the email is copied below

email.strHost = "mailsvr2"

email.strUserName = "" //username

email.strPassword = "" //password

email.strTo = "xxxx@kesxxxxlbce.co.uk"

email.strCC = " "

email.strReplyAddress = ""

email.strSubject = "Log file attached"

email.strFile = "x:\daqfactory\skinalarm.txt"

email.Port = "25"

email.strAuthenticate = "NoLogin"

email.Send()

I can email the file within lotus notes and it arrives ok?

any ideas??????????

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.