× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Greg, thanks for the information.
Using SNDSMTPEMM I have a POC program using a HTML template just like you
are referring to. I am using 3 C API's (_C_IFS_fopen, _C_IFS_fgets,
_C_IFS_fclose) to read the HTML on the IFS. load this into the body parm
of SNDSMTPEMM command, substituting the "variables" as needed.
Now just waiting for management to say do it.
Kerwin

On Tue, Oct 8, 2024 at 12:42 PM Greg Wilburn <
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

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
--
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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.