Email::...ailable(3)

πŸ’– NAME πŸ’–

Okay bestie, welcome to the Email::...ailable(3) page β€” the User Contributed Perl Documentation entry for Email::Sender::Transport::Failable. It's literally a wrapper that makes things fail predictably. πŸŽ€

✨ VERSION ✨

This one is rocking version 2.601. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So this transport extends Email::Sender::Transport::Wrapper, which means it must be created with a transport attribute pointing at another Email::Sender::Transport. It will proxy all email sending to that transport, but only after first deciding whether it should fail. Lowkey iconic behavior. πŸ’œ

It does this by calling each coderef in its failure_conditions attribute, which must be an arrayref of code references. Each coderef gets called with:

  • the Failable transport
  • the Email::Abstract object
  • the envelope
  • a reference to an array containing the rest of the arguments to send

If any coderef returns a true value, that value will be used to signal failure. No cap. πŸ”₯

🌸 PERL VERSION 🌸

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Ricardo Signes <cpan@semiotic.systems> β€” an actual legend. ✨

This software is copyright (c) 2024 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🌈


Okay that's the whole vibe, bestie β€” this page came from perl v5.42.0, dated 2024-01-18, and it ate every time. πŸ’–πŸ¦‹πŸ’…

πŸ“¦ where this page comes from