Summery Summery

Send an SMTP DATA command.

Syntax Syntax

SMTP::data( string $msg_data )

Description Description

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 with the message headers and the message body being separated by and additional . Implements rfc 821: DATA

Parameters Parameters


(Required) Message data to send

Return Return


Source Source

File: wp-includes/class-smtp.php




Leave a Reply