Answer the question
In order to leave comments, you need to log in
Bitrix how to attach a file in an attack in a letter?
Bitrix has sending letters
CEvent::Send('COUPON_OIL', 's1', $emailData, 'Y', "", array($fid));
$fileData = array (
"name" =>
"size" =>
"tmp_name" =>
"type" =>
"old_file" => "",
"del" =>
"MODULE_ID" =>
);
$fid = CFile::SaveFile($arr_file, "");
Answer the question
In order to leave comments, you need to log in
The abundance of questions indicates that you did not read the documentation at all, but copied the example in the hope that it would work by itself.
But I generate pdf and don't want to save itIs the generated pdf located in memory? Most likely it is in any case saved in somewhere at a pace on the disk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question