I have now spent some time on this:

1. The document is created in the correct folder
2. There are no permission errors to be noted and the problem can be duplicated 
on a second machine with the same OS, but everything works fine in Sierra on 
multiple machines
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

If allowed the email is sent - just without the attachment!

This is using 4D Server 16 r4 (64 bit) and 16 r4 (32 bit) clients as we use 4D 
Write extensively

My gut feeling is that this is a problem with the new Mac file system (APFS) 
and Internet commands.

We now have two computers which are effectively useless!

Steve


> On 2 Feb 2018, at 20:09, Stephen Shaw <[email protected]> wrote:
> 
> Chip
> 
> Thanks for the reply. I checked the permissions and these seemed good, so I 
> have selected a new folder on the desktop with the same result. Clients 
> running on OS versions before 10.13 seem to be working OK
> 
> Steve Shaw
> 
>> On 2 Feb 2018, at 19:48, Chip Scheide <[email protected]> wrote:
>> 
>> I have not - not using either v16 or 10.13 -- however, most likely it 
>> is a permissions issue.
>> check the temporary folder (and it's parents) to see if the user(s) 
>> have permission
>> 
>> On Fri, 02 Feb 2018 19:30:34 +0000, Stephen Shaw via 4D_Tech wrote:
>>> HI 
>>> 
>>> In emailing out 4DWrite documents we create a PDF in the temporary 
>>> folder defined by the ‘temporary folder’command. This has stopped 
>>> working in Mac OS X 10.13.x. Has anyone else come across this and 
>>> offer any explanation / solution for this.
>>> 
>>> Many thanks
>>> 
>>> Steve Shaw
>>> UK
>>> 
>>> 
>>> **********************************************************************
>>> 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]
>>> **********************************************************************
>> ---------------
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
> 

**********************************************************************
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]
**********************************************************************

Reply via email to