The IsabyteEmail component provides an email composition form with From, To, Cc, Bcc, Subject, optional scheduled send, and message body. Supports inline and popup modes, reply functionality, and fires callbacks on Send and Cancel.
<IsabyteEmail From="user@example.com"
ToSuggestions="recipientSuggestions"
OnSend="HandleSend"
OnCancel="HandleCancel"
OnReply="HandleReply" />
@code {
private List<string> recipientSuggestions = new()
{
"alice@example.com", "bob@example.com"
};
private void HandleSend(IsabyteEmailModel model)
{
// model.From, model.To, model.Subject, model.Body, etc.
}
private void HandleCancel() { }
private void HandleReply(IsabyteEmailModel model)
{
// model.IsReply == true, fields prefilled
}
}