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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
SendMail.SetSMTPUserName
Sets the username for SMTP server authentication.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SendMail | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
EmailID | The email reference number obtained using SendMail.CreateEmail function. | $EmailID |
Username | Sets the username for SMTP server. | "user@mbsplugins.de" |
Result
Returns OK or error.
Description
Sets the username for SMTP server authentication.Alternative to this method you can set CURL.SetOptionUserName 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.SetOptionUserName
- CURL.SetOptionXOAuth2Bearer
- SendMail.CreateEmail
- SendMail.GetSMTPUserName
- SendMail.PrepareCURL
- SendMail.SetSMTPPassword
- SendMail.SetSMTPServer
Blog Entries
- SMTP with OAuth for Office 365 in FileMaker
- Sending email with a huge custom function
- GMail for emails with MBS Plugin
- Use Inline Graphics in Emails
- Email Script for FileMaker
- Comparing Base Elements Plugin to MBS FileMaker Plugin
- Sending emails in FileMaker with MBS Plugin
- Sending Email with FileMaker via MBS Plugin
FileMaker Magazin
This function checks for a license.
Created 3th September 2014, last changed 9th January 2017
