Advanced MES/Mattec Email Setup

My understanding from Epicor Support is that the preferred method of sending email from Advanced MES (Mattec) is to use a Gmail account. Are there any other users using an internal SMTP server to forward to O365?

At this point, I’m assuming that Mattec users don’t send emails/texts as Epicor can’t get it to work either.

Have I ever mentioned that I don’t like sending emails from applications?

season 5 thinking GIF by PBS

@Mark_Wonsil I’m sorry I didn’t see this before now. We’re not using Mattec, but we did set up an on-prem open relay using IIS/SMTP but set up an MS365 authenticated account on the forwarding side. This way all of our MFC Copiers, headless machines/services/etc. can all send email without auth, but we didn’t have to open up anything in the cloud. It ain’t perfect, but it works perfectly well :slight_smile:

As do we, Mike. No problems with Kinetic, Copiers, etc. Advanced MES/Mattec is, uh, a little older piece of software, (founded in 1983), so some of the libraries for SMTP might be a bit dated. We opened a ticket and found out that the typical M365 solutions don’t work. The recommended solution from support is to use a Gmail account with an app password. But even this is giving us trouble at the moment.

I hear you, but SMTP is as simple as it gets, really. Strange that it wouldn’t work, but will with Google.

Just thinking, but can you drop an appropriately-aged :wink: open-source smtp server on the Mattec server as a ‘middle man’?

EDIT - thinking that’s the same as having a local SMTP server - but if it’s local, and it’s NOT Microsoft, maybe it’ll have the compatible library Mattec needs… long shot for sure.

Maybe? I was hoping to find at least one Mattec person here to say they’ve got something to work. It might just be a configuration thing or a DLL registration thing because it should just work.

How it worked in old ERP version you have?

A local SMTP server that forwards to O365. But Mattec runs on its own server and has its own mail client separate from Kinetic.

Yep, it should, but that thing is old and now I’m wondering if the windows TCP/IP stack (remember winsock?) is the trouble with the loss of support for the older protocols. Do you have an old Win 7 PC you could set this up on? (like we have time for that sort of stuff anymore!)

I am sure you have thought of it, and I don’t know you’re whole set up, but here goes the braindump:

  • Do you need to whitelist the Mattec server IP in the SMTP server?
  • Can you send mail from the Mattec server to the SMTP server using something like SMTPDiag or like tool?
  • Does the SMTP server In/Out Queues(directories) show your email showing up or being queued to leave?
  • It’s not a DNS or Mail Forwarder connection problem?

I’m at the peripheral but it seems that Mattec cannot connect to the SMTP server that all the other services can. Relay is allowed for the Mattec server. I will check about SMTPDiag! No mail ever shows up in the queues. Haven’t checked DNS…