![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
require Mail::Send;
$msg = new Mail::Send;
$msg = new Mail::Send Subject=>'example subject', To=>'timbo';
$msg->to('user@host'); $msg->subject('user@host'); $msg->cc('user@host'); $msg->bcc('someone@else');
$msg->set($header, @values); $msg->add($header, @values); $msg->delete($header);
# Launch mailer and set headers. The filehandle returned # by open() is an instance of the Mail::Mailer class.
$fh = $msg->open;
print $fh "Body of message";
$fh->close; # complete the message and send it
$fh->cancel; # not yet implemented
$CommentsMailTo = "perl5@dcs.ed.ac.uk"; include("../syssies_footer.inc");?>