forked from sharifulin/mojolicious-plugin-mail
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
73 lines (48 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
NAME
Mojolicious::Plugin::Mail - Mojolicious plugin for send mail.
Uses MIME::Lite and MIME::EncWords.
SYNOPSIS
# Mojolicious
$self->plugin(mail => {
from => '[email protected]',
encoding => 'base64',
type => 'text/html',
how => 'sendmail',
howargs => [ '/usr/sbin/sendmail -t' ],
});
# Mojolicious::Lite
plugin mail => { ... };
# in controller
$self->helper('mail',
mail => {
To => '[email protected]',
Subject => 'Test email',
Data => '<p>Привет!</p>',
}
);
See Mojolicious::Plugin::Mail.
INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Mojolicious::Plugin::Mail
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mojolicious-Plugin-Mail
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Mojolicious-Plugin-Mail
CPAN Ratings
http://cpanratings.perl.org/d/Mojolicious-Plugin-Mail
Search CPAN
http://search.cpan.org/dist/Mojolicious-Plugin-Mail/
LICENSE AND COPYRIGHT
Copyright (C) 2010 Anatoly Sharifulin
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.