Mail Interceptor to Stop Sending Mails From Development Environment
Sometimes it can be pretty frustrating to test out application while receiving a lot of emails from the development environment. Its simply easy to stop sending the emails from development env itself.
Create a custom
1 2 3 4 5 6 7
delivering_email method defines whether the mail should be delivered or not.
require the file and include it to the
Restart the code and enjoy the application with no more mails.
Happy Coding :)