Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 436 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 436 Bytes
import 'package:flutter_mailer/flutter_mailer.dart';

...
...

final MailOptions mailOptions = MailOptions(
  body: 'a long body for the email <br> with a subset of HTML',
  subject: 'the Email Subject',
  recipients: ['[email protected]'],
  isHTML: true,
  bccRecipients: ['[email protected]'],
  ccRecipients: ['[email protected]'],
  attachments: [ 'path/to/image.png', ],
);

await FlutterMailer.send(mailOptions);