/[openfoncier]/trunk/obj/consultation.class.php
ViewVC logotype

Diff of /trunk/obj/consultation.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 497 by vpihour, Fri Oct 12 15:35:11 2012 UTC revision 502 by vpihour, Mon Oct 15 16:22:36 2012 UTC
# Line 77  class consultation extends consultation_ Line 77  class consultation extends consultation_
77                 _("retour")." ".$delai." "._("mois")." -> ".                 _("retour")." ".$delai." "._("mois")." -> ".
78                 _("retour")." ".$this->valF['date_limite']."<br>";                 _("retour")." ".$this->valF['date_limite']."<br>";
79                          $this->valF['lu'] = true;                          $this->valF['lu'] = true;
                           
                         /*require("../php/phpmailer/class.phpmailer.php");  
   
                         $mail = new PHPMailer();  
                           
                         $mail->IsSMTP();                                      // set mailer to use SMTP  
                         $mail->Host = "smtp.gmail.com";  // specify main and backup server  
                         $mail->SMTPAuth = true;     // turn on SMTP authentication  
                         $mail->Username = "";  // SMTP username  
                         $mail->Password = ""; // SMTP password  
                           
                         $mail->From = "[email protected]";  
                         $mail->FromName = "Mailer";  
                         $mail->AddAddress("[email protected]", "Vi");  
                         $mail->AddReplyTo("[email protected]", "Information");  
                           
                         $mail->WordWrap = 50;                                 // set word wrap to 50 characters  
                         $mail->IsHTML(true);                                  // set email format to HTML  
                           
                         $mail->Subject = "Here is the subject";  
                         $mail->Body    = "This is the HTML message body <b>in bold!</b>";  
                         $mail->AltBody = "This is the body in plain text for non-HTML mail clients";  
                           
                         if(!$mail->Send())  
                         {  
                            echo "Message could not be sent. <p>";  
                            echo "Mailer Error: " . $mail->ErrorInfo;  
                            exit;  
                         }  
                           
                         echo "Message has been sent";*/  
80          }          }
81      }      }
82    
# Line 212  class consultation extends consultation_ Line 181  class consultation extends consultation_
181                  $form->setLib('avis_consultation','avis');                  $form->setLib('avis_consultation','avis');
182                  $form->setLib('fichier','retour d\'avis');                  $form->setLib('fichier','retour d\'avis');
183      }      }
184        
185        
186  }// fin classe  }// fin classe
187  ?>  ?>

Legend:
Removed from v.497  
changed lines
  Added in v.502

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26