Re: Save a PDF created with TCPDF on the server (email it as attachment)

2012-04-09 Thread Untitled No. 4
after it's creation and the document looks fine. What I need to do now is to change this to save the file in a given directory, because I need to send the created PDF document as attachment via email. The code within my action is just; $this-layout = 'pdf'; $this-render

Re: Save a PDF created with TCPDF on the server (email it as attachment)

2012-04-09 Thread LITTO CHACKO
PDF document as attachment via email. The code within my action is just; $this-layout = 'pdf'; $this-render('view_pdf'); As you can see, I'm using a seperate layout for the PDF and a view where variables are set and some layout is done by html. Does anyone know how to accomplish

Save a PDF created with TCPDF on the server (email it as attachment)

2012-04-03 Thread DigitalDude
the file in a given directory, because I need to send the created PDF document as attachment via email. The code within my action is just; $this-layout = 'pdf'; $this-render('view_pdf'); As you can see, I'm using a seperate layout for the PDF and a view where variables are set and some

Email with an attachment

2011-08-08 Thread Ambika Kulkarni
Hello folks, I want to send an email with an attachment. I have used the following snippet but its not working. I have created a file called attach.txt in /app/webroot/ $this-Email-filePaths = array('/www/app/webroot/'); $this-Email-attachments =array('attach.txt'); $this-Email

Re: Email with an attachment

2011-08-08 Thread Sam Sherlock
App::import the vendor library. - S On 8 Aug 2011 13:47, Ambika Kulkarni ambikakulkarn...@gmail.com wrote: Hello folks, I want to send an email with an attachment. I have used the following snippet but its not working. I have created a file called attach.txt in /app/webroot/ $this-Email