When I'm physically 'in' my office, when I run the following code, it works perfectly, emailing me the exported file (saved to the 'sesame start in' directory).
But when I'm accessing Sesame over the Internet from a remote (offsite) location, sendmail doesn't send the newly created file on the server.
How can I tell sendmail to 'get/send' the file vWeb that the programming just created on the server?
vWeb = vClientID + ".csv" writeln(vWeb)
RunExportSpec(vWeb,"","",0,0,0,0,0,0,0,0) Loiter(3000)
vEmail = @sendmail("smtp2go.com","WebExport","MyFromAddress.com","MyToAddress.com","","", "Here is a WebExport of " + vWeb,"","",vWeb)
Loiter(1000) writeln(vEmail)
|