# 8) E-mail server configuration for work with Ozols TMS

1. [Gmail settings](#bkmrk-1.-to-send-gmail-ema)
2. [Microsoft Settings](#bkmrk-microsoft-e-pastu-no)

##### <span class="">1. To send Gmail emails from within OZOLS TMS, follow these steps:</span>

1\) Open a Google account and authorize:

[https://myaccount.google.com/](https://translate.google.com/website?sl=lv&tl=en&hl=en-US&client=webapp&u=https://myaccount.google.com/)

2\) Opens the **Security section**

[![image-1654694742407.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654694742407.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654694742407.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

3\) Activate **two-step** authentication (a confirmation code will be sent to the phone)

[![image-1654695554505.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654695554505.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654695554505.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

  
4\) Select App passwords

[![image-1654695675663.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654695675663.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654695675663.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

4\) Choose Other (Custom name)

[![image-1654695357907.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654695357907.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654695357907.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

5\) Type "Ozols" in the window and press **GENERATE**

[![image-1654695857759.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654695857759.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654695857759.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

5\) A gmail password for the OZOLS TMS system is created

[![image-1654696080380.png](https://ozols.lv/doc/uploads/images/gallery/2022-06/scaled-1680-/image-1654696080380.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-06/image-1654696080380.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)

5\) This password must be entered in the user's email settings in OZOLS TMS by following the [instructions here.](https://ozols.lv/doc/books/ozols-tms-english/page/5-e-mail-settings)

##### 2. To send Microsoft e-mails from OZOLS TMS, you must perform the following steps:<svg class="svg-icon" data-icon="link" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"></svg>

1. Open the following link and sign in to your Microsoft account:  
    [https://mysignins.microsoft.com/security-info](https://translate.google.com/website?sl=lv&tl=en&hl=en&client=webapp&u=https://mysignins.microsoft.com/security-info)  
    [![image-1663850468726.png](https://ozols.lv/doc/uploads/images/gallery/2022-09/scaled-1680-/image-1663850468726.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-09/image-1663850468726.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp)
2. [![image-1747052238150.png](https://ozols.lv/doc/uploads/images/gallery/2025-05/scaled-1680-/image-1747052238150.png)](https://ozols.lv/doc/uploads/images/gallery/2025-05/image-1747052238150.png)
3. Select &gt; Add method &gt; App password  
    [![image-1663850528591.png](https://ozols.lv/doc/uploads/images/gallery/2022-09/scaled-1680-/image-1663850528591.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-09/image-1663850528591.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp)
4. Copy the password created by Microsoft
    
    [![image-1663850674227.png](https://ozols.lv/doc/uploads/images/gallery/2022-09/scaled-1680-/image-1663850674227.png)](https://doc-ozols-lv.translate.goog/uploads/images/gallery/2022-09/image-1663850674227.png?_x_tr_sl=lv&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp)
5. This password must be entered in the user's email settings in OZOLS TMS by following the [instructions here.](https://ozols.lv/doc/books/ozols-tms-english/page/5-e-mail-settings)