I was trying to test the SendEmail() function today with our email server, and I'm running into some difficulty.
The SMTP settings and port no. are exactly the same as they are configured in Outlook (which I use daily to send email).
However, when I try to trigger a send email from PAC Control, the error code returned is '-11'. The error code look-up translates this to "Could not send data".
My guess was that I had setup the controller (an S1 with 9.1b firmware) incorrectly. However, it is on the same network/setup in a similar fashion as my laptop which has no problem accessing the email server to download/send my email.
I thought I would test a different email account of mine (a Gmail account) and the only issue I ran into there was a lack of certificate for SSL (which I expected, I didn't place on in the controller's file system). I would think that getting denied at that stage meant the send email request was at least sent out.
My question is, what might I check that would be causing what seems to be an issue much earlier in the sending process with our own email server? There isn't anything distinct about its setup, just the address and port no. 25 and no SSL.
Any suggestions? Thanks!