![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
use Mail::Internet;
ARG
is optiona and may be either a file descriptor (reference to a GLOB) or a
reference to an array. If given the new object will be initialized with
headers either from the array of read from the file descriptor.
OPTIONS
is a list of options given in the form of key-value pairs, just like a hash
table. Valid options are
Mail::Header
object. If given then
Mail::Internet
will not attempt to read a mail header from ARG
, if it was specified.
Mail::Internet
will not attempt to read the body from ARG
, if it was specified.
Modify
, MailFrom
and FoldLength
may also be given.
$mail->print( \*STDOUT ); # Print message to STDOUT
Mail::Header
object which holds the headers for the current message
'-- '
within the last NLINES
of the message. If found then that line and all lines after it will be
removed. If
NLINES
is not given a default value of 10 will be used. This would be of most use
in auto-reply scripts.
FILE
is a file which contains the signature, if not given then the file
``$ENV{HOME}/.signature'' will be checked for.
The message will be sent to all addresses on the To, Cc and Bcc lines. The
SMTP host is found by attempting connections first to hosts specified in $ENV{SMTPHOSTS}
, a colon separated list, then mailhost
and localhost
.
`From '
, in particular when attempting to split a folder. This method inserts a
leading `
'> on anyline starting with `From '
$CommentsMailTo = "perl5@dcs.ed.ac.uk"; include("../syssies_footer.inc");?>