Send-as aliases represent the email addresses an account can send mail from. Each account always has at least one alias to represent the primary email address of the account.
Send-as aliases correspond to the "Send mail as" feature in the web interface.
Aliases are also used to manage signatures for an account. Basic understanding of send-as aliases are required for you to be able to change email signatures. The above video shows you how to loop through send-as aliases and modify the signature for a user's primary email address.
For information about how to
create,
list,
get,
update,
or delete aliases,
see the
SendAs
reference.
Creating and verifying aliases
You must create aliases prior to use. In some cases, users must also verify ownership of the alias.
If Gmail requires user verification for an alias, the alias is returned with the
status pending
. A verification message is automatically sent to the
target email address. The owner of the email address must complete the verification
process before it can be used.
Aliases that do not require verification have a verification status of accepted
.
Use the verify method to resend the verification request if needed.
SMTP settings
Aliases for external addresses should send mail through a remote SMTP
mail sending agent (MSA). To configure the SMTP MSA for an alias, use
the smtpMsa
field to provide the connection details.
Managing signatures
You may also configure email signatures for each alias. For example, to set the signature for the user's primary address: