Sending an email in code

EngineCore.EngineEmail.ModuleEngineEmail(body:x subject:x, fromAddress:x, fromName:x, recipients:x, replyTo:x);


**********SEND EMAIL*********

var email = new EngineEmail();
    
email.FromAddress = FromAddress;
    
email.FromName = FromName;
    
email.AddressRecipients.Add(AddressRecipients);
    
email.Subject = "A Gift of Hope";
    
email.Body = EmailBody;
    
email.Send();