Skip to content

Commit e80e3b4

Browse files
committed
feat(email_client): add subject parameter to sendTransactionalEmail method
- Add 'subject' parameter to the sendTransactionalEmail method in EmailClient - Update documentation to include the new 'subject' parameter
1 parent 742384d commit e80e3b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/email_client.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ abstract class EmailClient {
2020
///
2121
/// - [senderEmail]: The email address of the sender.
2222
/// - [recipientEmail]: The email address of the recipient.
23+
/// - [subject]: The subject line of the email.
2324
/// - [templateId]: The unique identifier for the dynamic template stored in
2425
/// the email service provider.
2526
/// - [templateData]: A map of dynamic data to be merged into the template.
@@ -33,6 +34,7 @@ abstract class EmailClient {
3334
Future<void> sendTransactionalEmail({
3435
required String senderEmail,
3536
required String recipientEmail,
37+
required String subject,
3638
required String templateId,
3739
required Map<String, dynamic> templateData,
3840
});

0 commit comments

Comments
 (0)