🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #242

Re: Wys³anie poczty

#242
From: Marcin Benke
Date: Tue, 13 May 1997 07:09
20 lines
1261 bytes
In article <01bc5e0d$aaceda00$0e01a8c0@ic_4.botar.com.pl> 
"ic_4" <ic4@cafe.bxsoft.rzeszow.pl> writes:

   W jaki sposób wysłać pocztę do użytkownika ze skryptu?

Jak to w PERLu, jest wiele sposobow. Jeden z nich jest taki

	open MAIL, "|/bin/mail $user" ;

	print MAIL "Dear Sir,\n\n" ;
	# Teraz print tresc listu
	print MAIL "Sincerely,\n" ;
	close MAIL ;

A moze juz pora na pl.comp.lang.perl FAQ ?

Pozdrawiam,
		Marcin Benke
----------------------------------------------------------------------------
"Calm down, it's only ones and zeros!" -  DJ Delorie
Technical Details
Message-ID: <omohafetlu.fsf_-_@herbata.mimuw.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!not-for-mail
References: <01bc5e0d$aaceda00$0e01a8c0@ic_4.botar.com.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!not-for-mail
From: ben@herbata.mimuw.edu.pl (Marcin Benke)
Newsgroups: pl.comp.lang.perl
Subject: Re: Wys³anie poczty
Date: 13 May 1997 09:09:17 +0200
Organization: Institute of Informatics, Warsaw University
Lines: 24
Sender: ben@herbata.mimuw.edu.pl
Message-ID: <omohafetlu.fsf_-_@herbata.mimuw.edu.pl>
References: <01bc5e0d$aaceda00$0e01a8c0@ic_4.botar.com.pl>
NNTP-Posting-Host: herbata.mimuw.edu.pl
Mime-Version: 1.0
In-reply-to: "ic_4"'s message of 11 May 1997 13:19:29 GMT
X-Newsreader: Gnus v5.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit