A
A
adilnov2019-09-16 09:22:58
1C-Bitrix
adilnov, 2019-09-16 09:22:58

Bitrix. How to send an email with an individual attachment (pdf document with form data) after completing the feedback form?

I am just starting out as a Bitrix developer.
Prompt, please, ways of the decision.
There is a feedback form, this is not an order in the store. There is no store.
A person fills out a form, and a letter with an attachment should be sent to the email specified by him: a template with fields in which the data entered by him is substituted.
I did this in the body of the email. I don't understand how to do it with a PDF attachment. That is, you need to look in the events and convert to pdf before sending, then cling to the letter. If it's easy, be more specific.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Isaev, 2019-09-16
@d4h1i15438

For pdf substitution in the template, you need something like this:
https://tcpdf.org/examples/example_001/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question