ijourneaux Posted July 14, 2010 Share Posted July 14, 2010 I have been using INetSmtpMailCom to generate emails that includes a attachment. It has worked in the past is it is likely something I am doing but can't figure it out. The file I am trying to attach \\nawrms-web01\webdocs\pdf_reports\PM16_Reports\3D_Historical_Morning_Report\PM16_3D_Historical_Report_07_14_2010.pdf The error I get is that the file can not be found but I have confirmed that it exists and is at the location I have specified. Is the name too long? Error Log: >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Infostore Auto Reports\InfoStore2.au3" @@ Debug(62) : $S_Files2Attach = >Error code: 0 !> File not found to attach: \\nawrms-web01\webdocs\pdf_reports\PM16_Reports\3D_Historical_Morning_Report\PM16_3D_Historical_Report_07_14_2010.pdf >Exit code: 0 Time: 248.419 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 14, 2010 Developers Share Posted July 14, 2010 add some debugging in the UDF to see what it does by checking the result of $S_Files2Attach[$x] in the first line shown.: $S_Files2Attach[$x] = _PathFull($S_Files2Attach[$x]) If FileExists($S_Files2Attach[$x]) Then Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now