Sending HTML content type emails from the 400

Is it possible to send an HTML content type email from the AS/400?

I have the HTML that I want to use stored in a database member.  I use the SNDDST command as follows:

SNDDST TYPE(*FILE) TOINTNET(SOMEONE@EMAIL.COM) DSTD('HTML TEST') DOCFILE(LIBNAME/FILENAME) DOCTYPE(*FFT) SNDFMT(*NOTE)

It sends the HTML code as text and I can't find a way to change the content type to HTML using MIME and the SMTP server doesn't seem to have a way to change it either.

Anyone know how to change the MIME type?
kdemariaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Theo KouwenhovenApplication ConsultantCommented:
Hi kdemaria,

I searched the internet for many weeks for a solution to create MIME/HTML mail.
I found some API or Java programs But...... not usable.

Check this page:

http://www-922.ibm.com/mmail/start

this tool is created by IBM Italy and gives you a complete set to send mail and very clear documentation how to create your own program with this.
You can even send mail with attachments!!
It's Freeware, but you have to register (to get info about new tools etc.)

After download you have to unzip the file (auto extract) and print the README.
If you don't follow the instructions it will not work (I tried it, and had to do it all over).
Beside the ReadMe file there is also a SAVF file with all sources (so you don't have to type any statement)

This Tool contains a full working application, but also a very clear "manual" how to use it in your own programs.

look at page 2 of the MMAIL site for the ILERPG example
http://www-922.ibm.com/mmailh/srvpgm.htm 

Regards,

Murphey

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.