Your hosting provider likely has disabled emailing to prevent its system being used for spamming. You should contact them to see if they will enable it for you.
If they will not, you may want to consider using a third-party service.
1
solved php code : email not send