Email Attributes
The <Email> verb sends an Email message, during a phone call.
Name
Allowed Values
Default Value
State
to
Email address of receiver
None
obligatory
cc
Multiple Email addresses
None
optional
Bcc
Multiple Email addresses
None
optional
from
Email address of sender
None *
obligatory
Subject
Subject text
“calls.teleapi Email Service”
optional
To.The to attribute takes a valid email address as a value. calls.teleapi will send an email message to this address. If “to” is not set, an exception will be thrown. There is no default value.
Cc.The cc attribute permits sending multiple emails to various email addresses as CC. calls.teleapi will send an email message to each email address. The 'cc' attribute is optional. When using cc, all cc email addresses will be visible to email recipients. Example: "[email protected], [email protected], [email protected]"
Bcc. The bcc attribute permits sending multiple emails to various email addresses as BCC. calls.teleapi will send an email message to each email address. The 'bcc' attribute is optional. Using Bcc will hide the email addresses of the various recipients.. Example: "[email protected], [email protected], [email protected]"
From. The from attribute takes a valid email address. calls.teleapi and uses it to set the “from” argument for the email session used to send the email. In some email services (e.g. Mailgun - http://www.mailgun.com/) is possible to associate various email addresses to the same service account. This attribute is used to annotate which address to use for the “from” email session. If “from” is not set, an exception will be thrown. There is no default value.

Nesting

The <Email> verb cannot have any other verbs or nouns nested.
1
<Response>
2
<Email from=“****@gmail.com” to=“****@hotmail.com” cc=[email protected], [email protected], [email protected] subject=“This is the subject”>
3
This is the body!!
4
</Email>
5
</Response>
Copied!

Example

Example of how to use the verb:
1
<Response>
2
<Email from=“****@gmail.com” to=“****@hotmail.com” cc=[email protected], [email protected], [email protected] subject=“This is the subject”>
3
This is the body!!
4
</Email>
5
</Response>
6
Copied!
Last modified 1yr ago
Copy link