3 ms·
A 'sending mechanism' property on the email object that defaults to SMTP?
by anon1385 11y ago
A 'sending mechanism' property on the email object that defaults to SMTP?
- smanzer 11y agoThis. There may be other reasons to dislike the email.send() formulation, but it seems like the need to support other mail APIs could be handled relatively easily within this type of OO approach through the use of default values.