We have been sending HTML email messages for a long, long time.
We use MAILTOOL (thanks Bradley) because we send email "on behalf" of many different addresses (i.e. from customerservice@<yourcompany.com>.
I use CGIDEV2 and HTML "Templates" saved on the IFS. The templates contain "constant data" and "variables" formatted in HTML, and arranged in "sections". In RPG, I build the HTML document(body) by populating the "variables" in the templates, writing the "sections", and saving the resulting HTML file. I then use the HTML document as the email body, and sometimes have have PDF or Excel attachments to go along with it.
We use this for all kinds of different notifications for our customers, invoices (with PDF attached), etc.
It works very well. And you can edit the "templates" in Notepad++ or similar.
Feel free to reach out directly if you want.
Greg
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of K Crawford
Sent: Friday, October 4, 2024 10:47 AM
To: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Sending HTML email from IBM
I am looking for a good way to modernize our emails coming from the IBMi.
In the planning now.
Currently they are just simple text emails. We would like to take advantage of HTML and embedding images etc. I have a POC of RPGMail that works but know this is outdated and dependent on the version of Java.
One thought I had is to create an email table that has the email information, Subject, body, address, status, sentDate, etc. and let some product read this table to send it. We do something like this for our text messages.
I am looking for recommendations on ways/products to do this. I am sure that management will say don't spend any money.
TIA.
--
Kerwin Crawford
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
[CAUTION! This email originated outside of the organization. Please do not open attachments or click links from an unknown or suspicious origin.]
Greg Wilburn
Director of IT
301.895.3792 ext. 1231
As an Amazon Associate we earn from qualifying purchases.