|
1 | | -<!-- EN-Revision: 6d21eef094840a7277af4735b8898f70ef9cd9ba Maintainer: mowangjuanzi Status: partial --> |
| 1 | +<!-- EN-Revision: c9888ac6e5c75d00d50f9c2fd741ae3a82a479ec Maintainer: mowangjuanzi Status: partial --> |
2 | 2 | <!-- CREDITS: Luffy --> |
3 | 3 | <variablelist role="constant_list"> |
4 | 4 | <title><function>curl_setopt</function></title> |
|
1381 | 1381 | </term> |
1382 | 1382 | <listitem> |
1383 | 1383 | <para> |
1384 | | - Set a <type>string</type> with the authentication address (identity) |
1385 | | - of a submitted message that is being relayed to another server. |
1386 | | - The address should not be specified within a pair of angled brackets |
1387 | | - (<literal>><</literal>). |
1388 | | - If an empty <type>string</type> is used then a pair of brackets are sent by cURL |
1389 | | - as required by RFC 2554. |
1390 | | - Available as of cURL 7.25.0. |
| 1384 | + 设置 <type>string</type>,表示正在转发到另一服务器的提交消息的身份验证地址(身份)。该地址不应包含在尖括号(<literal><></literal>)中。如果使用空 |
| 1385 | + <type>string</type>,则 cURL 会根据 RFC 2554 的要求发送一对括号。自 cURL 7.25.0 起可用。 |
1391 | 1386 | </para> |
1392 | 1387 | </listitem> |
1393 | 1388 | </varlistentry> |
|
1398 | 1393 | </term> |
1399 | 1394 | <listitem> |
1400 | 1395 | <para> |
1401 | | - Set a <type>string</type> with the sender's email address when sending SMTP mail. |
1402 | | - The email address should be specified with angled brackets |
1403 | | - (<literal>><</literal>) around it, |
1404 | | - which if not specified are added automatically. |
1405 | | - If this parameter is not specified then an empty address is sent |
1406 | | - to the SMTP server which might cause the email to be rejected. |
1407 | | - Available as of cURL 7.20.0. |
| 1396 | + 在发送 SMTP 邮件时,设置一个包含发件人电子邮件地址的 |
| 1397 | + <type>string</type>。电子邮件地址应使用尖括号(<literal><></literal>)括起来,如果未指定,系统会自动添加。如果未设置此参数,则会向 |
| 1398 | + SMTP 服务器发送空地址,这可能导致邮件被拒绝。自 cURL 7.20.0 起可用。 |
1408 | 1399 | </para> |
1409 | 1400 | </listitem> |
1410 | 1401 | </varlistentry> |
|
1415 | 1406 | </term> |
1416 | 1407 | <listitem> |
1417 | 1408 | <para> |
1418 | | - Set to an <type>array</type> of <type>string</type>s |
1419 | | - with the recipients to pass to the server in an SMTP mail request. |
1420 | | - Each recipient should be specified within a pair of angled brackets |
1421 | | - (<literal>><</literal>). |
1422 | | - If an angled bracket is not used as the first character, |
1423 | | - cURL assumes a single email address has been provided |
1424 | | - and encloses that address within brackets. |
1425 | | - Available as of cURL 7.20.0. |
| 1409 | + 设置为由 <type>string</type> 组成的 <type>array</type>,包含在 SMTP |
| 1410 | + 邮件请求中传递给服务器的收件人。每个收件人应使用尖括号(<literal><></literal>)括起来。如果第一个字符未使用尖括号,cURL |
| 1411 | + 会假定提供的是单个电子邮件地址,并将该地址用括号括起来。自 cURL 7.20.0 起可用。 |
1426 | 1412 | </para> |
1427 | 1413 | </listitem> |
1428 | 1414 | </varlistentry> |
|
3578 | 3564 | <listitem> |
3579 | 3565 | <para> |
3580 | 3566 | 设置要传递给 telnet 协商的由 <type>string</type> 组成的 <type>array</type>。变量应采用 |
3581 | | - <literal>>option=value<</literal> 格式。cURL 支持选项 <literal>TTYPE</literal>、<literal>XDISPLOC</literal> |
| 3567 | + <literal><option=value></literal> 格式。cURL 支持选项 <literal>TTYPE</literal>、<literal>XDISPLOC</literal> |
3582 | 3568 | 和 <literal>NEW_ENV</literal>。自 cURL 7.7.0 起可用。 |
3583 | 3569 | </para> |
3584 | 3570 | </listitem> |
|
0 commit comments