iris-mail

Downloads9
Subscribe
0
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues
Articles
Dependants

What's new in this version

Embedded Python

iris-mail

This app serves as a substitute for mail server. I created it to do load testing on an app which sends messages to a mail server. The people responsible for the mail server do not want to receive thousands of messages whenever I do load testing.

I start iris-mail in a container and redirect the messages from the real mail server to the substitute. I can review messages in iris-mail to confirm the correct number of messages have been received.

Prerequisites

Make sure you have git and Docker desktop installed.

Installation ZPM

zpm "install iris-mail"

Installation docker

Clone/git pull the repo into any local directory

git clone https://github.com/oliverwilms/iris-mail.git

Open the terminal in this directory and run:

docker-compose build
  1. Run the IRIS container with your project:
docker-compose up -d

IRIS terminal:

docker-compose exec iris iris session iris
write ##class(dc.iris.mail.EmbeddedPython).getProductionName()

Python Shell

do ##class(%SYS.Python).Shell()

Online Demo

screenshot

You can find online demo here - portal or webterminal

screenshot

Settings

iris-mail uses port 30025 to receive mail. If you have outbound email operation sending to iris-mail, configure it with your iris-mail IP address.

screenshot

IPM installation
zpm "install iris-mail"
Rating
4.5 (1)
ObjectScript quality test
Passed
Updated on 08 June 2023
ObjectScript quality report
Category
Integration
Works with
InterSystems IRIS
Tags
Info
Version
1.0.1
Last updated
2022-05-30
Repository
Open
Documentation
Open
License
Link