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



One option is to create the emails in HTML format using something like
CGIDEV2 or our eRPG SDK. The template system works pretty nice.

These not only write data to the web, but also can write data to the
IFS, so you could create all of your emails as HTML in the IFS, then
email them off.

I can't recall if Easy400's mail software allows you to specify a
stream file to be used as the body of the message, though. But our
MAILTOOL software does and I know others do as well.

A couple notes on HTML emails... the images are most likely going to
be stored on a server somewhere and referenced in your email (ie <img
src="http://images.myserver.com/images/name.jpg";).

Also, HTML email can be "turned off" on the client side. And,
rendering wont' be the same from client to client no matter how hard
you try.

If you are sending invoices it may be a better idea to look at
emailing them as PDF. That would be more consistent.

Our SPLTOOL software allows you to create a "pretty" overlay in PDF
and place it on the IFS. Then you can convert a spooled file and use
the PDF overlay in the document itself to spruce it up. Much easier
than AFPDS, and color can be used in the overlay.

Brad
www.bvstools.com

On Tue, Apr 24, 2012 at 9:48 AM, Wyatt, Chris (FGWA-IL)
<Chris.Wyatt@xxxxxxxx> wrote:
Chuck,

I've done this before with the Easy400 software.  I've done the bit with the graphics but I'm a little embarrassed to say that I don't remember exactly how I got it done.  It was a lot of trial and error.  And it was just RPG and some HTML.  There's some sample code in the library also.

I'd suggest starting here: http://www.easy400.net/mmail/start

And here: http://www.easy400.net/mmailh/srvpgm.htm

cw

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Chuck Eavers
Sent: Tuesday, April 24, 2012 9:30 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Looking to Email HTML type forms

I'm looking for someone to guide me on the correct path, what we are trying to do is email customers order/shipment confirmations in HTML format(company wants email to look pretty).  I've seen that easy400.net has a Mime&Mail utility that can send this information.  I guess what I'm looking for, is how RPG write/updates the HTML in IFS or do I need to use JAVA.  Also will need to use logo's and pictures with these emails but that's not important to me currently.  Not sure if this question is even in the right list.



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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.