lcollong
FabriKant d'applications web
Hi,
I've just updated this J2.5 site to the last "master" github version. I'm using the email form plugin to send a mail upon form submit. It's working except the attachment part. What ever I put in the "Attachments (eval)" field (also a bit "small" ) such as : return (array) '{mytable___myUploadElement_raw}', it sends the mail without any attachment. Of course the placeholder shows the right filename and path if I put :
Making some debug, it seems that the following line (around 497 of email.php) is always returning false. Whatever I put in the field. Even a constant.
I have not been able to find where addEmailAttachement is defined.....
I've just updated this J2.5 site to the last "master" github version. I'm using the email form plugin to send a mail upon form submit. It's working except the attachment part. What ever I put in the "Attachments (eval)" field (also a bit "small" ) such as : return (array) '{mytable___myUploadElement_raw}', it sends the mail without any attachment. Of course the placeholder shows the right filename and path if I put :
Code:
$test = (array) '{mytable___myUploadElement_raw}';
var_dump($test);exit;
Code:
$file = $elementModel->addEmailAttachement($v);