I am getting the error Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: ' etc. etc. etc. and it is a real eye sore on the page.
So I want to capture the error or suppress it or something - and then have it be returned to the form so the user can be told there is an error and to re-input their email address. All this will be neat and tidy and not the mess of an error it is now.
Does anyone know how to do this?
Thanks