We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a95f2c5 commit fd0b5baCopy full SHA for fd0b5ba
lib/src/ht_email_sendgrid.dart
@@ -29,6 +29,7 @@ class HtEmailSendGrid implements HtEmailClient {
29
30
@override
31
Future<void> sendTransactionalEmail({
32
+ required String senderEmail,
33
required String recipientEmail,
34
required String templateId,
35
required Map<String, dynamic> templateData,
@@ -47,9 +48,7 @@ class HtEmailSendGrid implements HtEmailClient {
47
48
'dynamic_template_data': templateData,
49
},
50
],
- 'from': {
51
- 'email': 'noreply@example.com', // This should be a configured sender
52
- },
+ 'from': {'email': senderEmail},
53
'template_id': templateId,
54
};
55
0 commit comments