SMTPMail no longer working in 2026.100

Summary

Emails from functions using the SmptMailer class are no longer working after the 2026.100 upgrade. They throw no error, have no syntax warnings, and simply do nothing when run.

Context

I created a functions library for email alerts across our company after learning how to create custom email alerts in Kinetic. Some of them are tied to events within the system, while others are scheduled to run daily. I was working on testing all of our customizations in the new upgrade and found that the emails do not send anything. No error, no syntax warnings, no message, nothing.

Helpfully for me, one of my functions had a return parameter that was left over from debugging that told me how many emails should have sent. It was still returning a high number of emails that should have sent right to my email address, but nothing was happening.

Syntax

The basic syntax I am using for these emails is as follows:

var mailer = GetMailer(true);
var message = new Ice.Mail.SmtpMail();
message.SetFrom("from email address");
message.SetTo("my email address for all testing");
message.SetSubject("subject line");
message.SetBody("message body");
message.IsBodyHtml = true;    
mailer.Send(message);

This has worked in previous versions of Epicor, so I suspect it may have to do with the Entity Core Framework fixes that occurred this upgrade. However, most of those show a syntax error within the editor or at least throw an error when trying to run it.

Conclusion

I have not found any topics on the EpiUsers form for this problem yet, so here I am. If anyone has any advice or ideas on how to resolve this issue, they would be greatly appreciated.

Here’s another topic about it.

Looks like the same issue. Thanks for looping me in!

I’ll close this one as a duplicate, then.