Modification envoi mail

This commit is contained in:
Michael RICOIS 2010-02-15 10:50:44 +00:00
parent 32520e8649
commit faf9e048fa

View File

@ -28,7 +28,7 @@ if(isset($company))
<h1 class="titre">IDENTIT&Eacute; INTERNATIONALE DE L'ENTREPRISE</h1>
<table >
<table>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Fiche identité simplifié<br/></td>
@ -65,10 +65,9 @@ if(isset($company))
if ($product->ServiceSpeed == 'ImmediateWithUpdate' && $product->Type == 'Database' && $product->Level == 3 ){
require_once 'phpmailer/class.phpmailer.php';
$mail = new PHPMailer();
$mail->IsSendmail();
$mail->From = "contact@scores-decisions.com";
$mail->FromName = "Serveur SD-13408";
$mail->Host = "mail.scores-decisions.com";
$mail->Mailer = "smtp";
$mail->Subject = "Rapport International";
$body = "ImmediateWithUpdate disponible\n";
$body .= "Identifiant : ".$identifier."";
@ -113,10 +112,9 @@ if(isset($company))
{
require_once 'phpmailer/class.phpmailer.php';
$mail = new PHPMailer();
$mail->IsSendmail();
$mail->From = "contact@scores-decisions.com";
$mail->FromName = "Serveur SD-13408";
$mail->Host = "mail.scores-decisions.com";
$mail->Mailer = "smtp";
$mail->Subject = "Rapport International";
$body = "Rapport international disponible dans un autre format que le XML\n";
$body .= "Identifiant : ".$identifier."";
@ -404,18 +402,19 @@ if(isset($company))
*/
?>
</div>
<?php
}else{
?>
<div id="center">
<table>
<tr>
<td width="30">&nbsp;</td>
<td colspan="2" class="StyleInfoData">Aucune information disponible</td>
</tr>
</table>
</div>
<?php
}
?>
</div>