![]() |
|
||||||||||
|
|||||
|
#!/usr/local/bin/perl
$adressto='adsdd'; $adressfrom='dsdsd'; print "Content-type: text/html\n\n"; print "<html><body>\n"; print "Sending message<br>\n"; print "</body></html>\n"; $mailprog = 'sendmail.exe'; open (MAIL, "|$mailprog -t"); print MAIL "To: <$adressto>\n"; print MAIL "From: Web Site <$adressfrom>\n"; print MAIL "Subject: This is the subject\n"; print MAIL "Content-type: text/html\n\n"; print MAIL "This is the body of the message<br>\n"; print MAIL "This is line 2\n"; close (MAIL);
__________________
Two beer or not two beer?... |
![]() |
Часовой пояс GMT +4, время: 08:24. |
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | |
| Опции просмотра | |
|
|