Smiley Posted March 7, 2016 Share Posted March 7, 2016 i used the get (temporarypath) to save a layout as pdf to send to its recipient, however started to get the attached error message it then skips this script step and creates mthe email with the attachment. Any idea why this is happening and how i could rectify it? Link to comment Share on other sites More sharing options...
comment Posted March 7, 2016 Share Posted March 7, 2016 Show us your script, please. Link to comment Share on other sites More sharing options...
Smiley Posted March 7, 2016 Author Share Posted March 7, 2016 see attached Link to comment Share on other sites More sharing options...
Ocean West Posted March 7, 2016 Share Posted March 7, 2016 You need to refactor your variable $path the contents appears to be commented out with "/*" perhaps you copied and pasted the value in from another source and the needed fields are referenced so the entire contents is wrapped in the /*content*/ which is essentially setting it to nothing. Also make sure you append the filename and extension for the file. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3106 days old. Please don't post here. Open a new topic instead.
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