Email-Sender-0.093380 > Email::Sender
Email-Sender-0.093380

名前

Email::Sender - 電子メールを送信するためのライブラリ

VERSION

version 0.093380

OVERVIEW

Email::Sender replaces the old and sometimes problematic Email::Send library, which did a decent job at handling very simple email sending tasks, but was not suitable for serious use, for a variety of reasons.

Most users will be able to use Email::Sender::Simple to send mail. Users with more specific needs should look at the available Email::Sender::Transport classes.

Documentation may be found in Email::Sender::Manual, and new users should start with Email::Sender::Manual::QuickStart.

Email::Senderは、古くて様々な問題があるEmail::Sendライブラリを置き換えるものです。 Email::Sendは、非常に簡単に使え、適切に動いてはいましたが、様々な理由で本格的な 使用には適していませんでした。

電子メールを送信する用途としては、大半の場合にはEmail::Sender::Simpleが適しているでしょう。 特定の用途では、Email::Sender::Transportクラスの使用を検討してください。

Email::Sender::Manualにドキュメントがあります。 また、すぐに使い始めたい人にはEmail::Sender::Manual::QuickStartも用意しています。

IMPLEMENTING

Email::Sender itelf is a Moose role. Any class that implements Email::Sender is required to provide a method called send. This method should accept any input that can be understood by Email::Abstract, followed by a hashref containing to and from arguments to be used as the envelope. The method should return an Email::Sender::Success object on success or throw an Email::Sender::Failure on failure.

Email::Sender自身はMooseロールです。Email::Senderを実装するクラスは、 sendを呼ぶメソッドを提供する必要があります。このメソッドは、 電子メールを作成するときにハッシュリファレンスで構成されたtofrom引数を使った Email::Abstractで理解できるどのような入力も受け入れるべきです。

作者

  Ricardo Signes <rjbs@cpan.org>

コピーライト & ライセンス

This software is copyright (c) 2009 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.