Printing is only one way to share reports. Felix provides code for
re-inventing hold files as PDFs and as email.
Many legacy MultiValue applications were written long before the invention
of e-mail and the Internet. In that e-mail is now an integral part of
everyday business, it is surprising how many of these systems have never
been updated to use it in even its simplest form. Part one of this series of
articles will show you how to get started in rectifying that situation.
Part 1 of this series of articles showed you how to construct an e-mail,
including the necessary items in the header and body. So now you have it,
what do you do with it? There are a variety of ways to actually send e-mail.
We start by introducing you to SMTP using Microsoft's Internet Information
In the first two articles in this series, you learned how to construct an
e-mail with the required header lines and a body. You were then introduced
to SMTP using Microsoft's Internet Information Server. Now we take a look at
the granddaddy of Internet mail — the venerable Sendmail.
Continuing the discussion of interfacing MultiValue programs with e-mail,
this part of the series of articles discusses talking directly to an SMTP
server by using sockets. Although the actual details of opening, writing to,
and reading from a socket differ from platform to platform, when you have
made connection, the SMTP dialogue is remarkably straightforward.
In the early days of e-mail, text was King. If you dared use that horrible,
evil, Microsoft Outlook mailer and sent HTML-based e-mail, you had better be
wearing asbestos underwear, because you were going to get flamed. Today,
HTML e-mail is the norm for all large businesses (at least in the USA), and
the text-only pundits are considered to be somewhat Luddite. Then came
mobile devices with small, hard to read screen sizes. What to do? What to
do? Enter the realm of multipart html/text e-mail.
In these articles have discussed various ways of sending e-mail, both plain
text, HTML-based, and multipart containing both. This last part in this
series on Sending E-mail from MultiValue applications discusses the topic
and techniques for including attachments.