Email::...Sendmail(3)
π 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::Sendperl
π 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 AND LICENSE π
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
- opensuse-leap 16.0: perl-Email-Send 2.202.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms