start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: data Chapter 14
Email Connectivity
Next: Reference: datasend
 

dataend

 $

smtp


->dataend
()

Net::Cmd method issued after datasend to end the sending of data. Sends .\r\n to the server telling it that there's no more data coming and that it should send the message.

Here's an example that uses datasend and dataend :

@list_data = (1..10); $smtp->data(); $smtp->datasend(@list_data); $smtp->dataend();


Previous: Reference: data Perl in a Nutshell Next: Reference: datasend
Reference: data Book Index Reference: datasend

Library Navigation Links

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