Platforms to show: All Mac Windows Linux Cross-Platform

CURLEmailMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CURL MBS CURL Plugin 14.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Our plugin class to help building and sending emails.
Example
dim e as new CURLEmailMBS

e.SetFrom "test@test.test", "christian Müller"
e.Subject = "Hello World ☺️"
e.SMTPPassword = "xxx"
e.SMTPUsername = "xxx"
e.SetServer "smtp.test.test", true
e.AddTo "test@test.test", "Test Müller"
e.PlainText = "Hello World," + EndOfLine + "Smilies: ☺️ 😘 😄"

dim c as new CURLSMBS

if c.SetupEmail(e) then

dim er as Integer = c.Perform
if er = 0 then
MsgBox "Email sent"
end if
end if

Please make sure you set from, to, subject, plaintext to have a minimum email always.
If your email misses required fields, the email server may silently discard it.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 24.0
  • Version 21.4
    • Changed CURLEmailMBS class to cache email source and not render it again each time you query it. And clear it when you change a property of the email.
  • Version 21.2
    • Added optional ContentTypeMethod as parameter for AddAttachment in CURLEmailMBS class.
  • Version 20.2
    • Changed CURLEMailMBS class to not raise exception if you assign empty username and password.
  • Version 19.2
    • Added check for AddHeader in CURLEmailMBS class to make sure a double colon is included.
  • Version 18.5
    • Changed CURLEmailMBS to no longer turn TO to CC if you have several TOs.
  • Version 18.1
    • Changed CURLEmailMBS class to replace NULL characters with space in email texts to avoid truncation of texts.
    • Improved CURLEMailMBS class to not encode subject, email names or attachment names, if it contains no special characters in more cases by reducing the characters which trigger encoding.
  • Version 17.2
  • Version 17.1
    • Split CURLEmail classes into own plugin part, so it can stay as CURLEmailMBS and used with all CURL variants.

The items on this page are in the following plugins: MBS CURL Plugin.


CUPSOptionMBS   -   CURLFileInfoMBS


💬 Ask a question or report a problem
The biggest plugin in space...