Email::...Sendmail(3)

πŸ“¦
version 2.202.0 Β· 4 versions
, in opensuse-leap 16.0

πŸ’Œ Email::Send::Sendmail(3) β€” the sendmail mailer for Email::Send

ok so this is a page from the User Contributed Perl Documentation, bestie. It's giving "small module, big job" energy and honestly? iconic.


✨ NAME ✨

Email::Send::Sendmail β€” Send Messages using sendmail. that's it, that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

the group-chat version of "how do I use this":

use Email::Send;

Email::Send->new({mailer => 'Sendmail'})->send($message);

literally three lines and your message is out the door πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this mailer for Email::Send uses sendmail to send a message. that's the whole personality.

it does not try hard to find the executable. no hunting, no searching, no detective work β€” it just calls sendmail and expects it to be in your path. main character energy fr fr. πŸ™ˆ

so if that's not the case (like, sendmail isn't chilling in your PATH), or you want to explicitly define the location of your executable, just alter the $Email::Send::Sendmail::SENDMAIL package variable:

$Email::Send::Sendmail::SENDMAIL = '/usr/sbin/sendmail';

boom. problem solved. no cap. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, iykyk:

  • Email::Send
  • perl

πŸ’– AUTHOR πŸ’–

Casey West, <casey@geeknest.com>.


🌈 CONTRIBUTORS 🌈

  • Chase Whitener, <capoeirab@cpan.org>.
  • Ricardo SIGNES, <rjbs@cpan.org>.

these two really said "we'll help" and honestly? we stan. 🫢


Copyright (c) 2004 Casey West. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

okay so that's the legal bit and you do have to actually respect it, bestie β€” free software doesn't mean "no rules", it means "same terms as Perl itself". periodt. ⭐

and that's the whole page!! 🧚 this version lives in perl v5.42.0, dated 2024-08-17 β€” so if you're reading it way later, hi, hope your sendmail is still in your PATH πŸ’€πŸ’œ bye bestie!! 🌸

πŸ“¦ where this page comes from