PHPMailer\PHPMailer\SMTP::data
Send an SMTP DATA command.
Issues a data command and sends the msg_data to the server, finializing the mail transaction. $msg_data is the message that is to be send with the headers. Each header needs to be on a single line followed by a <CRLF> with the message headers and the message body being separated by an additional <CRLF>. Implements RFC 821: DATA <CRLF>.
Signature
public function data(string
$msg_data )
Parameters
$msg_data
— string- Message data to send
Returns
- bool