ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgeny Yugov <yugov@scs-900.ru>
To: Artem Pastukhov <community@altlinux.ru>
Subject: [Comm] Re[2]: [Comm] Шустро помощь нужна!
Date: Mon, 9 Jun 2003 13:58:16 +0700
Message-ID: <917038034.20030609135816@scs-900.ru> (raw)
In-Reply-To: <200306091035.07644.past@yam.ru>

Здравствуйте Artem,

Monday, June 9, 2003, 1:35:07 PM, you wrote:

AP> 9 Июнь 2003 08:15, Evgeny Yugov написал:> Здравствуйте All,>> Есть список email адресов в файле в столбик... есть тело> письма... нужно разослать всем юзверям из файла имеющееся тело> ;) В идеале
AP> в поле TO хорошо б ставить майл юзверя...>> ps Скриптами знаю что моня сделать... но думаю есть способ> намного проще.
AP> #!/usr/bi/perl
AP> $message="message.txt";
AP> open(MS , $message) || die " Can't open $message $!";
AP> @message=<MS>;
AP> close MS'while (<>){s/\n//;
AP> s/\r//;
AP> open (MAIL, "|/usr/bin/mail $_") || die "Can't run mail $!";
AP> print  MAIL @message;
AP> close MAIL;
AP> }
AP> Потом сохраняете файл, например как spamsend.pl   :)потом chmod +x spamsend.pl
AP> $ spamsend.pl < mails.txt
AP> Примерно так.
Сенк мыслю понял... но сделал ужо иначе чуток ;o)

-- 
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
Registered Linux User #316667
mailto:yugov@scs-900.ru

Origin: Хоpошая кpыша слетает сама...



  reply	other threads:[~2003-06-09  6:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09  4:15 Evgeny Yugov
2003-06-09  6:35 ` Artem Pastukhov
2003-06-09  6:58   ` Evgeny Yugov [this message]
2003-06-09 16:34 ` [Comm] " Alexey Tourbin
2003-06-10  2:15   ` Evgeny Yugov

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=917038034.20030609135816@scs-900.ru \
    --to=yugov@scs-900.ru \
    --cc=community@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