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
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
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
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
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