Solve the problem after sending an egg, click on the activation email address to prompt your password reset link is invalid, please request a new link below to find that it was obvious that the WordPress in the activation of the link before and after the addition of <>, and the mailbox to the back of the >As part of the link. Workaround for modifying wordpress WP in Directory-login.php and wp-includes/pluggable.php Code WP-find $message in login.php.='<'. Network_site_url ("wp-login.php?action=rp&key= $key &login=". Rawurlencode ($user _login),'Login') .">\r\n"; Copy code is modified to $message.= . Network_site_url ("wp-login.php?action=rp&key= $key &login=". Rawurlencode ($user _login),'Login') ."\ r \ n"; Copy code WP-includes/find $message in pluggable.php.='<'. Network_site_url ("wp-login.php?action=rp&key= $key &login=". Rawurlencode ($user->user_login),'Login') .">\r\n\r\n"; Copy code to $message.= . Network_site_url ("wp-login.php?action=rp&key= $key &login=". Rawurlencode ($user->user_login),'Login') ."\r\n\r\n"; Copy Code
WordPress registration does not receive mail