Reference: print_header (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: nntppostChapter 14
Email Connectivity
Next: Reference: remove_sig
 

print_header

$mail->print_header([\*fd])
$mail->print_body([\*fd])
$mail->print([\*fd])

Prints the header, body, or whole message to file descriptor \*fd, which should be a reference to a glob. If the file descriptor is not given, the output is sent to STDOUT:

$mail->print(\*STDOUT);  # Print message to STDOUT


Previous: Reference: nntppostPerl in a NutshellNext: Reference: remove_sig
Reference: nntppostBook IndexReference: remove_sig

Library Navigation Links

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