ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Include field value in TCPDF file name and attach PDF file to email

amheng5 30 Jan, 2018
Hi I've read the thread regarding how to create unique tcpdf files using field names and they are being saved correctly on the server; however now I can't find how to attach the unique/renamed tcpdf files to an email as each submission will create a unique pdf filename (in this case I added user last name as part of the file name.) see attached. However, I've searched can't determine the code to include in the email attachment section. Hope there is an easy solution.

http://www.chronoengine.com/forums/attachments/download?file_id=9967
http://www.chronoengine.com/forums/attachments/download?file_id=9968
Max_admin 31 Jan, 2018
Hi amheng5,
The pdf file path can be found in the TCPDF var info by adding a debug after the tcpdf, you can then include the path in the email attachments box:
{var:tcpdf_name.path}
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
amheng5 13 Feb, 2018
Answer
1 Likes
So this is what works for me.

TCPDF config:
Capture.PNG
and attach PDF file to email config
Capture2.PNG
uriel 03 Mar, 2018
Great thread thank you...
So in my case I don't need the unique names I simply need to attach the PDF to the email.
In the Designer Tab - I created a File upload field as per attached image :Screen_Shot_2018-03-03_at_10.10.34_AM.png
In the Success Tab, I created a File uploads section like this :
Screen_Shot_2018-03-03_at_10.13.46_AM.png

And the PDF is not attached in the email.....

Guys please can you assist me to get this to simply attach the uploaded PDF to the email sent?
uriel 03 Mar, 2018
I have also tried adding a TCPDF field like below but still not working :

Screen_Shot_2018-03-03_at_10.46.12_AM.png
Max_admin 03 Mar, 2018
Hi uriel,

what is exactly not working ? and your PDF content is empty!

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
uriel 05 Mar, 2018
The PDF is not attached in the email .
I don't know what else to put in the PDF Content - Please will you highlight to me what to do?
I added a TCPDF in an attempt to have the PDF attached to the email - Do I even need it?
uriel 05 Mar, 2018
Hey Guys!
Any light on this please? I need to fix this quite urgently please....
amheng5 05 Mar, 2018
By chance, did you turn on the highlighted option "attach to email"?

What is your email settings under Settings tab?Capture.PNG
amheng5 06 Mar, 2018
You can also follow the demo example of an upload files. click on Demo button
Capture.PNGand select "upload files" link.
Capture2.PNG

follow the settings used for this demo form.
Max_admin 07 Mar, 2018
Hi uriel,

Please add this to the email attachments box:
{var:tcpdf7.path}
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com