Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion user_guide_src/source/installation/upgrade_emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 </libraries/email.html#setting-email-preferences>`__ 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
============
Expand Down
2 changes: 2 additions & 0 deletions user_guide_src/source/libraries/email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Here is a basic example demonstrating how you might send email::

$email->send();

.. _setting-email-preferences:

Setting Email Preferences
=========================

Expand Down