copy this into a .bat file and put the full path into the post part of pre / post job options.
couldnt be bothered to find out if i could get the job log any other way. i spent 2 days trying to get Arcserve 2000 to send smtp or exchange emails. this works for me, hope its of some use.
oh, you need to download blat and install it on the server.
sorry if its too elaborate.
craig.
------------------------------------------------------
@rem Run this from the ARCserve\log folder
@rem USE %1 for subject
echo set dayte=%%5 > the.bat
echo. | date > temp.bat
call temp.bat
del temp.bat
del the.bat
@rem The above portion of the code gets the current date by pulling a neat trick
@rem found on the web. secret lies with call statement executing the output of date command
@rem command put into temp.bat
@rem this install dir maybe different
CD c:\Program Files\ComputerAssociates\ARCserve\LOG
DIR | FIND "%dayte%">firstDir.txt
@rem This gets all the files that have been created today
FOR /F "tokens=1,4 delims= " %%i in (firstDir.txt) do @(
@echo %%j | FIND "J0" >> filteredList.txt)
@rem filters all the job files. This will break if your jobs are above J1..
@rem FIND "J" doesnt work because the TskJob file will mess you up!!!
FOR /F %%x in (filteredList.txt) DO @(
blat %%x -subject "insert your sub" -server ip.of.smtp.your.domain -f backupuser@your.domain.com -to backupuser@your.domain.com -base64
)
@rem gets the filename(s) from the filtered list and attaches them. Could not get the text
@rem into the body due to Arcserve's encoding the files. doh.
del firstDir.txt
del filteredList.txt
@rem clean up, packup and go home.