Sending Mail from the CLI

GĂ©rard BIGOT gerard.bigot at gmail.com
Mon Feb 26 09:53:19 UTC 2007


On 2/26/07, Amichai Rotman <amichai at iglu.org.il> wrote:
>
> Hi Folks!
>
> I am connected to my home from work using an SSH terminal.
>
> I would like to compress a file and send it to an e-mail address from the
> CLI.
>
> How do I do that? I know it's possible....
>
> Thanks!
>

yes, it's possible.

Just telnet to your smtp server. Smth like telnet <smtp server> <smtp port
or ssl smtp port>

and

helo <email@>
from <your email@>
rcpt to <dest email@>
....

read the email RFC, everything is described.

G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070226/08ce6b71/attachment.html>


More information about the ubuntu-users mailing list