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


(string) (Required) Message data to send

Return Return


Source Source

File: wp-includes/class-smtp.php




Leave a Reply

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