verifyAddress method

  1. @override
Future<SmtpStatusMessage> verifyAddress(
  1. SmtpClient client,
  2. String address
)
override

called on RCPT TO: before adding to envelope. Must either return an error code, or success. Address will only be added to envelope if SmtpStatusMessage.successCompleted is returned.

Implementation

@override
Future<SmtpStatusMessage> verifyAddress(
    SmtpClient client, String address) async {
  return SmtpStatusMessage.successCompleted;
}