Subversion Repositories Applications.annuaire

Rev

Rev 272 | Rev 274 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 272 Rev 273
Line 235... Line 235...
235
			$contenu .= "\r\n--".$limite."\r\n";
235
			$contenu .= "\r\n--".$limite."\r\n";
236
			$contenu .= "Content-Type: text/html;";
236
			$contenu .= "Content-Type: text/html;";
237
			$contenu .= "charset=\"".Config::get('appli_encodage')."\";\r\n";
237
			$contenu .= "charset=\"".Config::get('appli_encodage')."\";\r\n";
238
			$contenu .= "Content-Transfer-Encoding: quoted-printable;\r\n";
238
			$contenu .= "Content-Transfer-Encoding: quoted-printable;\r\n";
239
			$contenu .= "\r\n";
239
			$contenu .= "\r\n";
240
			$contenu .= nl2br($message_antislashe);
240
			$contenu .= $message_antislashe;
Line 241... Line 241...
241
						
241
						
Line 242... Line 242...
242
			$sujet = $this->encoderChainePourEnvoiMail($sujet);
242
			$sujet = $this->encoderChainePourEnvoiMail($sujet);
243
			
243
			
244
			if(!mail($destinataire, mb_encode_mimeheader($sujet), $contenu, $entetes)) {
244
			if(!mail($destinataire, mb_encode_mimeheader($sujet), $contenu, $entetes)) {
245
				return false;
245
				return false;
Line 246... Line 246...
246
			}
246
			}			
247
		}
247
		}