2024-01-10 20:15:05 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="EMail" inherits="Reference" version="4.2">
|
|
|
|
<brief_description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Class that is used by the [SMTPClient] to send emails.
|
2024-01-10 20:15:05 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Class that is used by the [SMTPClient] to send emails.
|
2024-01-10 20:15:05 +01:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2024-01-11 00:03:31 +01:00
|
|
|
<method name="add_cc">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="address" type="String" />
|
|
|
|
<argument index="1" name="personal" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Add an address to the Cc section of an email.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_recipient">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="address" type="String" />
|
|
|
|
<argument index="1" name="personal" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Add an address to the recipients of an email.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cc_address" qualifiers="const">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns a cc's email address.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cc_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Return how many cc is set.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cc_data_string">
|
|
|
|
<return type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Helper emthod. Returns cc addresses formatted for the smtp protocoll.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_cc_personal" qualifiers="const">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns a cc's name.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_ccs">
|
|
|
|
<return type="Array" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns all ccs.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_email_data_string">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="email_default_sender_name" type="String" />
|
|
|
|
<argument index="1" name="email_default_sender_email" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Helper emthod. Returns the email's body formatted for the smtp protocoll.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_recipient_address" qualifiers="const">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns a recipient's email address.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_recipient_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Return how many recipient is set.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_recipient_personal" qualifiers="const">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns a recipient's name.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_recipients">
|
|
|
|
<return type="Array" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Returns all recipients.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_to_data_string">
|
|
|
|
<return type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Helper emthod. Returns the target addresses formatted for the smtp protocoll.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_cc">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Removes a cc.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_recipient">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Removes a recipient.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_cc_address">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set a recipient's email address.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_cc_personal">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set a cc's name.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_ccs">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="ccs" type="Array" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set all ccs. Should countain arrays of size 2. index 0 is address, index 1 is email.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_recipient_address">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set a recipient's email address.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_recipient_personal">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set a recipient's name.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_recipients">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="recipients" type="Array" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Set all recipients. Should countain arrays of size 2. index 0 is address, index 1 is email.
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_sender">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="address" type="String" />
|
|
|
|
<argument index="1" name="personal" type="String" />
|
|
|
|
<description>
|
2024-01-11 00:32:10 +01:00
|
|
|
Shorthand for setting [member sender_address], and [member sender_personal].
|
2024-01-11 00:03:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
2024-01-10 20:15:05 +01:00
|
|
|
</methods>
|
2024-01-11 00:03:31 +01:00
|
|
|
<members>
|
|
|
|
<member name="body" type="String" setter="set_body" getter="get_body" default="""">
|
2024-01-11 00:32:10 +01:00
|
|
|
The email's body.
|
2024-01-11 00:03:31 +01:00
|
|
|
</member>
|
2024-01-11 00:05:42 +01:00
|
|
|
<member name="sender_address" type="String" setter="set_sender_address" getter="get_sender_address" default="""">
|
2024-01-11 00:32:10 +01:00
|
|
|
The email's sender address. If you leave it empty the server default is used.
|
2024-01-11 00:05:42 +01:00
|
|
|
</member>
|
2024-01-11 00:03:31 +01:00
|
|
|
<member name="sender_personal" type="String" setter="set_sender_personal" getter="get_sender_personal" default="""">
|
2024-01-11 00:32:10 +01:00
|
|
|
The email's sender name. If you leave it empty the server default is used.
|
2024-01-11 00:03:31 +01:00
|
|
|
</member>
|
|
|
|
<member name="subject" type="String" setter="set_subject" getter="get_subject" default="""">
|
2024-01-11 00:32:10 +01:00
|
|
|
The email's subject.
|
2024-01-11 00:03:31 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
2024-01-10 20:15:05 +01:00
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|