Reference: data
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:56:34Z

#

| Chapter 14 Email Connectivity |

## 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).

Reference: new |  | Reference: dataend