dvConnectSmtp function

Future<DVSmtpConnection> dvConnectSmtp(
  1. String host,
  2. int port, {
  3. required bool secure,
})

Implementation

Future<DVSmtpConnection> dvConnectSmtp(
  String host,
  int port, {
  required bool secure,
}) async =>
    throw UnsupportedError(
      'SmtpMailProvider needs raw TCP sockets and is unavailable on this '
      'target. Use one of the HTTP mail providers (Resend, SendGrid, '
      'Postmark, Mailgun, SES) for web builds.',
    );