-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Labels
Description
Hi,
is there a way to pass the NOTIFY option to the CURLOPT_MAIL_RCPT option ?
My goal is to achieve something like that :
RCPT TO: <foo@bar> NOTIFY=SUCCESS,FAILURE
If I pass the option directly after my recipient, there's a bracket that is inserted at the end, that cause an issue with the SMTP server.
RCPT TO:<foo@bar> NOTIFY=SUCCESS,FAILURE>
In my code, I created the curl_slist and for my only recipient, I set a string that already contains a bracket. For instance something like that :
curl_slist_append( recipients, "<foo@bar> NOTIFY=SUCCESS,FAILURE" );