Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#40394 new defect (bug)

Activation email not sent to new users on Windows (have come out another time)

Reported by: axewww's profile axewww Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Mail Keywords:
Focuses: Cc:

I experience this into a: windowsOS/php5.6/apache2.4
when i test an user registration, the email that inform the admin about new user is sent out, while the activation email to the user not.
so to fix it on fly, i've remove (like last time) $header that seem to cause a problem:

        //Can't use additional_parameters in safe_mode, calling mail() with null params breaks
        if (ini_get('safe_mode') or !$this->UseSendmailOptions or is_null($params)) {
            //$result = @mail($to, $subject, $body, $header);
            $result = @mail($to, $subject, $body);
        } else {
            $result = @mail($to, $subject, $body, $header, $params);
        return $result;

Change History (2)

#1 @SergeyBiryukov
7 years ago

  • Component changed from General to Mail

#2 @SergeyBiryukov
7 years ago

Related: #20970, #21738, #37881.

Last edited 7 years ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.