Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionMailRecipients

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionMailRecipients"; handle; values... )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value First email address. "someone@macsw.de"

Result

Returns "OK" on success.

Description

Sets the recipients list.
Pass a list of recipients to pass to the server in your SMTP mail request. For passing several recipients, simply add more parameters to the function call.

Each recipient in SMTP lingo is specified with angle brackets (<>), but should you not use an angle bracket as first letter libcurl will assume you provide a single email address only and enclose that with angle brackets for you.

This option takes a list of items. So this function takes a variable number of arguments. If you call function with 2 parameters, you set an empty list. If you call it with 5 parameters, you set a list with 3 values.

Examples

Set three recipients:

MBS( "CURL.SetOptionMailRecipients"; $curl; $email1, $email2, $email3 )

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Nachhilfe in Kruft