EC-Nordbund / denomailer

A SMTP-Client implementation for deno (to send mails!)
https://deno.land/x/denomailer
MIT License
50 stars 16 forks source link

replyTo uses name instead of mail #61

Closed innovatedev-john-pope closed 1 year ago

innovatedev-john-pope commented 1 year ago

Describe the bug

Using the replyTo option on the send function doesn't work as expected.

To Reproduce

client.send({
   ...

   replyTo: 'test <test@example.com>',
})

Email will be sent with a ReplyTo: test <test>

Expected behavior

Should have a ReplyTo: test <test@example.com>

Additional context

Looks like it is using name twice instead of mail:

https://github.com/EC-Nordbund/denomailer/blob/main/client/basic/client.ts#L137

mathe42 commented 1 year ago

released in 1.5.3