I've created a registration system using CS4 + ADDT 1.
The website is a multilinguage one so I devloped it using session checking and include the related language file.
ok. it works.
Now I need to customize the send e-mail behaviour so that it will send an e-mail with a dynamic subject.
The subject text is coming from a php variable ($myvariable['myvar']).
I changed the line:
Code: Select all
$emailObj->setSubject("this is the subject I would like to customize");
Code: Select all
$emailObj->setSubject($myvariable['myvar']);
Please note that the include is "included" at the top of the file so it should be available to the tng engine.
But probably I use the wrong syntax to do this.
Is there someone that knows the right syntax to do something similar?
TIA
tony