From: Henri Bourbon <npecca@yahoo.com>
To: "\"ðÒÏËÏÐØÅ× å×ÇÅÎÉÊ\"" <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Re: [mdk-re] ðÒÏÓÔÏÊ ÐÏÞÔÏ×ÙÊËÌÉÅÎÔ
Date: Tue Aug 21 18:27:02 2001
Message-ID: <616346756.20010821182722@yahoo.com> (raw)
In-Reply-To: <001401c12943$032468f0$5a0aa8c0@john>
Monday, August 20, 2001, 10:40:33, "Прокопьев Евгений" wrote:
>> > Скажите, есть под линукс какой-нибудь простой почтовый клиент,
> работающий
>> > из командной строки (чтоб можно было раз в неделю, к примеру, посылать
>> > письмо автоматом), но не требующий smtp сервера?
>> Можно самому написать на Perl'е 5 строк с использованием модуля
> Mail::Sender
>> (взять на CPAN). Он пошлет письмо через любой инетовский smtp-сервер.
> Я в перле вообще никак. Если есть что-то готовое в виде этих пяти строк,
> пришлите, пожалуйста
Я не думаю, что для отсылки письма раз в неделю нужен Perl, по крайней мере,
если вы не разбираетесь в Perl. Но раз пошла такая пьянка...
#!/usr/bin/perl -w
use strict;
my $recipient = 'Putin@mail.ru (Vladimir Putin)'; # Адресат
my $msg = <<EOT;
Date: Mon, 20 Aug 2001 12:59:23 +0400
From: npecca\@yahoo.com (mutt lover)
Message-ID: <Very-Important-Message-No243\@HB>
To: $recipient
Subject: Let's go fishing
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 8bit
Вован, поехали на выходных чиста оттянемся, рыбки половим, а?
EOT
open(MAIL, "| /usr/sbin/sendmail -t") or die "Could not run sendmail!";
print(MAIL $msg);
close(MAIL) or die;
print "Sent ok\n";
--
HB
prev parent reply other threads:[~2001-08-21 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-20 9:48 ` [mdk-re] Re: [mdk-re] Простой почтовый клиент cornet
2001-08-20 10:07 ` [mdk-re] Простой почтовыйклиент Sergei
2001-08-20 10:39 ` [mdk-re] " Прокопьев Евгений
2001-08-21 18:27 ` Henri Bourbon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=616346756.20010821182722@yahoo.com \
--to=npecca@yahoo.com \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git