SMTP::data

SummerySummery

Send an SMTP DATA command.

Syntax

SMTP::data( string $msg_data )

DescriptionDescription

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

ParametersParameters

$msg_data

(string) (Required) Message data to send

ReturnReturn

(boolean)

SourceSource

File: wp-includes/class-smtp.php


			
Scroll to Top