RSS Feed/News Using files from abstracted path internal-data

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,693
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top