FB_mail: Added recipient to log-message

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1916 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ulimaass
2012-10-03 11:15:56 +00:00
parent 6190628893
commit 83b88a2f61

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";
} }