<h1>cpl_core.mailing<aclass="headerlink"href="#cpl-core-mailing"title="Permalink to this heading"></a></h1>
<sectionid="module-cpl_core.mailing.email">
<spanid="cpl-core-mailing-email"></span><h2>cpl_core.mailing.email<aclass="headerlink"href="#module-cpl_core.mailing.email"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email.</span></span><spanclass="sig-name descname"><spanclass="pre">EMail</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">header</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">subject</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">body</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">transceiver</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">receiver</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="w"></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email.EMail"title="Permalink to this definition"></a></dt>
<dt>header: list[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>]</dt><dd><p>Header of the E-Mail</p>
</dd>
<dt>subject: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Subject of the E-Mail</p>
</dd>
<dt>body: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Body of the E-Mail</p>
</dd>
<dt>transceiver: <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code></dt><dd><p>Transceiver of the E-Mail</p>
</dd>
<dt>receiver: list[<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>]</dt><dd><p>Receiver of the E-Mail</p>
<spanclass="sig-name descname"><spanclass="pre">add_header</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">header</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email.EMail.add_header"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">add_receiver</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">receiver</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email.EMail.add_receiver"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">body</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.body"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">static</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">check_mail</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">address</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">bool</span></span></span><aclass="headerlink"href="#cpl_core.mailing.email.EMail.check_mail"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_content</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">transceiver</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email.EMail.get_content"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">header</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.header"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">header_list</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.header_list"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">receiver</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.receiver"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">receiver_list</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.receiver_list"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">subject</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.subject"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">transceiver</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email.EMail.transceiver"title="Permalink to this definition"></a></dt>
<spanid="cpl-core-mailing-email-client-abc"></span><h2>cpl_core.mailing.email_client_abc<aclass="headerlink"href="#module-cpl_core.mailing.email_client_abc"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_abc.</span></span><spanclass="sig-name descname"><spanclass="pre">EMailClientABC</span></span><aclass="headerlink"href="#cpl_core.mailing.email_client_abc.EMailClientABC"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">connect</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_abc.EMailClientABC.connect"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">send_mail</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">email</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="#cpl_core.mailing.email.EMail"title="cpl_core.mailing.email.EMail"><spanclass="pre">EMail</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_abc.EMailClientABC.send_mail"title="Permalink to this definition"></a></dt>
<dt>email: <aclass="reference internal"href="#cpl_core.mailing.email.EMail"title="cpl_core.mailing.email.EMail"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.mailing.email.EMail</span></code></a></dt><dd><p>Object of the E-Mail to send</p>
<spanid="cpl-core-mailing-email-client-service"></span><h2>cpl_core.mailing.email_client_service<aclass="headerlink"href="#module-cpl_core.mailing.email_client_service"title="Permalink to this heading"></a></h2>
<spanclass="sig-name descname"><spanclass="pre">connect</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_service.EMailClient.connect"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">create</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_service.EMailClient.create"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">login</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_service.EMailClient.login"title="Permalink to this definition"></a></dt>
<dt>email: <aclass="reference internal"href="#cpl_core.mailing.email.EMail"title="cpl_core.mailing.email.EMail"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.mailing.email.EMail</span></code></a></dt><dd><p>Object of the E-Mail to send</p>
<spanid="cpl-core-mailing-email-client-settings"></span><h2>cpl_core.mailing.email_client_settings<aclass="headerlink"href="#module-cpl_core.mailing.email_client_settings"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_settings.</span></span><spanclass="sig-name descname"><spanclass="pre">EMailClientSettings</span></span><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">credentials</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.credentials"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">from_dict</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">dict</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.from_dict"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">host</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.host"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">port</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">int</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.port"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">user_name</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.user_name"title="Permalink to this definition"></a></dt>
<spanid="cpl-core-mailing-email-client-settings-name-enum"></span><h2>cpl_core.mailing.email_client_settings_name_enum<aclass="headerlink"href="#module-cpl_core.mailing.email_client_settings_name_enum"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_settings_name_enum.</span></span><spanclass="sig-name descname"><spanclass="pre">EMailClientSettingsNameEnum</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_settings_name_enum.EMailClientSettingsNameEnum"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">credentials</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'Credentials'</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings_name_enum.EMailClientSettingsNameEnum.credentials"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">host</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'Host'</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings_name_enum.EMailClientSettingsNameEnum.host"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">port</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'Port'</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings_name_enum.EMailClientSettingsNameEnum.port"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">user_name</span></span><emclass="property"><spanclass="w"></span><spanclass="p"><spanclass="pre">=</span></span><spanclass="w"></span><spanclass="pre">'UserName'</span></em><aclass="headerlink"href="#cpl_core.mailing.email_client_settings_name_enum.EMailClientSettingsNameEnum.user_name"title="Permalink to this definition"></a></dt>