rman script to send e-mail for success or failure
need help with the following script.
My RMAN LVL0 and tablespace backup sends out an e-mail with notification that backup completed and it was successful or failed. Our RMAN logs are getting very big - 14mg. Since this file is larger then 10MB, this messages are getting dropped by the Exchange servers. Please help me fix this issue, i.e. just send an e-mail with the ORA- or RMAN- error codes if failure or just a e-mail that indicates success or failure.
NOTE: this is just a part of the code -
#### Check for RMAN/ORA Errors and notify accordingly