<spanid="cpl-core-mailing-email"></span><h2>cpl_core.mailing.email<aclass="headerlink"href="#module-cpl_core.mailing.email"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email.</span></code><codeclass="sig-name descname"><spanclass="pre">EMail</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">header</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></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="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></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="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></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="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></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="n"><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">]</span></span></span><spanclass="o"><spanclass="pre">=</span></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>
<codeclass="sig-name descname"><spanclass="pre">add_header</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">header</span></span><spanclass="p"><spanclass="pre">:</span></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>
<codeclass="sig-name descname"><spanclass="pre">add_receiver</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">receiver</span></span><spanclass="p"><spanclass="pre">:</span></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></em><codeclass="sig-name descname"><spanclass="pre">body</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.body"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">static</span></em><codeclass="sig-name descname"><spanclass="pre">check_mail</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">address</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span>→<spanclass="pre">bool</span><aclass="headerlink"href="#cpl_core.mailing.email.EMail.check_mail"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get_content</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">transceiver</span></span><spanclass="p"><spanclass="pre">:</span></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></em><codeclass="sig-name descname"><spanclass="pre">header</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.header"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">header_list</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.header_list"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">receiver</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.receiver"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">receiver_list</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.receiver_list"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">subject</span></code><aclass="headerlink"href="#cpl_core.mailing.email.EMail.subject"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">transceiver</span></code><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 headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_abc.</span></code><codeclass="sig-name descname"><spanclass="pre">EMailClientABC</span></code><aclass="headerlink"href="#cpl_core.mailing.email_client_abc.EMailClientABC"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">connect</span></code><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></em><codeclass="sig-name descname"><spanclass="pre">send_mail</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">email</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="#cpl_core.mailing.email.EMail"title="cpl_core.mailing.email.EMail"><spanclass="pre">cpl_core.mailing.email.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 headline">¶</a></h2>
<codeclass="sig-name descname"><spanclass="pre">connect</span></code><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>
<codeclass="sig-name descname"><spanclass="pre">create</span></code><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>
<codeclass="sig-name descname"><spanclass="pre">login</span></code><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>
<codeclass="sig-name descname"><spanclass="pre">send_mail</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">email</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="#cpl_core.mailing.email.EMail"title="cpl_core.mailing.email.EMail"><spanclass="pre">cpl_core.mailing.email.EMail</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.mailing.email_client_service.EMailClient.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-settings"></span><h2>cpl_core.mailing.email_client_settings<aclass="headerlink"href="#module-cpl_core.mailing.email_client_settings"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_settings.</span></code><codeclass="sig-namedescname"><spanclass="pre">EMailClientSettings</span></code><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">credentials</span></code><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.credentials"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">from_dict</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></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></em><codeclass="sig-name descname"><spanclass="pre">host</span></code><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.host"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">port</span></code><aclass="headerlink"href="#cpl_core.mailing.email_client_settings.EMailClientSettings.port"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">user_name</span></code><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 headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.mailing.email_client_settings_name_enum.</span></code><codeclass="sig-name descname"><spanclass="pre">EMailClientSettingsNameEnum</span></code><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>
<codeclass="sig-name descname"><spanclass="pre">credentials</span></code><emclass="property"><spanclass="pre">=</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>
<codeclass="sig-name descname"><spanclass="pre">host</span></code><emclass="property"><spanclass="pre">=</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>
<codeclass="sig-name descname"><spanclass="pre">port</span></code><emclass="property"><spanclass="pre">=</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>
<codeclass="sig-name descname"><spanclass="pre">user_name</span></code><emclass="property"><spanclass="pre">=</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>