Page 1 of 1
How can you attach files to e-mail?
Posted: Mon Jun 04, 2007 4:06 pm
by john.a.sutherland
I have used "motion" before, the Linux surveillance system, with that I was able to attach files, jpeg, avi,..... to my e-mails after motion was detected.
I have ZM sending me alerts now, but I want to attach the avi (movie) files to the e-mail once ffmpeg is done making them.
How can I do this?
Thanks,
John
Posted: Fri Jun 08, 2007 5:47 am
by kevin_robson
Tried this, but no luck with patch
Posted: Fri Jun 08, 2007 1:43 pm
by john.a.sutherland
The problem is I do not know how to apply the patch, tried a few times, here is the errors I get:
[root@localhost ZoneMinder-1.22.3]# patch -p1 < patch
patching file scripts/Makefile.am
Hunk #1 FAILED at 7.
Hunk #2 FAILED at 30.
2 out of 2 hunks FAILED -- saving rejects to file scripts/Makefile.am.rej
patching file scripts/Makefile.in
Hunk #1 FAILED at 166.
Hunk #2 FAILED at 189.
2 out of 2 hunks FAILED -- saving rejects to file scripts/Makefile.in.rej
patching file scripts/zmfilter.pl
Hunk #1 FAILED at 886.
1 out of 1 hunk FAILED -- saving rejects to file scripts/zmfilter.pl.rej
The next patch would create the file scripts/zmpack.pl,
which already exists! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file scripts/zmpack.pl.rej
I said "n" to the answers because I don't know what I am doing and I saw the errors above.
Any suggestions?
Thanks,
John
Posted: Mon Jun 11, 2007 11:17 am
by kevin_robson
Apparantly this is all you need to do:
cd ZoneMinder-1.22.3
patch -p1 < patchfile
but I haven't got around to it myself.
Let me know if you resolve it - I'd like to get mine set up the same way when I have time.
Posted: Wed Jun 13, 2007 5:49 am
by eug
kevin_robson wrote:Apparantly this is all you need to do:
cd ZoneMinder-1.22.3
patch -p1 < patchfile
but I haven't got around to it myself.
Let me know if you resolve it - I'd like to get mine set up the same way when I have time.
Is there a way to get it installed on a system that's already running? I use the LiveCD and would find that feature really handy!