It may be worth trying to use something other than Temporary folder. That is a long and strange path. I have had problems using it with AppleScript as well as displaying PDFs in web areas. One alternative is to create something in ~/Library/Caches. For example, Get 4D folder(Current resources folder) in client server mode would be in ~/Library/Caches/4D
John DeSoi, Ph.D. > On Feb 3, 2018, at 9:28 AM, Stephen Shaw via 4D_Tech <[email protected]> > wrote: > > 3. Error -43 is returned on the following line > $error:=SMTP_Attachment ($smtp_id; $document; 2; 0; ””; ”application/PDF”) > > Where $document is the full path and file name > It makes no difference in whether you use system or POSIX format for $document ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

