In vision I use the code below to send an email based on a script. When I try it in perspective I get an error that connection is refused. What in perspective would be causing this? The code is identical in both vision and perspective. Works in vision but not perspective.
recepients = [“XXXX@XXXX”]
server = smtplib.SMTP(‘XXXXXXX’,25)
msg = “”“TESTING
\n\nThis is a test.