1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

プリザンターでさくらインターネットのメールを利用する

Posted at

はじめに

プリザンターでメールを使った事が無かったので設定してみました。
メールアドレスはさくらインターネットのメールアドレスを利用しています。

参考にしたサイト

環境

OS:Windows 11 Pro
DB:SQL Server 2019
プリザンター:1.4.6.4
メール:さくらインターネット

Mail.jsonの編集

Mail.jsonの場所は Implem.Pleasanter\App_Data\Parameters にあります。公式より必要なパラメータ情報を設定していきます。

実際に設定した値

Mail.json
{
    "SmtpHost": "example.sakura.ne.jp",
    "SmtpPort": 587,
    "SmtpUserName": "mail@example.sakura.ne.jp",
    "SmtpPassword": "パスワードを入力",
    "SmtpEnableSsl": true,
    "ServerCertificateValidationCallback": false,
    "SecureSocketOptions": null,
    "FixedFrom": null,
    "AllowedFrom": null,
    "SupportFrom": "\"Pleasanter.org\" <mail@example.sakura.ne.jp>",
    "InternalDomains": "",
    "Encoding": null,
    "ContentEncoding": null
}

設定後はIISの再起動が必要となります。

試してみる

テーブルにデータを追加し、メールを選択。

image.png

アドレス帳を選択。

image.png

ユーザーを選択し、Toボタンを選択。

image.png

先程Toで選択したユーザーが入力されている事を確認し、送信ボタンを選択します。

image.png

送信後、メールボックスにメールが送られてきていれば成功です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?