Главная страница


ru.cgi.perl

 
 - RU.CGI.PERL ------------------------------------------------------------------
 From : Artem Chuprina                       2:5020/400     03 Apr 2002  19:19:29
 To : "Alexander V. Gaiduk"
 Subject : Re: Hа: Как отправить email
 -------------------------------------------------------------------------------- 
 
 Здравствуй, Alexander V. Gaiduk.
 
 AVG> > Такой вопрос... Как отправить майл при помощи перла и sendmail.
 AVG> >
 
 AVG> $mta = "/etc/mta/sendmail";
 AVG> open(MAIL, "|$mta -oi -t -odq $to") || die "Can't open $mta";
 AVG> print MAIL "From: $from\n";
 AVG> print MAIL "Reply-to: $from\n";
 AVG> print MAIL "To: $to\n";
 AVG> print MAIL "Content-Type: text/plain; charset=\"koi8-r\"\n";
 AVG> print MAIL "Content-Transfer-Encoding: 8bit\n";
 AVG> print MAIL "Subject: Subject string in koi8-r charset\n";
 AVG> print MAIL "\n\n";
 AVG> print MAIL "Message Body in koi8-r charset\n";
 AVG> close(MAIL);
 
 Вот пользовался бы ты MIME::Lite - не забыл бы MIME-Version. Без которого это
 не MIME, и тебя имеют право не понять.
 
 -- 
 Artem Chuprina
 Communiware.net
 RFC2822: <ran@ran.pp.ru>, FIDO: 2:5020/358.49, ICQ: 13038757
 --- ifmail v.2.15dev5
  * Origin: Leninsky 45 home network (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Как отправить email   Victor   03 Apr 2002 09:04:22 
 Re: Как отправить email   Alexander V. Wolf   03 Apr 2002 10:30:57 
 Re: Как отправить email   Ilya Anfimov   04 Apr 2002 10:05:42 
 Hа: Как отправить email   Alexander V. Gaiduk   03 Apr 2002 10:37:09 
 Re: Hа: Как отправить email   Artem Chuprina   03 Apr 2002 19:19:29 
 встречный вопрос   Sadretdinova Nelly   03 Apr 2002 21:04:30 
 Re: встречный вопрос   Artem Chuprina   03 Apr 2002 21:20:59 
 Re: встречный вопрос   Artem Chuprina   04 Apr 2002 11:45:10 
 Hа: Hа: Как отправить email   Alexander V. Gaiduk   04 Apr 2002 09:51:18 
 Re: Hа: Hа: Как отправить email   Victor Wagner   04 Apr 2002 10:18:07 
 Re: Как отправить email   Victor   06 Apr 2002 08:52:13 
 Re: Как отправить email   Alexander V. Artemyev   03 Apr 2002 10:22:42 
 Re: Как отправить email   Artem Chuprina   03 Apr 2002 19:17:25 
 Re: Как отправить email   Alexander V. Artemyev   04 Apr 2002 10:13:58 
 Re: Как отправить email   Artem Chuprina   04 Apr 2002 11:49:18 
 Re: Как отправить email   Alexander V. Artemyev   04 Apr 2002 12:07:55 
 Re: Как отправить email   Artem Chuprina   04 Apr 2002 12:45:38 
 Re: Как отправить email   Alexander V. Artemyev   04 Apr 2002 12:58:08 
 Re: Как отправить email   Artem Chuprina   04 Apr 2002 14:19:09 
 Re: Как отправить email   Alexander V. Artemyev   04 Apr 2002 15:10:52 
 Re: Как отправить email   Ilya Anfimov   04 Apr 2002 20:26:34 
 Re: Как отправить email   Alexander V. Artemyev   05 Apr 2002 09:56:24 
 Re: Как отправить email   Ilya Anfimov   05 Apr 2002 14:01:34 
 Re: Как отправить email   Alexander V. Artemyev   05 Apr 2002 18:55:58 
 Re: Как отправить email   Ilya Anfimov   05 Apr 2002 21:03:54 
 Как отправить email   Ruslan Bondarev   04 Apr 2002 20:57:21 
Архивное /ru.cgi.perl/1445431162cdd.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional