Smiley Posted March 7, 2016 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?
Ocean West Posted March 7, 2016 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.
Recommended Posts
This topic is 3181 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