send email from command line

Александр Горлов mail.list.4.ag.hob at gmail.com
Wed Sep 24 08:44:59 UTC 2008


This is my 2 cent in this topic.

http://www.tneoh.zoneit.com/perl/SendMail/download/

Mentioned URL is al ink to simply Perl script that sends email via SMTP
server


Thanks

Alex

2008/9/24 Erik Christiansen <dvalin at internode.on.net>

> On Tue, Sep 23, 2008 at 10:43:52PM +0200, mierda tuti wrote:
> > Sorry I don't explain too well.
> >
> > I would like to send e-mail outside of my lan, to send email to for
> example
> > to someone gmail email
>
> Hopefully advice already posted helps with the broader concerns.
> I'll just clarify that the previous example:
>
> echo "They all had spots" | mail -s "Myscript had kittens" erik
>
> used a local destination only as a hint to test that first, both as
> a learning exercise, and to see if any problems arise. With that
> confidence, the next thing to try would be:
>
> echo "Hope this works" | mail -s "Test" mierdatuti at gmail.com
>
> If you have an MTA installed (typically postfix, on ubuntu), then it
> should just work.
>
> What happens when you try these examples?
>
> Erik
>
> --
> Why didn't they listen to the warnings about the danger from the Large
> Hadron Collider? Immediately they switched it on, the global financial
> system disappeared into a black hole. -John A'Hara in "The Age" 23.09.08
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080924/38a9b0de/attachment.html>


More information about the ubuntu-users mailing list