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:
parent
9781c4a557
commit
3a664be6c7
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user