I'm using Wordpress and I realized my custom theme.

Now I'm trying to manage emails (especially those to send to a registered user and password recovery)

The problem now is that emails are not sent.

I tried this plugin too but the results are in vain.

Sometimes I receive emails but they are not configured and are sent once yes and once not and all of them even late.

How can I configure my emails via code?

I also saw the wp_mail() function but could it work in my case?

I have also tried to use wp_new_user_notification( $user_id ) but the page continues to load indefinitely and does not redirect where it should, moreover the email is not sent anyway.

I hope for your answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.