1Email::Send::NNTP(3) User Contributed Perl Documentation Email::Send::NNTP(3)
2
3
4
6 Email::Send::NNTP - Post Messages to a News Server
7
9 use Email::Send;
10
11 my $mailer = Email::Send->new({mailer => 'NNTP'});
12
13 $mailer->mailer_args([Host => 'nntp.example.com']);
14
15 $mailer->send($message);
16
18 This is a mailer for "Email::Send" that will post a message to a news
19 server. The message must be formatted properly for posting. Namely, it
20 must contain a Newsgroups: header. At least the first invocation of
21 "send" requires a news server arguments. After the first declaration
22 the news server will be remembered until such time as you pass another
23 one in.
24
26 Email::Send, Net::NNTP, perl.
27
29 Current maintainer: Ricardo SIGNES, <rjbs@cpan.org>.
30
31 Original author: Casey West, <casey@geeknest.com>.
32
34 Copyright (c) 2004 Casey West. All rights reserved.
35 This module is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38
39
40perl v5.32.0 2020-07-28 Email::Send::NNTP(3)