Mailhandling
This topic describes how to configure, start, and test messaging services within Bizview.
This topic contains the following sections:
- Configure E-mail Settings in Application Settings
- Configure SMTP Server Settings in Application Settings
- Start Bizview Messenger Service
- Start Service from Bizview Application
- Configure Workflow Mailhandling in Application Settings
- Run Script to Test Messenger Servers
Configure E-mail Settings in Application Settings
First, the application setting E-mail server needs to be configured.
Access the E-mail tab by following the path: System Options > Application Settings > E-mail:
Add row in the app.messages table:
status 0
message_type PLAIN (eller HTML)
format null
from_address no-reply@bizviewsystems.com
Configure SMTP Server Settings in Application Settings
Next, configure the SMTP Server Settings.
Access the E-mail tab by following the path: System Options > Application Settings > E-mail:
Enter the address of SMTP server.
Enter the username and password, if required by SMTP server.
Start Bizview Messenger Service
Caution: Deprecated. Messenger Service has been merged into Processing Service from version 8.8.
Start Service from Bizview Application
From Bizview 7.2, you have the option to start/stop/view services from within Bizview.
Access Services by following this path: System Administration > System Options > Maintenance > Services:
Click Start in the ribbon to start the service:
Configure Workflow Mailhandling in Application Settings
To read about the settings that need to be defined to trigger mails from workflow, see Workflow Mailhandling.
Run Script to Test Messenger Services
It is possible to run a script to test the message service.
INSERT INTO [app].[messages]([message_id]
,[status]
,[message_type]
,[format]
,[from_address]
,[to_address]
,[from_name]
,[subject]
,[body]
,[upd_user_id]
,[updated]
,[send_after]
,[fail_message])select newid() as message_id,
0 as status,
'PLAIN' as message_type,
null as format,
'<exchange with e-mail adress>' as from_address,
'<exchange with e-mail adress>' as to_address,
'Bizview Automatic Email' as from_name,
'This is a test!' as subject,
'This is the text in the mail body' as body,
'SETUPUSER' as upd_user_id,
getdate() as updated,
null,
null
Next step:Workflow Mail Handling