Skip to content

Requesting repo for email popup #78

@spanasiuk

Description

@spanasiuk

Plugin description

On Android, the native.showPopup("mail", options) opens a general system Share Sheet. I needed a plugin that opens a pre-populated email, and here's it.

Usage example:

local emailpopup = require("plugin.emailpopup")

emailpopup.show({
    to = "support@example.com",                 -- string or array of strings
    cc = { "cc1@example.com", "cc2@example.com" },
    bcc = "bcc@example.com",
    subject = "Hello from my app",
    body = "Message body here.",
    isBodyHtml = false,
    attachment = {
        baseDir = system.DocumentsDirectory,
        filename = "log.txt",
        type = "text/plain",
    },
})

I created an open-source repo already, but it seems like it has to be hosted under the solar2d org. Attaching it here in case you'd like to review:
https://github.com/Idlevelopment/com.idleveloping-plugin.emailpopup

Desired publisher Id

com.idleveloping

Your plugin name

plugin.emailpopup

Terms and conditions

  • If I receive invitation to the new repo I will read and follow the README in it, and would not abuse the automation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions