Download the PHP package okutani-t/nphpmailer without Composer

On this page you can find all versions of the php package okutani-t/nphpmailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nphpmailer

NPHPMAILER

PHPMailerを日本語で便利に使うラッパークラス

Description

NPHPMailerは、日本語メールをPHPMailerで送信する際に設定するべき「内部エンコーディング」や「文字コードの指定」を内部で設定してくれるラッパークラスです。また、チェーンメソッドを利用して送信できるので、コード量を少なくしてくれます。

Usage

以下の形でメールを送信する。

具体的には、次のように利用する。

HTMLメール

HTMLメールを利用する場合は以下のメソッドを利用します。

添付ファイル

添付ファイルは以下のメソッドを使います。

CC, BCC

CC, BCCは以下。

文字コード

文字コードを変更する場合は以下。デフォルトはUTF-8。

エンコード

エンコードを変更する場合は以下。デフォルトはbase64。

SMTPデバッグモード

SMTPデバッグモードを利用したい場合は以下。

Install

composerを使って導入する。ちなみに、NPHPMailer導入時に最新版のPHPMailerが導入されるので、PHPMailerの記述はいらない。

composer.jsonに以下を記述。

composer installで導入。

あとは使いたい場所でrequire&useしてあげればOK。

Contribution

バグを見つけた場合や追加実装をおこなう場合、以下の手順でプルリクエストを送ってください。

1. フォーク&クローン

2. ブランチを切る

3. 変更をコミット

4. テスト

なお、テスト内容は 以下に記述してください。

5. プルリクエストを作成

LICENCE

LGPL-2.1

Author

http://okutani.net


All versions of nphpmailer with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
phpmailer/phpmailer Version ~5.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package okutani-t/nphpmailer contains the following files

Loading the files please wait ....