11-15-2006, 02:08 AM
Dir d; xAttach
foreach(d "$my qm$\*.dat" FE_Dir 0x4)
xPath=d.FileName(1)
xAttach.from("''" xPath "''")
SendMail "myemail@home.com" "Files" "Attached" 0 xAttach "" "" "" "" "QM"
out xAttachThe above example generates an error:
"Error (RT) in SendArchive: SendMail: cannot add attachment "C:\Documents and Settings\Dad\My Documents\My QM\drsmith1024.dat"
