matroz Mon Apr 8 16:15:43 2002 EDT
Modified files:
/phpdoc/he/functions mail.xml
Log:
finished translating,using zvi ble translation
Index: phpdoc/he/functions/mail.xml
diff -u phpdoc/he/functions/mail.xml:1.1 phpdoc/he/functions/mail.xml:1.2
--- phpdoc/he/functions/mail.xml:1.1 Tue Mar 26 03:38:06 2002
+++ phpdoc/he/functions/mail.xml Mon Apr 8 16:15:43 2002
@@ -1,59 +1,60 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.37 Maintainer: matroz Status: working -->
+<!-- EN-Revision: 1.37 Maintainer: matroz Status: done -->
<reference id="ref.mail">
- <title>�������� ����</title>
- <titleabbrev>Mail</titleabbrev>
+ <title>�������� �����</title>
+ <titleabbrev>����</titleabbrev>
<partintro>
<simpara>
- �������� <function>mail</function> ������ ����� ����
+ ������ �� ����� ���� <function>����</function>�������� �
</simpara>
<variablelist>
- <title>������ ����������� ����</title>
+ <title>���� ����� �����</title>
<varlistentry id="ini.smtp">
<term>
<parameter>SMTP</parameter>
- <type>string</type>
+ <type>������</type>
</term>
<listitem>
<para>
- DNS name or IP address of the SMTP server PHP under Windows
- should use for mail sent with the <function>mail</function>
- function.</para>
+ �� DNS �� ����� IP �� ��� �-SMPT ���� PHP ��� ������� ����
+ .<function>����</function>���� ������ ���� ����� �������� �
+ </para>
</listitem>
</varlistentry>
<varlistentry id="ini.sendmail-from">
<term>
<parameter>sendmail_from</parameter>
- <type>string</type>
+ <type>������</type>
</term>
<listitem>
<para>
- Which "From:" mail address should be used in mail sent from
- PHP under Windows.</para>
+ �������� "From:" ���� ����� ����� ���� ����� ������ ����� ������
+ ������ ���� �-PHP ��� �������.
+ </para>
</listitem>
</varlistentry>
<varlistentry id="ini.sendmail-path">
<term>
<parameter>sendmail_path</parameter>
- <type>string</type>
+ <type>������</type>
</term>
<listitem>
<para>
- Where the <command>sendmail</command> program can be found,
- usually <filename>/usr/sbin/sendmail</filename> or
+ �������� <command>sendmail</command> ��� ����� ������ �����
+ ���� �-<filename>/usr/sbin/sendmail</filename> ��
<filename>/usr/lib/sendmail</filename>
- <command>configure</command> does an honest attempt of
- locating this one for you and set a default, but if it fails,
- you can set it here.</para>
+ ���� ����� ����� ��
+ ����� ����� �� ������ ����� ����, ��� �� ��� �� ������
+ ��� ���� ����� ��� ���. </para>
<para>
- Systems not using sendmail should set this directive to the
- sendmail wrapper/replacement their mail system offers, if any.
- For example, <ulink url="&url.qmail;">Qmail</ulink>
- users can normally set it to
+ ������ ��� ������� ��������� �-sendmail ������ ����� ������ ���
+ ������ ����� ������� ������� ���� �����, �� ����.
+ ������, ������ <ulink url="&url.qmail;">Qmail</ulink>
+ ������ ���� ��� ����� ����� �� �-
<filename>/var/qmail/bin/sendmail</filename>.</para>
</listitem>
</varlistentry>
@@ -62,48 +63,47 @@
<refentry id="function.mail">
<refnamediv>
- <refname>mail</refname>
- <refpurpose>send mail</refpurpose>
+ <refname>����</refname>
+ <refpurpose>��� ����</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
- <type>bool</type><methodname>mail</methodname>
- <methodparam><type>string</type><parameter>to</parameter></methodparam>
- <methodparam><type>string</type><parameter>subject</parameter></methodparam>
- <methodparam><type>string</type><parameter>message</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>additional_headers</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>additional_parameters
+ <type>�������� ��������</type><methodname>����</methodname>
+ <methodparam><type>������</type><parameter>�����</parameter></methodparam>
+ <methodparam><type>������</type><parameter>�����</parameter></methodparam>
+ <methodparam><type>������</type><parameter>������</parameter></methodparam>
+ <methodparam
+choice="opt"><type>������</type><parameter>additional_headers</parameter></methodparam>
+ <methodparam choice="opt"><type>������</type><parameter>additional_parameters
</parameter></methodparam>
</methodsynopsis>
<simpara>
- <function>mail</function> automatically mails the message
- specified in <parameter>message</parameter> to the receiver
- specified in <parameter>to</parameter>. Multiple recipients can
- be specified by putting a comma between each address in
- <parameter>to</parameter>. Email with attachments and special
- types of content can be sent using this function. This is
- accomplished via MIME-encoding - for more information, see this
- <ulink url="&url.email.mime.zend;">
- Zend article</ulink> or the <ulink url="&url.email.mime.pear;">
+ <function>����</function> ����� ����� ������� �� ������
+ ������� �-<parameter>message</parameter> ����� ������
+ �-<parameter>to</parameter>. ����� ����� ������ ����� ������
+ �� ��� ����� ���� ��� �� ����� ������ <parameter>to</parameter>.
+ ���� �� ������ ������� (attachments) ��� ����� ������� �� ����
+ ������ ����� �� �������� ����. ����� �� ����� ��� �- MIME-encoding
+ - ��� ������ ������ ����� �� ��� ����. ���� ����, ���� �<ulink
+url="&url.email.mime.zend;">
+ ���� �-Zend �� �-
+ <ulink url="&url.email.mime.pear;">
PEAR Mime Classes</ulink>.
</simpara>
<simpara>
- The following RFC's may also be useful:
+ �������� ����� �-RFC ������ ����� �� �� ��������:
<ulink url="&url.rfc1896;">RFC 1896</ulink>,
<ulink url="&url.rfc2045;">RFC 2045</ulink>,
<ulink url="&url.rfc2046;">RFC 2046</ulink>,
<ulink url="&url.rfc2047;">RFC 2047</ulink>,
- <ulink url="&url.rfc2048;">RFC 2048</ulink>, and
+ <ulink url="&url.rfc2048;">RFC 2048</ulink>, �
<ulink url="&url.rfc2049;">RFC 2049</ulink>.
</simpara>
<para>
- <function>mail</function> returns &true; if the mail
- is successfully sent, &false; otherwise.
+ <function>����</function> ������ &true; �� ����� ���� ������, �-&false; ����.
</para>
<para>
<example>
- <title>Sending mail.</title>
+ <title>����� ����</title>
<programlisting>
<![CDATA[
mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3");
@@ -111,23 +111,23 @@
</programlisting>
</example></para>
<simpara>
- If a fourth string argument is passed, this string is inserted at
- the end of the header. This is typically used to add extra
- headers. Multiple extra headers are separated with a carriage return
- and newline.
+ �� ����� ����� ���� ������ ���� �����, ������ �� ������ ����
+ ������ (header). ������ ������ �� ��� ���� ����� ������ ���
+ ������ (headers). ���� ������ ��� ������, �� ������� ����� �����
+ ���� ������ ����� (/r) ����� ���� (/n).
</simpara>
<note>
<para>
- You must use <literal>\r\n</literal> to seperate headers, although
- some Unix mail transfer agents may work with just a single newline
- (<literal>\n</literal>). The Cc: header is case sensitive and must
- be written as <literal>Cc:</literal> on Win32 systems. The Bcc:
- header is also not supported on Win32 systems.
+ ��� ���� ������ ������ <literal>\r\n</literal> ��� ������ ������, �����
+ ������ ����� ���� �������� �� Unix ������ ����� �� �� ����
+ ���� (<literal>\n</literal>). ������ Cc: ��� ����� ����� ��� ������ �����
+ ������� (-�������) ����� ����� ������� Win32 ��: <literal>Cc:</literal>.
+ ������ Bcc: ���� ����� ������� Win32.
</para>
</note>
<para>
<example>
- <title>Sending mail with extra headers.</title>
+ <title>����� ���� �� ������ ������.</title>
<programlisting>
<![CDATA[
mail("[EMAIL PROTECTED]", "the subject", $message,
@@ -139,16 +139,15 @@
</example>
</para>
<para>
- The <parameter>additional_parameters</parameter> parameter
- can be used to pass additional parameters to the program configured
- to use when sending mail using the <literal>sendmail_path</literal>
- configuration setting. For example, this can be used to set the
- envelope sender address when using sendmail. You may need to add
- the user that your web server runs as to your sendmail configuration
- to prevent a 'X-Warning' header from being added to the message when
- you set the envelope sender using this method.
+ �������� ������� (<parameter>additional_parameters</parameter>) ������
+ ���� ������ ������� ������ ������ ������� ������ �������� ����
+ ����� ������ ������� ������ <literal>sendmail_path</literal>. ������,
+ ���� ������ ������� �� ����� ����� �� ����� ����� ����� ���������
+ ������ Sendmail. ��� ���� ���� ������ �� ������ ���� �������� �����
+ ������� ������ Sendmail ����� ����� �� ����� ������ 'X-Warning'
+ ������ ���, ����� ���� �� ����� ����� �� ����� ����.
<example>
- <title>Sending mail with extra headers and setting an additional command line
parameter.</title>
+ <title>����� ���� �� ����� ������ ������ ����� ����� ������.</title>
<programlisting>
<![CDATA[
mail("[EMAIL PROTECTED]", "the subject", $message,
@@ -159,19 +158,19 @@
</para>
<note>
<para>
- This fifth parameter was added in PHP 4.0.5.
+ ������ ������ ���� ������ PHP 4.0.5.
</para>
</note>
<para>
- You can also use simple string building techniques to build complex
- email messages.
+ ��� ���� �� �� ������ �������� ������ �� ����� ������� ��� �����
+ ������ ���� �������.
<example>
- <title>Sending complex email.</title>
+ <title>����� ������ �������.</title>
<programlisting>
<![CDATA[
/* recipients */
-$to = "Mary <[EMAIL PROTECTED]>" . ", " ; //note the comma
-$to .= "Kelly <[EMAIL PROTECTED]>";
+$to = "Moshe <[EMAIL PROTECTED]>" . ", " ; //�� ���� �� �����!
+$to .= "David <[EMAIL PROTECTED]>";
/* subject */
$subject = "Birthday Reminders for August";
@@ -197,17 +196,17 @@
</html>
';
-/* To send HTML mail, you can set the Content-type header. */
+/* ���� ����� ���� ���� HTML, �� ���� ����� �� ������ ��� ����� (Content-type).*/
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
-/* additional headers */
+/* ������ ������ */
$headers .= "From: Birthday Reminder <[EMAIL PROTECTED]>\r\n";
$headers .= "Cc: [EMAIL PROTECTED]\r\n";
$headers .= "Bcc: [EMAIL PROTECTED]\r\n";
-/* and now mail it */
+/* ������ - ��� �� ��! */
mail($to, $subject, $message, $headers);
]]>
</programlisting>
@@ -215,9 +214,8 @@
</para>
<note>
<para>
- Make sure you do not have any newline characters in the
- <parameter>to</parameter> or <parameter>subject</parameter>,
- or the mail may not be sent properly.
+ ���� �� �� ���� �� ��� �� �� ���� ���� ������ <parameter>to</parameter> ��
+ ������ <parameter>subject</parameter>, ���� ����� �� ���� ����.
</para>
</note>
</refsect1>
@@ -226,27 +224,27 @@
<refentry id="function.ezmlm-hash">
<refnamediv>
<refname>ezmlm_hash</refname>
- <refpurpose>Calculate the hash value needed by EZMLM</refpurpose>
+ <refpurpose>��� �� ��� �-hash ����� �� ��� EZMLM</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>int</type><methodname>ezmlm_hash</methodname>
- <methodparam><type>string</type><parameter>addr</parameter></methodparam>
+ <methodparam><type>������</type><parameter>addr</parameter></methodparam>
</methodsynopsis>
<simpara>
- <function>ezmlm_hash</function> calculates the hash value needed
- when keeping EZMLM mailing lists in a MySQL database.
+ �������� <function>ezmlm_hash</function> ����� �� ��� �-hash ����� ��������
+������
+ ���� EZMLM ����� ������ ���� MySql.
</simpara>
<para>
<example>
- <title>Calculating the hash and subscribing a user</title>
+ <title>����� �-hash ������ �����</title>
<programlisting>
<![CDATA[
$user = "[EMAIL PROTECTED]";
$hash = ezmlm_hash ($user);
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
-$db->query($query); // using PHPLIB db interface
+$db->query($query); // PHPLIB db ����� �����
]]>
</programlisting>
</example>