How to send email in Acumatica
18 November 2023
Hi,
today want to share quick code snippet on how to send email from Acumatica. For this purpose, good usage is for NotificationGenerator. See the code below:
public virtual void SendEmailNotification(string email, string subject, string emailBody) { var sender = new NotificationGenerator { To = email, Subject = subject, Body = emailBody, BodyFormat = EmailFormatListAttribute.Html }; sender.Send(); }
If you're looking to customize your Acumatica instance further or have unique requirements for your system, don’t hesitate to reach out! Whether it's fine-tuning notifications or implementing advanced workflows, our team is ready to help you achieve seamless integration. Leave a request today and let's take your Acumatica experience to the next level!