home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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 and dataend methods (inherited from Net::Cmd).