Class Email
java.lang.Object
com.codebarrel.automation.api.email.Email
Used to represent the an email to be sent in cloud AND server.
Notes on the current usage of this API (i guess usage may change in the future):
The from field - server only
The "from" field in this object could be in multiple formats:
** basic email: person@example.com
** email with name at front: Person <person@example.com>
** email with name in quotes: "Person" <person@example.com>
** email with name at end: person@example.com (Person)
Or it could be empty.
If you would like the default, just leave this empty.
This field currently ignored in cloud due to AWS SES limitations.
The From Name field
Available in both cloud and server, however in server the from name could be built into the general "from" field or in the outgoing mail configuration default.
If this is the case this field will be ignored.