Commit cc73efb3 authored by Nickilo's avatar Nickilo

Première version compatible SSL

parent d2758a4a
......@@ -9,7 +9,8 @@ $subject="suject";
$content="content";
$smtp="smtp ip or url"; // can be ignored depended on the php.ini configuration, see README for more information
$smtp_port="25"; // can be ignored depended on the php.ini configuration, see README for more information
$enable_ssl="0"; // can be ignored depended on the php.ini configuration, see README for more information
mail_php($login,$password,$destination,$source,$reply,$subject,$content,$smtp,$smtp_port);
mail_php($login,$password,$destination,$source,$reply,$subject,$content,$smtp,$smtp_port,$enable_ssl);
?>
\ No newline at end of file
......@@ -69,6 +69,8 @@ mail_php.mysql_base="mail_php"
mail_php.footer="0"
; Contenu du footer si active
mail_php.footerContent="Demo footer"
; TLS on (1) or off (0) : enable SSL if smtp_server defined otherwise can be choosen at function call
mail_php.enable_ssl="0"
; Debug on (1) or off (0) : print smtp session to stdout
mail_php.enable_debug="0"
; Automatically add current date to header (1) (if mail_php.enable_headers=0 )
......
......@@ -94,6 +94,7 @@ if [[ $reponse && $reponse = "y" ]];then
echo "mail_php.mysql_base=\"mail_php\"" >> $configFile
echo "mail_php.footer=0" >> $configFile
echo "mail_php.footerContent=\"Demo footer\"" >> $configFile
echo "mail_php.enable_ssl=0" >> $configFile
echo "mail_php.enable_debug=0" >> $configFile
echo "mail_php.date=0" >> $configFile
echo "" >> $configFile
......@@ -115,6 +116,7 @@ else
echo "mail_php.mysql_base=\"mail_php\"";
echo "mail_php.footer=0"
echo "mail_php.footerContent=\"Demo footer\""
echo "mail_php.enable_ssl=0";
echo "mail_php.enable_debug=0";
echo "mail_php.date=0";
echo "";
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment