Name
data
Synopsis
$smtp
->data([bodydata
])
Description
Starts sending the body of the current message to the server. If specified,
bodydata can be a list or a reference to a list; the contents of the
list and the termination string .\r\n
are sent to the
server. Returns true if accepted.
If bodydata is not specified, then a true result means that the
server is ready to receive data, which must be sent with the
datasend
and dataend
methods (inherited from Net::Cmd).
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.