Error trapping for sc_send_mail_api

Hi all,

Quick question. I’m calling the sc_send_mail_api from a blank app using ajax jquery. I’ve tried hunting around for documentation on the sc_send_mail_api regarding error handling, but no luck to date. Is anyone able to shed light on whether I can return a specific error if the sc_send_mail_api fails.

Thanks in advance :slight_smile:

I am having this issue too. Any update on a solution?

I had the same issue recently.

Using phpmailer was the solution.
This library returns detailed error messages if you switch on the debug mode level while sending emails.

Best regards

Gunter Eibl
Scriptcase Coaching

Can please help how to use php mailer?