sendEmail method

Future<XRPCResponse<AdminSendEmailOutput>> sendEmail({
  1. required String recipientDid,
  2. required String content,
  3. String? subject,
  4. required String senderDid,
  5. String? comment,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Send email to a user's account email address.

Implementation

Future<XRPCResponse<AdminSendEmailOutput>> sendEmail({
  required String recipientDid,
  required String content,
  String? subject,
  required String senderDid,
  String? comment,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoAdminSendEmail(
  recipientDid: recipientDid,
  content: content,
  subject: subject,
  senderDid: senderDid,
  comment: comment,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);