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:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user