Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 440 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 440 Bytes
import 'package:bravo_smtp/bravo_smtp.dart';

void main() async {
  var bravoSMTP = BravoSMTP(
      'xkeysib-xxxxxxxxxxxxxx');
    final body = Body(
    sender: User(name: 'xxxxx', email: 'xxxxxxxxxx@gmail.com'),
    to: [User(name: 'xxxxxxxx', email: 'sxxxxxxxxxxx+test@gmail.com')],
    subject: "xxxxxxxx",
    htmlContent: '<html><body><p>xxxxxxxxx </p></body></html>',
  );
 
 await bravoSMTP.sendTemplateEMAIL();
}