prevent joomla from stripping @ symbol - Joomla! Forum - community, help and support
hi,
i developing first module on joomla. module simple registration forms sending information via email.
within have text box asks user type email address. problem when retrieve textbox value on helper class, @ symbol removed string, how can prevent this.
the code is:
thanks in advance help.
i developing first module on joomla. module simple registration forms sending information via email.
within have text box asks user type email address. problem when retrieve textbox value on helper class, @ symbol removed string, how can prevent this.
the code is:
code: select all
<input type="text" class="textbox" id="tbemail"
name="tbemail" autocomplete="off" />code: select all
$mailer=& jfactory::getmailer();
$mailer->ishtml(true);
$mailer->setsender($params->get('tbemailfrom'));
$mailer->addrecipient($params->get('tbemailto'));
$mailer->setsubject($params->get('tbsubject'));
$mailer ->encoding = 'base64';
$mailer->setbody($tbemail);
$send =& $mailer->send();thanks in advance help.
i wasn't aware stripped @ symbol, should post variable that's populated full string?
where's rest of code?
where's rest of code?
Comments
Post a Comment