mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 00:52:03 +01:00 
			
		
		
		
	Configuration du Dockerfile et support de l'envoi de mails
This commit is contained in:
		@@ -9,8 +9,8 @@ class Mailer
 | 
			
		||||
		$content = preg_replace("#{URL_BASE}#", $URL_BASE, $content);
 | 
			
		||||
		$content = preg_replace("#{YEAR}#", $YEAR, $content);
 | 
			
		||||
 | 
			
		||||
		$headers = "From: " . $from . "@" . $MAIL_DOMAIN . "\r\n";
 | 
			
		||||
		$headers .= "Reply-To: contact@" . $MAIL_DOMAIN . "\r\n";
 | 
			
		||||
		$headers = "From: \"Contact TFJM²\" <" . $from . "@" . $MAIL_DOMAIN . ">\r\n";
 | 
			
		||||
		$headers .= "Reply-To: \"Contact TFJM²\" <contact@" . $MAIL_DOMAIN . ">\r\n";
 | 
			
		||||
		$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
 | 
			
		||||
 | 
			
		||||
		mail($email, $subject, $content, $headers);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user