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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

SendMail.SetSMTPPassword

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 )

Parameters

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"

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

Example Databases


SendMail.SetRichText   -   SendMail.SetSMTPServer

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins