SendAs class

Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address.

Send-as aliases correspond to the "Send Mail As" feature in the web interface.

Constructors

SendAs({String? displayName, bool? isDefault, bool? isPrimary, String? replyToAddress, String? sendAsEmail, String? signature, SmtpMsa? smtpMsa, bool? treatAsAlias, String? verificationStatus})
SendAs.fromJson(Map json_)

Properties

displayName String?
A name that appears in the "From:" header for mail sent using this alias.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDefault bool?
Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto-reply.
getter/setter pair
isPrimary bool?
Whether this address is the primary address used to login to the account.
getter/setter pair
replyToAddress String?
An optional email address that is included in a "Reply-To:" header for mail sent using this alias.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendAsEmail String?
The email address that appears in the "From:" header for mail sent using this alias.
getter/setter pair
signature String?
An optional HTML signature that is included in messages composed with this alias in the Gmail web UI.
getter/setter pair
smtpMsa SmtpMsa?
An optional SMTP service that will be used as an outbound relay for mail sent using this alias.
getter/setter pair
treatAsAlias bool?
Whether Gmail should treat this address as an alias for the user's primary email address.
getter/setter pair
verificationStatus String?
Indicates whether this address has been verified for use as a send-as alias.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited