CURLOPT_MAIL_RCPT(3) curl_easy_setopt options CURLOPT_MAIL_RCPT(3)NAME
CURLOPT_MAIL_RCPT - list of SMTP mail recipients
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAIL_RCPT,
struct curl_slist *rcpts);
DESCRIPTION
Pass a pointer to a linked list of recipients to pass to the server in your SMTP mail request. The linked list should be a fully valid list
of struct curl_slist structs properly filled in. Use curl_slist_append(3) to create the list and curl_slist_free_all(3) to clean up an
entire list.
When performing a mail transfer, each recipient should be specified within a pair of angled brackets (<>), however, should you not use an
angled bracket as the first character libcurl will assume you provided a single email address and enclose that address within brackets for
you.
When performing an address verification (VRFY command), each recipient should be specified as the user name or user name and domain (as per
Section 3.5 of RFC5321).
When performing a mailing list expand (EXPN command), each recipient should be specified using the mailing list name, such as "Friends" or
"London-Office".
DEFAULT
NULL
PROTOCOLS
SMTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.20.0. The VRFY and EXPN logic was added in 7.34.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_MAIL_FROM(3), CURLOPT_MAIL_AUTH(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_MAIL_RCPT(3)
Check Out this Related Man Page
CURLINFO_COOKIELIST(3) curl_easy_getinfo options CURLINFO_COOKIELIST(3)NAME
CURLINFO_COOKIELIST - get all known cookies
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_COOKIELIST,
struct curl_slist **cookies);
DESCRIPTION
Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all cookies curl knows (expired ones, too). Don't forget to call
curl_slist_free_all(3) on the list after it has been used. If there are no cookies (cookies for the handle have not been enabled or simply
none have been received) 'struct curl_slist *' will be set to point to NULL.
Since 7.43.0 cookies that were imported in the Set-Cookie format without a domain name are not exported by this option.
PROTOCOLS
HTTP(S)
EXAMPLE
TODO
AVAILABILITY
Added in 7.14.1
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO curl_easy_getinfo(3), curl_easy_setopt(3), CURLOPT_COOKIELIST(3),
libcurl 7.54.0 October 18, 2016 CURLINFO_COOKIELIST(3)
I presently use the php function mail() to send to a mailing list with over 5000 recipients. Even with blind copy, I get timed out and the process takes too long.
I would like to set the job up as a background job. Can someone help me with the shell code for sending mailing as a background job. (2 Replies)
I have a basic question - how do I create and then use a mail list to be able to send a mailx email to multiple recipients.
I assume I create a test file using vi, containing the email addresses - but what is the format - are the addresses separated by ";", or by spaces, ....???
Is there a... (1 Reply)
I have to create a unix program that will mail the contents of a file to a list of users.The file to be mailed will be provided as an argument to the program on the command line. The list of users or mail recipients should be a ”variable” that is created inside the program
This program MUST be... (1 Reply)
hardware = raq550 running on strongbolt2.
my sendmail log is littered with this entry all through the day:
localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Hi Friends,
I am facing one issue with my hpux server.
I used to send mail from the hpux server directly to the customer id.
By default the from address includes the complete hostname(eg:- user1@hostname.domain.com). My domain name is registered, but this individual hostname is not... (1 Reply)
can someone provide an example of a struct linked list, where it has strings as its values, and then how do I check if a specific string (say called buffer) exists in the list of structs?
i dont understand how to make a copy of it to check with
this is what i have
... (0 Replies)
Hi.
I want to create mailing list in my directory, however standart object classes groupOfUniqueNames and groupOfNames don't contain mail attribute. What is the common way to create mailing list in openldap? (0 Replies)
I am trying to find a code that can help me mail to a list of recipients which are in a text file.
Sample code
$cat recipient.txt
me@test.com
me1@test.com
me2@test.com
I want a mailx step that can read contents of recipient.txt and mail to all the users.
I don't want to use mails... (1 Reply)
Hi
I have a script that it sends emails to various recipients using mailx, but some of the recipients should be sent as BCC, but ~b flag when used in the following line, does not put the gmail address as BCC:
echo "node $output is down" | mailx -s "$output not pinging" sadf@xyz.com ~b... (8 Replies)