You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final equivalentMessage =Message()
..from =Address(username, 'Your name 😀')
..recipients.add(Address('destination@example.com'))
..ccRecipients.addAll([Address('destCc1@example.com'), 'destCc2@example.com'])
..bccRecipients.add('bccAddress@example.com')
..subject ='Test Dart Mailer library :: 😀 :: ${DateTime.now()}'
..text ='This is the plain text.\nThis is line 2 of the text part.'
..html ='<h1>Test</h1>\n<p>Hey! Here is some HTML content</p><img src="cid:myimg@3.141"/>'
..headers = { 'Reply-To', Address('recipient2@example.com', "Rec 2") }
..attachments = [
FileAttachment(File('exploits_of_a_mom.png'))
..location =Location.inline
..cid ='<myimg@3.141>'
];
I have added a headers line to the example code above: ..headers = { 'Reply-To', Address('recipient2@example.com', "Rec 2") }
The address in the reply-to can be any address. It's not necessary to add the reply-to address to the CC list.
Let's say I send a message from the company email to a recipient1 CCing another recipient2. Can I do a replyTo: recipient2?
The text was updated successfully, but these errors were encountered: