Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1188 closed defect (bug) (duplicate)

Sending mails does not work when safe mode activated

Reported by: quidditch's profile quidditch Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: Administration Keywords:
Focuses: Cc:


If the server use the php safe mode, mails are not sent when a comment is posted even if the option is turned on. It is because in safe mode, you cannot use more than 4 args for a function. I had to erase the $more in this line of the function wp_mail:

return @mail($to, $subject, $message, $headers, $more);

And now it works. What is the use of $more ? Wp_mail does not seem to be documented in the Codex.

Change History (2)

#1 @quidditch
19 years ago

  • Patch set to No

#2 @ryan
19 years ago

  • duplicate_id changed from 0 to 855
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 60
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.