This will turn off the error reporting and allow you the proceed without errors. No mail will be sent.You need to remember to turn on error reporting when moving to a live server to ensure mail function is working.

The other option is to turn off send mail in admin/settings under the mail tab