Hi Guys
Kindly help me out with this.
I created a small form after which the user should recieve a thank you mail and a PDF file from the server shall be attached (in my case it's a brochure).
How do I do it?
I tried the following code in the "after submit before mail":
Strangely it worked but now it doesnt. And I really have no idea why.
All I need is to attach the brochure to the thank you email the user is getting after he fills in all his data.
Please help me out.
Kindly help me out with this.
I created a small form after which the user should recieve a thank you mail and a PDF file from the server shall be attached (in my case it's a brochure).
How do I do it?
I tried the following code in the "after submit before mail":
<?php
$MyUploads =& CFUploads::getInstance($MyForm->formrow->id);
$MyUploads->attachments[] = 'File Path'; // add complete file path here
?>
Strangely it worked but now it doesnt. And I really have no idea why.
All I need is to attach the brochure to the thank you email the user is getting after he fills in all his data.
Please help me out.