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 |
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.
- 13 properties
- property Attachmentcount as Integer
- property BoundaryName as String
- property HTMLText as String
- property InReplyTo as String
- property MessageID as String
- property PlainText as String
- property RichText as String
- property Server as String
- property SMTPPassword as String
- property SMTPServer as String
- property SMTPUsername as String
- property Subject as String
- property UseSSL as Boolean
- 20 methods
- method AddAttachment(data as MemoryBlock, name as string, type as string = "", InlineID as string = "", ContentTypeMethod as String = "")
- method AddAttachment(data as string, name as string, type as string = "", InlineID as string = "", ContentTypeMethod as String = "")
- method AddAttachment(file as FolderItem, name as string = "", type as string = "", InlineID as string = "", ContentTypeMethod as String = "")
- method AddBcc(email as string, name as string)
- method Addcc(email as string, name as string)
- method AddHeader(header as string)
- method AddReplyTo(email as string, name as string)
- method AddTo(email as string, name as string)
- method Bccs as String()
- method ccs as String()
- method clearAttachments
- method ClearHeaders
- method clearRecipients
- method constructor(Encoding as string = "UTF-8")
- method EmailSource as string
- method Headers as String()
- method ReplyTOs as String()
- method SetFrom(email as string, name as string)
- method SetServer(server as string, UseSSL as boolean = false)
- method TOs as String()
This class has no sub classes.
Some examples using this class:
- /CURL/Google Mail/Send email for google mail
- /CURL/Send Email/IMAP Upload
- /CURL/Send Email/MassEmailer
- /CURL/Send Email/Send email
- /CURL/Send Email/Send Email in Background async
Blog Entries
- MBS Xojo Plugins, version 22.5pr7
- Sending email via gmail
- Upload email to Sent folder via IMAP
- MBS Xojo Plugins, version 21.4pr3
- SMTP Server Settings
- SMTP Server Settings
- Differences between CURLMBS and CURLSMBS classes
- MBS Releases the MBS Xojo / Real Studio plug-ins in version 16.1
- [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.4
- [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.3
Xojo Developer Magazine
The items on this page are in the following plugins: MBS CURL Plugin.
CUPSOptionMBS - CURLFileInfoMBS
