Reference documentation and code samples for the Google Cloud Chronicle Client class Email.
Email info.
Generated from protobuf message google.backstory.Email
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ from |
string
The 'from' address. |
↳ reply_to |
string
The 'reply to' address. |
↳ to |
string[]
A list of 'to' addresses. |
↳ cc |
string[]
A list of 'cc' addresses. |
↳ bcc |
string[]
A list of 'bcc' addresses. |
↳ mail_id |
string
The mail (or message) ID. |
↳ subject |
string[]
The subject line(s) of the email. |
↳ bounce_address |
string
The envelope from address. https://en.wikipedia.org/wiki/Bounce_address |
getFrom
The 'from' address.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFrom
The 'from' address.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReplyTo
The 'reply to' address.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReplyTo
The 'reply to' address.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTo
A list of 'to' addresses.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setTo
A list of 'to' addresses.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCc
A list of 'cc' addresses.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setCc
A list of 'cc' addresses.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBcc
A list of 'bcc' addresses.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setBcc
A list of 'bcc' addresses.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMailId
The mail (or message) ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMailId
The mail (or message) ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubject
The subject line(s) of the email.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setSubject
The subject line(s) of the email.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBounceAddress
The envelope from address.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBounceAddress
The envelope from address.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|