xref: /curl/docs/cmdline-opts/mail-rcpt.md (revision 6e494a23)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: mail-rcpt
5Arg: <address>
6Help: Mail to this address
7Protocols: SMTP
8Added: 7.20.0
9Category: smtp
10Multi: append
11See-also:
12  - mail-rcpt-allowfails
13Example:
14  - --mail-rcpt user@example.net smtp://example.com
15---
16
17# `--mail-rcpt`
18
19Specify a single email address, username or mailing list name. Repeat this
20option several times to send to multiple recipients.
21
22When performing an address verification (**VRFY** command), the recipient
23should be specified as the username or username and domain (as per Section 3.5
24of RFC 5321). (Added in 7.34.0)
25
26When performing a mailing list expand (EXPN command), the recipient should be
27specified using the mailing list name, such as "Friends" or "London-Office".
28(Added in 7.34.0)
29