kaisellgren/mailer

Send bulk email

Closed this issue · 1 comments

Hi, is there any example of how to send bulk email for notifications. Thank you in advance

I am not really sure, what you are looking for.

The README mentions persistent connections at the bottom:

  // Sending multiple messages with the same connection
  //
  // Create a smtp client that will persist the connection
  var connection = PersistentConnection(smtpServer);

  // Send the first message
  await connection.send(message);

  // send the equivalent message
  await connection.send(equivalentMessage);

  // close the connection
  await connection.close();

Do you need more information?