getOrCreateSenderEmail( )


Retrieve the sender email info by the email address, or creates a new one.

If you try to create an email with a name that already exists, this method won't return an error. Instead, the info of the existing sender email will be returned.

Method Declaration
Copy
Method Parameters
emailAddressstringRequired

Requested sender email.

Returns
Return Type:Promise<GetOrCreateSenderEmailResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?