Platforms to show: All Mac Windows Linux Cross-Platform

/CURL/Send Email/Send email in web


Required plugins for this example: MBS CURL Plugin, MBS Main Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /CURL/Send Email/Send email in web

This example is the version from Wed, 3rd Jan 2023.

Project "Send email in web.xojo_binary_project"
Class App Inherits WebApplication
End Class
Class UploadCURL Inherits CURLSMBS
EventHandler Sub DebugMessage(infotype as integer, data as string, dataSize as Integer) t.WriteLine data t.Flush End EventHandler
EventHandler Function Progress(dltotal as Int64, dlnow as Int64, ultotal as Int64, ulnow as Int64, percent as double) As boolean if ultotal=0 then ProgressMessage = "Uploading..." else ProgressMessage = "Uploading "+Format(ulnow/ultotal,"-0%")+" "+stR(ulnow)+" of "+str(ultotal) end if End EventHandler
Sub Constructor() dim f as FolderItem = SpecialFolder.Desktop.Child("test.log") t = TextOutputStream.Append(f) End Sub
Property ProgressMessage As string
Property Private t As TextOutputStream
End Class
End Project

See also:

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


The biggest plugin in space...