gilb33
New Member
Good morning,
I am in Fabrik4 joomla 5, and I have a form which has its validation with two plugins sending two emails, one to the member and the other to the treasurer of the association.
In the first email, a file is attached:
//email information reservation accepted
//Definition of attached file
$file = array();
$file [0] = $_SERVER['DOCUMENT_ROOT'].'images/mcbm/documents/recepisse/'.$this->data['mcbm_adherents___recepisse'];
return $file;
It works very well...
But in the second mail plugin, this same file is attached while there is no definition in the attachment evaluation.
I tried without success to put
$file = array();
$file[0] =' ' ;
return $file;
I still have the file attached to the email....
If you have a solution, thank you.
Sincerely
Gilbert
I am in Fabrik4 joomla 5, and I have a form which has its validation with two plugins sending two emails, one to the member and the other to the treasurer of the association.
In the first email, a file is attached:
//email information reservation accepted
//Definition of attached file
$file = array();
$file [0] = $_SERVER['DOCUMENT_ROOT'].'images/mcbm/documents/recepisse/'.$this->data['mcbm_adherents___recepisse'];
return $file;
It works very well...
But in the second mail plugin, this same file is attached while there is no definition in the attachment evaluation.
I tried without success to put
$file = array();
$file[0] =' ' ;
return $file;
I still have the file attached to the email....
If you have a solution, thank you.
Sincerely
Gilbert