2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

FB_mail: Added recipient to log-message

git-svn-id: https://svn.fhem.de/fhem/trunk@1916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ulimaass 2012-10-03 11:15:56 +00:00
parent 9781c4a557
commit 3a664be6c7

View File

@ -61,7 +61,7 @@ FB_mail($$$)
system("/bin/echo \'$text\' > \'$tmpfile\' "); system("/bin/echo \'$text\' > \'$tmpfile\' ");
system("/sbin/mailer send -i \"$tmpfile\" -s \"$subject\" -t \"$rcpt\""); system("/sbin/mailer send -i \"$tmpfile\" -s \"$subject\" -t \"$rcpt\"");
system("rm \"$tmpfile\""); system("rm \"$tmpfile\"");
Log 3, "Mail sent." Log 3, "Mail sent to $rcpt";
} }