How can you attach files to e-mail?

Support and queries relating to all previous versions of ZoneMinder
Locked
john.a.sutherland
Posts: 15
Joined: Fri Jun 01, 2007 6:47 pm

How can you attach files to e-mail?

Post 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
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post by kevin_robson »

john.a.sutherland
Posts: 15
Joined: Fri Jun 01, 2007 6:47 pm

Tried this, but no luck with patch

Post 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
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post 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.
eug
Posts: 32
Joined: Wed Mar 14, 2007 5:50 am

Post 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!
Locked