CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Feb 22, 2020 4:27 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Dec 22, 2014 8:16 pm 

Joined: Thu Jul 31, 2014 7:05 pm
Posts: 18
I'm attempting to send e-mail alarms under Windows 7. Win7 doesn't include an SMTP service and Outlook gives the warning: A program is attemping to send e-mail on your behalf. I tried to disable the warning under the trust center in Outlook, but still get the warning box. Obviously, I can't have Windows 7/Outlook pop up a box everytime I need to send an e-mail.

BTW, I wasn't able to send e-mail alerts without setting up Outlook. I'm really not sure why this is required. It would seem that Codesys would function as an e-mail 'client' and attempt a SMTP connection to the server specified in the Alarm Manager. After I installed Outlook, the e-mails showed up in Outlook's 'outbox' and they aren't forwarded to the SMTP server unless Outlook is running.

So, how can I send e-mail alerts under Windows 7? Is there a recommended third party SMTP relay I can run on the local computer that works with Codesys? Do I have something misconfigured or what?

[MORE INFO] I think I figured this out. Codesys makes calls to MAPI and doesn't send the mail directly with SMTP. The email client sends the mail, which is why you don't see any typical SMTP configuration items in Codesys. Only the server is specified. No ports, TLS, etc. So that's why Outlook needs to be configured and running.

The pop up box is a result of Outlook security, which needs to be disabled with registry settings. Here's the URL as a reference. There are several posts that only have you change some of the settings. I had to make all the registry settings for Outlook 2007. ... ehalf.aspx

Note: I will try Thunderbird, which provides a free implementation of SimplyMAPI. Hopefully, Codesys doesn't need extendedMAPI. I found this URL with more information.

Thanks for your help.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 5 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited