Using files from abstracted path internal-data

Status
This content is read-only, or is not open for further replies.

Dannymh

Guest
offline
I am building out reports in PDF that I then move to internal data using

\XF\Util\File::copyFileToAbstractedPath($theFile, 'internal-data://my/Reports/report' . $thread->thread_id . '.pdf');

The process starts by building a temp file and then copying it across with the above. This all works fine. However I am confused on how exactly I access this when I want to use that file as an attachment.

I have the following which works if I run ->send. However if I run ->queue it will fail...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom