database error in email

we need to add addslashes on the email systems, when we translate the email template, with ' (apostrophe) inside the email we got a bunch of database error: like this one :

INSERT INTO `sys_sbs_queue`(`email`, `subject`, `body`) VALUES('patetkim@xxxxx.com', 'Match Notification', '
<html> <head> </ head> <body style="margin: 12px Verdana; color:#000000">

<p> <b> Bonjour patetkim(2) </ b>, </ p>



<p> Nous sommes heureux de vous informer que le profil a été ajouté ou modifié....

<br /> automatique d'e-mail, s'il vous plaît, ne répondez pas !!!</ p> </ body> </ html>')

Mysql error: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'e-mail, s'il vous plaît, ne répondez pas !!! ')' at line
1

Found error in the file
'/var/www/vhosts/xxx/httpdocs/v2/inc/classes/BxDolAlertsResponceMatch.php'
at line 82.
Called 'query' function with erroneous argument
#0.


need to check this....

Quote · 15 Dec 2009

http://www.boonex.com/trac/dolphin/ticket/1613

http://www.boonex.com/unity/forums/#topic/email-templates-php.htm

Quote · 15 Dec 2009

http://www.boonex.com/trac/dolphin/ticket/1613

http://www.boonex.com/unity/forums/#topic/email-templates-php.htm

not the same error, my error occur when the systeme tryed to add mail in queue....

Quote · 15 Dec 2009

http://www.boonex.com/trac/dolphin/ticket/1618

Rules → http://www.boonex.com/terms
Quote · 16 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.