2
0
forked from Wavyzz/dolibarr

Fix: ajout d'un niveau supplmentaire du cache du jeton

This commit is contained in:
Regis Houssin
2009-05-16 15:45:26 +00:00
parent 07c6ffb065
commit c1c1f8a4d2
244 changed files with 449 additions and 436 deletions

View File

@@ -88,7 +88,7 @@ class CMailFile
$addr_cc="",$addr_bcc="",$deliveryreceipt=0,$msgishtml=0,$errors_to='')
{
global $conf;
var_dump($to); exit;
// On definit fin de ligne
$this->eol="\n";
if (eregi('^win',PHP_OS)) $this->eol="\r\n";
@@ -211,6 +211,15 @@ class CMailFile
// comme des injections mail par les serveurs de messagerie.
$this->headers = eregi_replace("[\r\n]+$","",$this->headers);
}
else if ($conf->global->MAIN_MAIL_SENDMODE == 'simplemail')
{
// Use Simplemail library
// ------------------------------------------
require_once(DOL_DOCUMENT_ROOT."/includes/simplemail/class.mail.php");
$mail = new simplemail();
}
else if ($conf->global->MAIN_MAIL_SENDMODE == 'smtps')
{
// Use SMTPS library