WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#1188 closed defect (bug) (duplicate)

Sending mails does not work when safe mode activated

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

Description

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
16 years ago

  • Patch set to No

#2 @ryan
16 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.