Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the password for SMTP server authentication.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SendMail 4.3 Yes Yes Yes Yes Yes

MBS( "SendMail.SetSMTPPassword"; EmailID; password )


Parameter Description Example value
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID
password Sets the password for SMTP server. "This is a password"


Returns OK or error.


Sets the password for SMTP server authentication.
Alternative to this method you can set CURL.SetOptionPassword yourself later.


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

Example Databases

SendMail.SetRichText   -   SendMail.SetSMTPServer

Feedback: Report problem or ask question.

MBS FileMaker Plugins