Skip to content

Commit

Permalink
Merge pull request #8310 from kenjis/docs-upgrading-email
Browse files Browse the repository at this point in the history
docs: improve "Upgrade Emails"
  • Loading branch information
kenjis authored Dec 9, 2023
2 parents 6e8564d + 7e0ddbf commit 5ccb299
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Config/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Email extends BaseConfig
public string $mailPath = '/usr/sbin/sendmail';

/**
* SMTP Server Address
* SMTP Server Hostname
*/
public string $SMTPHost = '';

Expand Down
2 changes: 1 addition & 1 deletion system/Email/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Email
public $protocol = 'mail';

/**
* STMP Server host
* STMP Server Hostname
*
* @var string
*/
Expand Down
1 change: 1 addition & 0 deletions user_guide_src/source/installation/upgrade_emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Documentations
What has been changed
=====================
- Only small things like the method names and the loading of the library have changed.
- The behavior when using the SMTP protocol has been slightly changed. You may not be able to communicate with your SMTP server properly if you use the CI3 settings. See :ref:`email-ssl-tls-for-smtp` and :ref:`email-preferences`.

Upgrade Guide
=============
Expand Down
4 changes: 3 additions & 1 deletion user_guide_src/source/libraries/email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ The settings used for the last successful send are available from the
instance property ``$archive``. This is helpful for testing and debugging
to determine that actual values at the time of the ``send()`` call.

.. _email-preferences:

Email Preferences
=================

Expand All @@ -115,7 +117,7 @@ Preference Default Value Options Description
**protocol** mail ``mail``, ``sendmail``, The mail sending protocol.
or ``smtp``
**mailPath** /usr/sbin/sendmail None The server path to Sendmail.
**SMTPHost** No Default None SMTP Server Address.
**SMTPHost** No Default None SMTP Server Hostname.
**SMTPUser** No Default None SMTP Username.
**SMTPPass** No Default None SMTP Password.
**SMTPPort** 25 None SMTP Port. (If set to ``465``, TLS will be used for the connection
Expand Down

0 comments on commit 5ccb299

Please sign in to comment.