On Thu, 2023-01-05 at 22:57 +0000, John Pilkington wrote: > On 05/01/2023 17:35, Patrick O'Callaghan wrote: > > On Thu, 2023-01-05 at 08:27 -0700, Sbob wrote: > > > All; > > > > > > > > > I have dusted off my perl books, I need a simple mail script to > > > send > > > an > > > email with a local attachment, I have tried various NET:SMTP > > > examples > > > but cannot get it to work. Anyone have a working example you can > > > share > > > of a simple email script that will se my email service > > > credentials > > > and > > > allow me to attach a zip file to the outgoing email? > > > > $ dnf info sendemail > > Last metadata expiration check: 4:23:59 ago on Thu 05 Jan 2023 > > 13:10:20 GMT. > > Available Packages > > Name : sendemail > > Version : 1.56 > > Release : 11.fc37 > > Architecture : noarch > > Size : 35 k > > Source : sendemail-1.56-11.fc37.src.rpm > > Repository : fedora > > Summary : Lightweight command line SMTP e-mail client > > URL : http://caspian.dotconf.net/menu/Software/SendEmail/ > > License : GPLv2+ > > Description : SendEmail is a lightweight, completely command line > > based, SMTP e-mail > > : client. It was designed to be used in bash scripts, > > batch files, Perl > > : programs and web sites, but is also quite useful in > > many other contexts. > > : > > : SendEmail is written in Perl and is unique in that > > it requires no special > > : modules. It has a straight forward interface, > > making it very easy to use. > > > > poc > > Read the package name. It's not 'sendmail' Read the package description. The OP is asking for a simple way to send email from the command line, which is what this does. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue