public property PHPMailer::$MessageID

An ID to be used in the Message-ID header. If empty, a unique id will be generated. You can set your own, but it must be in the format "<id@domain>", as defined in RFC5322 section 3.6.4 or it will be ignored.

Type: string

See also

https://tools.ietf.org/html/rfc5322#section-3.6.4

File

inc/PHPMailer/src/PHPMailer.php, line 229

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public $MessageID = '';