Loading ...

How to send email in Acumatica

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 emailstring subjectstring 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!

Currently rated 1.0 by 1 people

  • Currently 1.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5