data
$smtp
->data([bodydata
])
- 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
anddataend
methods (inherited from Net::Cmd).