Forums

Cannot attach file using {var:tcpdf_name.path}

razlie 17 Apr, 2019
Hi,

I'm using the latest chronoform v6 .. And I'm try to attached a PDF file to an email but the attachment does not work. Please assist me what I did wrong?[file=12074]choro_email.png[/file]
​[file=12075]choro_email1.png[/file]
healyhatman 17 Apr, 2019
What settings have you used in the TCPDF action? What does your debug say?
razlie 18 Apr, 2019
Hi,
In Action I set it to be STORE and it is sucessfully store in the designated folder.
The Debug shows :

 [tcpdf2] => Array
        (
            [path] => /home/cloudnur/public_html/nuri2017/components/com_chronoforms6/chronoforms/applications/pdf2.pdf
            [var] => Array
                (
                    [path] => /home/cloudnur/public_html/nuri2017/components/com_chronoforms6/chronoforms/applications/pdf2.pdf
                )

        )

    [email4] => Array
        (
            [recipients] => Array
                (
                    [0] => razlie@5r.com.my
                )

            [subject] => TESTING EMAIL WITH ATTACHMENT
            [body] => THellow
<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"></table>
            [result] => the Mail sent successfully.
            [var] => 1
        )
Max_admin 18 Apr, 2019
Yes, there is a bug here in the last update to be fixed in the next one, or just disable the "Auto attach file fields" setting in your upload action temporarily!

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.