Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionMailFrom
Sets the mail sender.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionMailFrom"; curl; Value { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Value | The from address. | "someone@macsw.de" | |
Encoding | The text encoding for text parameter. Default is UTF-8. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"UTF8" | Optional |
Result
Returns "OK" on success.
Description
Sets the mail sender.It will be used to specify the sender address in a mail when sending an SMTP mail with libcurl.
An originator email address in SMTP lingo is specified within angle brackets (<>) which libcurl will not add for you before version 7.21.4. Failing to provide such brackets may cause the server to reject your mail.
See also MAIL_FROM option in CURL manual.
See also
- CURL.SetOptionFailOnError
- CURL.SetOptionFileTime
- CURL.SetOptionMailAuth
- CURL.SetOptionPassword
- CURL.SetOptionResumeFrom
Blog Entries
- Translating Insert from URL options for CURL to MBS Plugin calls
- MBS Filemaker Plugin, version 2.6pr7
Created 18th August 2014, last changed 5th July 2015