Hallo
habe in den FritzboxUtils die Funktion FB_mail so geändert das ein Anhang mitversendet wird.
sub
FB_mail($$$)
{
my ($rcpt, $subject, $text, $attachement) = @_;
my $tmpfile = "fhem_nachricht.txt";
my $attachement = "./IP_Bild/ipcam_snapshot.jpg";
system("/bin/echo \'$text\' > \'$tmpfile\' ");
system("/sbin/mailer send -i \"$tmpfile\" -s \"$subject\" -t \"$rcpt\" -d \"$attachement"");
system("rm \"$tmpfile\"");
Log 3, "Mail sent to $rcpt";
}
Kann mir jemand sagen ob man mehrere Anhänge an eine Mail anhängen kann und wie?