Mail Portal

Instructions for integrating the SecuMailer mail portal widget with a website


In situations where SecuMailer is not able to securely deliver an email it will return the email to the SecuMailer environment. At this point there are two possibilities to deal with the non-delivery:

  • Accept non-delivery and find an alternative way to deliver the message, for instance via a physical letter

  • Retry delivery via a different channel, i.e. show the content of the message on a secure web page

This Integration Guide explains how to implement the second option, alternative delivery via a secure web page.


When the SecuMailer system is triggered that an email can’t be delivered due to an insecure connection to the recipient mail server it will activate its alternative delivery function.

The alternative delivery function creates a notification email containing a unique link. This unique link contains the senders secure website address and a unique identifier that is used by the SecuMailer Portal Script to retrieve the email.

The following process takes place when using the alternative delivery process.


The SecuMailer Portal Script will only work on a website that is secured with TLS. If a customer tries to integrate the script on an unsecured website, it will not activate. If a customer is not able to configure a secure website, it is possible to configure a specific delivery website for the customer . Please discuss this option with your SecuMailer account manager.


The sender needs to create an empty page on their website, paste in the SecuMailer supplied HTML + JavaScript code and configure the full url of this new page in the SecuMailer management portal ( After configuration of the portal url in the SecuMailer management portal the portal widget is active.

Portal code

Copy and paste the code snippet below on your web page.

<div id="portal"></div>
const portalId = 'portal';
<script src=""></script>

Last updated