Re: [EMAIL] Fluent interface

2023-09-29 Thread Gary Gregory
At some point in the future we will have a 2.0 and that's when to revist this issue. Feel free to create a Jira ticket to request this as a feature for a future 2.0. Gary On Fri, Sep 29, 2023, 7:47 AM Elliotte Rusty Harold wrote: > Personal opinion: it probably wasn't intentional, but please d

Re: [EMAIL] Fluent interface

2023-09-29 Thread Elliotte Rusty Harold
Personal opinion: it probably wasn't intentional, but please don't do that. It doesn't help anyone and is needless churn. Fluent methods are not better than non-fluent ones, and are in fact less semantic and harder to debug. They prioritize saving code writing over code maintainability. Not just p

Re: [EMAIL] Fluent interface

2023-09-29 Thread Mike Drob
I think the natural next question is whether we can have a major version change? Mike On Fri, Sep 29, 2023 at 6:24 AM sebb wrote: > On Fri, 29 Sept 2023 at 12:13, Filip Strajnar > wrote: > > > > Greetings, > > > > > > I've noticed that some methods on the org.apache.commons.mail.Email > > clas

Re: [EMAIL] Fluent interface

2023-09-29 Thread sebb
On Fri, 29 Sept 2023 at 12:13, Filip Strajnar wrote: > > Greetings, > > > I've noticed that some methods on the org.apache.commons.mail.Email > class provide fluent interface (examples include setCc, addBcc, > addReplyTo), and some do not (to name a few: setAuthentication, > setSmtpPort, setMailSe

[EMAIL] Fluent interface

2023-09-29 Thread Filip Strajnar
Greetings, I've noticed that some methods on the org.apache.commons.mail.Email class provide fluent interface (examples include setCc, addBcc, addReplyTo), and some do not (to name a few: setAuthentication, setSmtpPort, setMailSession). Is this intentional, or am I allowed to submit a PR tha