Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
SendMail.SetSMTPPassword
Sets the password for SMTP server authentication.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
SendMail | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Paid |
Parameters
Parameter | Description | Example |
---|---|---|
EmailID | The email reference number obtained using SendMail.CreateEmail function. | $EmailID |
password | Sets the password for SMTP server. | "This is a password" |
Result
Returns OK or error.
Description
Sets the password for SMTP server authentication.Alternative to this method you can set CURL.SetOptionPassword yourself later.
Examples
Start new email and setup SMTP login:
Set Variable [$EmailID; Value:MBS("SendMail.CreateEmail")]
Set Variable [$r; Value:MBS("SendMail.SetSMTPServer"; $EmailID; EMail::SMTP Server; EMail::SMTP SSL)]
Set Variable [$r; Value:MBS("SendMail.SetSMTPUserName"; $EmailID; EMail::SMTP Username)]
Set Variable [$r; Value:MBS("SendMail.SetSMTPPassword"; $EmailID; EMail::SMTP Password)]
See also
- CURL.SetOptionPassword
- CURL.SetOptionXOAuth2Bearer
- SendMail.CreateEmail
- SendMail.GetSMTPPassword
- SendMail.PrepareCURL
- SendMail.SetSMTPServer
- SendMail.SetSMTPUserName
Example Databases
Blog Entries
FileMaker Magazin
Created 3th September 2014, last changed 9th January 2017
SendMail.SetRichText - SendMail.SetSMTPServer
Feedback: Report problem or ask question.
