socketlabs 0.1.0-nullsafety.1 copy "socketlabs: ^0.1.0-nullsafety.1" to clipboard
socketlabs: ^0.1.0-nullsafety.1 copied to clipboard

outdated

An API client for the SocketLabs email service, that allows you to send emails using their REST API.

example/example.dart

import 'package:socketlabs/socketlabs.dart';

void main() async {
  final socketLabs = SocketLabsClient(serverId: 'server-id', apiKey: 'api-key');

  final message = BasicMessage(from: Email('from@test'), subject: 'Subject')
    ..to.add(Email('to@email.com'))
    ..textBody = 'Email Content'
    ..htmlBody = '<html><strong>Email Content</strong></html>';

  await socketLabs.send([message]);
}
1
likes
0
pub points
39%
popularity

Publisher

unverified uploader

An API client for the SocketLabs email service, that allows you to send emails using their REST API.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, logging, meta

More

Packages that depend on socketlabs