Suomi.fi for Service Developers
Go directly to contents.

SMTP API

Please note that the old Suomi.fi Messages APIs are in maintenance mode, and no new functionalities are produced for them as a rule. All old APIs will be closed on 1 January 2027. This means that all services using Suomi.fi Messages must switch to the new REST interface before 2027.

The SMTP API is the simplest and usually the most low-cost option to connect to Suomi.fi Messages. It supports two-way messaging, but can only be used for sending electronic messages.

When using the SMTP API, messages are sent straight from your organisation's email service. The sending email address can be the address of an individual representative of your organisation, an anonymous service address or the address domain of the email of your entire organisation. The responses from end users can be configured to be delivered to another address than the one from which the messages were sent.

Your organisation's email domain is connected to Suomi.fi Messages via the Shared Integration Platform (VIA). The most important task in creating the connection is to force TLS encryption (Secure SMTP over TLS) between the IRHS server of the Central Government Network (VY) and the email server of an organisation that does not belong to the VYVI service.

SMTP API use case instructions

The SMTP API can be used for both sending electronic messages to end users and receiving electronic messages from them. The expandable sections below describe how these use cases function in practice. 


Updated: 17/3/2025

Are you satisfied with the content on this page?