This site uses cookies for functional purposes. To continue please read and agree to our Data Privacy.

By closing this message, you consent to our use of cookies on this device.

PLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. dom
  2. PLCnext Engineer
  3. Friday, 04 January 2019

Hello everyone,

We want to send some mails, just like the SMTP function blocks in PcWorx 6.

However, we don't have the library released yet and I'm wondering when it will be available.
Is there a way to send some mails with another way (NodeRed, CrossCompile ...) and to use some IEC 61131-3 for the object, content, destination etc ...

Thank you for your help,

Dominique

Accepted Answer
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Dominique,

Sorry for the delay.

The "IT Library" for PLCnext Engineer is currently due for release at the end of June 2019. This library will include an SMTP function block that can be used in IEC 61131 programs, similar to that currently available in PC Worx 6.

The version of curl that is included on the AXC F 2152 does not include SMTP, but you can install another version of curl to get this feature.

- Martin.

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  1. more than a month ago
  2. PLCnext Engineer
  3. # Permalink
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Dominique,

I'll check next week on the status of the PLCnext Engineer library containing the SMTP function. 

In the mean time, you can use the SMTP function that is included in the cURL library. There is a version of curl factory-installed on the AXC F 2152, but this may not include the SMTP protocol (I'll need to check this next week). In this case, you have at least two options:

1. Install curl on the PLC using the ipkg package manager.

2. Cross-compile the libcurl library for the AXC F 2152 by following the guide in the Makers Blog. You can then include the libcurl library in your own C++ project, and exchange data with your IEC project using Ports, for example.

From memory, the SMTP function that comes with cURL is good for plain-text emails that don't require attachments.

Hope this helps.

- Martin.

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  1. more than a month ago
  2. PLCnext Engineer
  3. # 1
dom Accepted Answer Pending Moderation
0
Votes
Undo

Hello Martin,

Do you have any informations about the SMTP library for PLCnext Engineer ?

Dominique

  1. more than a month ago
  2. PLCnext Engineer
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.