Functional mail app which supports essential mail features, including attachments and custom content.
Workflow
Mail app depends on its manager and scriptable objects. It supports multiple playlists which you can manage by using the manager. You can add new mail items using Create > DreamOS > Create Mail Item. All mail items will be generated at runtime.
Scripting
using Michsky.DreamOS; // namespace
public MailManager mailManager; // Your mail manager variable
void YourFunction()
{
mailManager.fromPrefix = "<"; // Change from (mail) prefix
mailManager.fromSuffix = ">"; // Change from (mail) suffix
mailManager.InitializeMails(); // Initialize all mail items
}
// For creating mails
public CreateMailItem createMail;
void CreateMailFunction()
{
createMail.CreateMail();
}
Create Items At Runtime
In order to create a new mail at runtime, you need to use ‘Create Mail Item’ component. Simply click on the ‘Add Component’ button and search for the component. You can now change the settings and call CreateMailItem.CreateMail() whenever you want.
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.