NAME
Mojolicious::Plugin::Mail - Mail Mojolicious Plugin using MojoX::Renderer::Mail
SYNOPSIS
# Mojolicious
$self->plugin(mail => {
from => 'sharifulin@gmail.com',
encoding => 'base64',
how => 'sendmail',
howargs => [ '/usr/sbin/sendmail -t' ],
});
# Mojolicious::Lite
plugin mail => { ... };
# in controller
$self->helper(mail => {
mail => {
To => '"Анатолий Шарифулин" sharifulin@gmail.com',
Subject => 'Тест письмо',
Type => 'text/html',
Data => "<p>Привет!</p>",
},
attach => [ ... ],
});
DESCRIPTION
Mojolicous::Plugin::Mail is a plugin to send mail using MojoX::Renderer::Mail.
METHODS
Mojolicious::Plugin::Mail inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register plugin hooks in Mojolicious application.
SEE ALSO
MojoX::Renderer::Mail, Mojolicious, Mojolicious::Guides, http://mojolicious.org.
AUTHOR
Anatoly Sharifulin <sharifulin@gmail.com>
BUGS
Please report any bugs or feature requests to bug-mojolicious-plugin-mail at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.htMail?Queue=Mojolicious-Plugin-JsonToXml. We will be notified, and then you'll automatically be notified of progress on your bug as we make changes.
Github
http://github.com/sharifulin/MojoX-Renderer-Mail/tree/master
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.htMail?Dist=MojoX-Renderer-Mail
AnnoCPAN: Annotated CPAN documentation
CPANTS: CPAN Testing Service
CPAN Ratings
Search CPAN
COPYRIGHT & LICENSE
Copyright (C) 2010 by Anatoly Sharifulin.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 50:
Non-ASCII character seen before =encoding in ''"Анатолий'. Assuming UTF-8