Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

VISU+ EMAIL WITH WIN CE

Instructions for sending emails on Windows CE de-


vices with Visu+ and Visu+ Express

Application note
110825_en_00 © PHOENIX CONTACT 2022-10-17

1 Description Table of contents


This document describes the procedure for sending emails 1 Description .................................................................. 1
on a Windows CE device with the Visu+ and Visu+ Express 2 Hardware requirements ............................................... 1
application software.
3 Software requirements ................................................ 1
4 Visu+ project................................................................ 2
2 Hardware requirements 4.1 Configuring the Alarm Dispatcher ........................ 2
– TP 3XXXX 4.2 Creating a user .................................................... 3
– TPM 3XXXX 4.3 Configuring an alarm ........................................... 3
– TP 3XXXX/P 4.4 Uploading the project........................................... 3
– TP 3XXXX/WT 5 Troubleshooting........................................................... 4
– TP 6XXX-XXXX
– BTP 2XXXX

3 Software requirements
– Visu+ version ≥ 2.55
– Visu+ Express version ≥ 2.55

Make sure you always use the latest documentation.


It can be downloaded at phoenixcontact.net/product/2988544.
VISU+ EMAIL WITH WIN CE

4 Visu+ project
• Open an existing Visu+ project or create a new one. • Configure the settings in accordance with your mail
server.
4.1 Configuring the Alarm Dispatcher
Open the Alarm Dispatcher to enter the necessary email
settings.
• In the “Extras” menu, click “Alarm Dispatcher” or open
the Alarm Dispatcher via the start menu.

Figure 4 Configuring email


Figure 1 Opening the Alarm Dispatcher
• Click the “OK” button.
• Click the button. • Click the “OK” button again to close the “PlugIn Set-
• Select the “Email” entry and click the “-->” button. tings” dialog.
• In the “File” menu, click the “Save As...” entry.
• Switch to the
“C:\ProgramData\Progea\AlarmDispatcher” directory.
• Use “Settings.Dspt” as the filename.
• Save the file by clicking the “Open” button.

Figure 2 Selecting Email

• Select the “Email” entry on the right-hand side and click


the “Configure” button.

Figure 5 Saving the Alarm Dispatcher project


Figure 3 Opening the email configuration
NOTE: You must save the Alarm Dispatcher project in
the following directory:
C:\ProgramData\Progea\AlarmDispatcher
Only then are the necessary files for sending emails trans-
ferred to the target device.
• Close the Alarm Dispatcher.

110825_en_00 PHOENIX CONTACT 2/4


VISU+ EMAIL WITH WIN CE

4.2 Creating a user 4.3 Configuring an alarm


Create a user with an email address: • Select an existing alarm or create a new one.
• Right-click “Users and User Groups”.

Figure 9 Configuring an alarm


Figure 6 Adding a user group
• Configure an “Alarm Variable” in the “Properties” win-
dow.
• Click “Add a new User Group” in the context menu.
• Select an existing alarm threshold or create a new one.
• Right-click the user group you just created.

Figure 7 Adding a user

• Click “Add a new User” in the context menu.


• Configure the email address in the “Properties” window. Figure 10 Configuring an alarm threshold

• In the “Properties” window, configure the recipient, text,


and the condition for sending.
Windows CE does not support the sending of attach-
ments.

4.4 Uploading the project


• Click the button.
• Enter the IP address of the target device in the “Server”
text field.

Figure 8 Entering the email address

Figure 11 Uploading the project

110825_en_00 PHOENIX CONTACT 3/4


VISU+ EMAIL WITH WIN CE

• Click the “Upload Project!” button. 5 Troubleshooting


If sending emails on the device is unsuccessful, check the
following points via FTP or Cockpit (File Manager):
1 If the “alarmdispatcher.Dspt”, “SMTP.stg” configuration
files are not present in the “\FlashDrv\VisuProject” di-
rectory on the device:
Figure 12 Uploading Alarm Dispatcher configuration files • Open the “C:\ProgramData\Progea\AlarmDispatcher”
directory.
• Confirm the dialog with “Yes”. • Change the name of the “Settings.dspt” file to
The configuration files (“alarmdispatcher.Dspt”, “alarmdispatcher.dspt”.
“SMTP.stg”) of the Alarm Dispatcher as well as the • Copy the “alarmdispatcher.dspt” file and “SMTP.stg” to
“Starter.bat” file are transferred. the “\FlashDrv\VisuProject” directory on the device via
⇒ Restart the target device and verify that the alarm FTP or Cockpit.
emails are being sent. 2 If the “Starter.bat” file is not present in the “\FlashDrv”
directory:
• Create a “Starter.bat” file.
• Copy the following contents to “Starter.bat” and save
the file:
copy \FlashDrv\VisuProject\AlarmDispatcher.Dspt
\Windows
copy \FlashDrv\VisuProject\smtp.stg \Windows
• Copy the file to the root directory on the device via FTP
or Cockpit.
• Restart the device.
3 If the “Starter.bat” file does not contain the following
lines:
copy \FlashDrv\VisuProject\AlarmDispatcher.Dspt
\Windows
copy \FlashDrv\VisuProject\smtp.stg \Windows
• Add these lines to the “Starter.bat” file.
• Restart the device.
4 If the firewall is not configured for the corresponding
ports:
Protocol Port
SMTP 25
SMTP TLS 25 / 587
SMTP SSL 465
POP3 110
POP3 TLS
POP3 SSL 995
IMAP 143
IMAP TLS
IMAP SSL 993
• Configure the firewall of the computer and network or
ask your administrator.

110825_en_00 PHOENIX CONTACT GmbH & Co. KG • Flachsmarktstraße 8 • 32825 Blomberg • Germany 4/4
phoenixcontact.com

You might also like