How to send SMS or Email automatically to customers when payment is recorded on mobile?

Please go to the more option >> click on general settings >> click on preferences >> enable send SMS and send Email on record payment >> click on update.