PHPMailer::mailPassthru

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Call mail() in a safe_mode-aware fashion.

Syntax Syntax

PHPMailer::mailPassthru( string $to, string $subject, string $body, string $header, string $params )

Description Description

Also, unless sendmail_path points to sendmail (or something that claims to be sendmail), don’t pass params (not a perfect fix, but it will do)

Parameters Parameters

$to

(string) (Required) To

$subject

(string) (Required) Subject

$body

(string) (Required) Message Body

$header

(string) (Required) Additional Header(s)

$params

(string) (Required) Params

Return Return

(boolean)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.