Re: Sending mail from CLI to another SMTP host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>Hi all,
>Is it possible to send mail from CLI (bash, python) without any LOCAL
>SMTP installed, using SMTP on another machine.
>Care to give a glimpse of the code?
>Thank you.

But of course, just cause the smtp server you are pointed at initially
is local, interpret that as 127.0.0.1. So point to another. Most home
users don't have their own smtp server, they use their isp's...

http://heirloom.sourceforge.net/mailx.html

"Supports SMTP to send messages directly to a remote server. A local
 sendmail interface setup is thus not necessary."
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux