Hi,
how can you see in the attachment I have set "attach to email" in the field file and in the form for sending the email i have set "auto attach file fields".
But when in the frontend I send the request I recive one email without attachment.
I have found the attached file but I dont know why it is not sent by email.
How can i solve it?
Thanks,
Moreno
how can you see in the attachment I have set "attach to email" in the field file and in the form for sending the email i have set "auto attach file fields".
But when in the frontend I send the request I recive one email without attachment.
I have found the attached file but I dont know why it is not sent by email.
How can i solve it?
Thanks,
Moreno
Hi Moreno,
Please add a debugger to your form and test it once, what output do you get from the debugger ?
Best regards
Please add a debugger to your form and test it once, what output do you get from the debugger ?
Best regards
No, not that. You haven't shown anything.
Array
(
[chronoform] => su-misura
[event] => submit
[citta] => prova
[provincia] => provap
[cap] => 132
[nome_azienda] => orvap
[indirizzo] => orvpa
[citta-azienda] => re
[provincia-azienda] => tre
[stato] => ert
[nome_referente] => tre
[mail] => AAAA@AAA.it
[tel] => 234
[dati-mail] => NO
[privacy] => SI
[g-recaptcha-response] => 03AOLTBLRsdOPrluA_3CLSS_Pm9V4B-ZmhSZdBsIuBUUUBZ--JBidaItXBQy7Lkitw
[button44] =>
[language] => it-IT
[Itemid] => 209
[option] => com_chronoforms6
[lang] => it-IT
[view] => form
[disegno_tecnico] => Senza titolo-2.pdf
[trattamento_ht] => SI
[trattamento_essicato] => NO
[quantitativo] => anno
[quantita] => 34
[richiesta_altre_informazioni] => sf
[button4] =>
)
Array
(
[google_nocaptcha15] => Array
(
[response] => Array
(
[success] => 1
[challenge_ts] => 2019-02-22T09:50:56Z
[hostname] => www.AAA.net
)
[_success] => The NoCaptcha verification was successfull.
[var] => 1
)
[upload19] => Array
(
[path] => /web/htdocs/www.AAA.net/home/BBB/components/com_chronoforms6/chronoforms/uploads/
[disegno_tecnico] => Array
(
[extensions] => Array
(
[0] => jpg
[1] => jpeg
[2] => png
[3] => gif
[4] => pdf
[5] => doc
[6] => docx
[7] => txt
[8] => zip
[9] => rar
)
[info] => File is not present.
)
[var] => Array
(
)
)
[validate_fields2] => Array
(
[log] => Automatic validation enabled.
[var] => 1
)
[email14] => Array
(
[recipients] => Array
(
[0] => BBBB
)
[subject] => AAAA
[body] => AAAA
[result] => the Mail sent successfully.
[var] => 1
)
)
What does your file upload action look like, can you screenshot it?
you can try it here: http://www.primapubblicita.net/sartorilegno/preventivo#palletsu-misura
i have move the "upload files" inside page2 and now upload the file on the server.
but it is not attached to the email
but it is not attached to the email
OK so the upload action is in a different event than the email action? It's not going to work then.
Use a save to session action just AFTER your file upload action, data provider set to {var:upload#.[n].path} , just replace the # with the number of your upload action. Call it whatever you need to.
Then in the email attach field, put {session:sessionname}. Replace sessionname with whatever you called the session variable in the previous step.
Use a save to session action just AFTER your file upload action, data provider set to {var:upload#.[n].path} , just replace the # with the number of your upload action. Call it whatever you need to.
Then in the email attach field, put {session:sessionname}. Replace sessionname with whatever you called the session variable in the previous step.
This topic is locked and no more replies can be posted.