Type Alias SmtpCheck

type SmtpCheck = {
    errorCode?: string;
    isValid?: boolean;
}
Index

Properties

Properties

errorCode?: string

Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR

isValid?: boolean

true if smtp config is correct and complete. Will return false if smtp-config does not exist at all