Re: How can I send an email from the command line?



Konstantinos Togias writes:

On 8/12/06, ad5qa <ulist@xxxxxxxxxxxxxxxxxxxx> wrote:

I tried mail and man mail and I get: bash: mail: command not found. I
will also like to hit the command line and send a quick mail.
To install the console mail utility you have to install the
mailutils package:

apt-get install mailutils

Instead of mail, you can also use nail[1] which is somewhat more
powerful.

With nail, you can easily add attachments to your mails from the
command line, for example:

$ echo "Test" | nail -a slides.pdf -s "Slides" jhair.tocancipa@xxxxxxxxx

sends the slides.pdf file to my email account.

nail also can send emails without the help of an additional MTA, among
many other cool things.

HTH,

______________
[1] pool/universe/n/nail/nail_11.25-1_amd64.deb

--
--Jhair


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • RE: fedora-list Digest, Vol 12, Issue 203
    ... >the Install programs app to get all the Development stuff at once. ... >Yes, I have tried running it from the command line, it just died with no ... >which defaulted to LVM use on a single drive. ... > O splendente, che vieni dalle sorgenti del Nilo, ...
    (Fedora)
  • New Debian31r1 Install - help me optimize - TNT2 - sudo - KDE - Xwindows
    ... of futzin with a new debian ... install, which was needed after a munged KNOPPIX install (I know, I ... the command 'dpkg-reconfigure xserver-xfree86' (which allowed me to ... trying to get the SOUND working yet..there's what seems to be a PCI ...
    (comp.os.linux.misc)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to ... That's not a registry command. ... Here I try to enter the directory where the Net Framework 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I install an application using a custom component
    ... If your command is still set up to launch cmd.exe with the path to batch file you can add "pause" command there to catch the CMD ... there is a flag (Install Shiled supported) that you can add to the setup.exe ... Use the same FBA Generic command. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to 1.1.4322, ... That's not a registry command. ... It's a command to configure a virtual app as an app which will use the .Net Framework 1.1. ...
    (microsoft.public.dotnet.framework.aspnet)