Reference: data (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: newChapter 14
Email Connectivity
Next: Reference: dataend
 

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


Previous: Reference: newPerl in a NutshellNext: Reference: dataend
Reference: newBook IndexReference: dataend

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.