Am 02.08.2018 um 00:58 schrieb Larry Garfield: > On Sunday, July 29, 2018 4:07:49 AM CDT designc...@gmail.com wrote: >> I think it would be a good idea to have a set of interfaces to create a >> standard for email libraries (such as PHPMailer, SwiftMailer, etc.); anyone >> agree? > > In concept it sounds similar to PSR-7/PSR-17. You'd have a value object for > the email message, and a fronting interface for a thing that sends a message. > > Whether there's value to that or not would depend mainly on if PHPMailer, > SwiftMailer, etc. were interested in standardizing on such an interface. If > so, yes. If they're not interested, then there wouldn't be much point to it.
Actually, the identical data structure is useful for social media posts and usenet or forum messages. So a generic interface for handling that kind of messages could be very useful. Regards, Niels -- | New Stars on the Horizon: GreenCape · nibralab · laJoom | | http://www.bsds.de · BSDS Braczek Software- und DatenSysteme | | Webdesign · Webhosting · e-Commerce · Joomla! Content Management | ------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+unsubscr...@googlegroups.com. To post to this group, send email to php-fig@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/74641e7b-f412-e318-1e6f-85474e1ef5f0%40bsds.de. For more options, visit https://groups.google.com/d/optout.