Support passing settings as an argument, not metadata
michaelklishin opened this issue · 2 comments
Some functions do not preserve metadata which is lost silently. It is incredibly confusing to beginners.
The decision to use metadata for stuff as important as connection parameters was a mistake. Please get rid of it and use a regular argument.
I agree with this.
Hey, meta was all the rage in 2009! 😅
Connection parameters aren't important if you're relying on your system to provide a sendmail-compatible interface for you, so they seemed truly meta at the time. I agree, however, that meta never really got traction and can be confusing for the reason you mention, so we added an arity to send-message
a long time ago (example). The mistake was probably not modernizing the docs too. I imagine most people probably connect to an SMTP service nowadays.