From 854fefbacfe930734d6c6ebe02fff927121f9546 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 30 Nov 2021 09:21:06 +0900 Subject: [PATCH] docs: fix 404 link --- user_guide_src/source/installation/upgrade_emails.rst | 2 +- user_guide_src/source/libraries/email.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/user_guide_src/source/installation/upgrade_emails.rst b/user_guide_src/source/installation/upgrade_emails.rst index 41778027dc30..d64a6bb2afea 100644 --- a/user_guide_src/source/installation/upgrade_emails.rst +++ b/user_guide_src/source/installation/upgrade_emails.rst @@ -22,7 +22,7 @@ Upgrade Guide 1. Within your class change the ``$this->load->library('email');`` to ``$email = service('email');``. 2. From that on you have to replace every line starting with ``$this->email`` to ``$email``. 3. The methods in the Email class are named slightly different. All methods, except for ``send()``, ``attach()``, ``printDebugger()`` and ``clear()`` have a ``set`` as prefix followed by the previous method name. ``bcc()`` is now ``setBcc()`` and so on. -4. The config attributes in ``app/Config/Email.php`` have changed. You should have a look at the `Email Class Documentation `__ to have a list of the new attributes. +4. The config attributes in **app/Config/Email.php** have changed. You should have a look at the :ref:`setting-email-preferences` to have a list of the new attributes. Code Example ============ diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst index f57f3cf93d8d..a10b3d9bf6ca 100644 --- a/user_guide_src/source/libraries/email.rst +++ b/user_guide_src/source/libraries/email.rst @@ -44,6 +44,8 @@ Here is a basic example demonstrating how you might send email:: $email->send(); +.. _setting-email-preferences: + Setting Email Preferences =========================