A Simple Example of “Minimalist IT” If you’re an SAP developer working or consulting for a wealthy and forward-thinking SAP customer (like the one I’m consulting for now), then the task of sending lengthy formatted multi-line emails out of SAP is trivial. But what if you’re at a site that can’t take advantage of the cool stuff that SAP provides to do this? (The stuff that many who post here take for granted.) I was recently working for a different customer whose security requirements prevented installation of any reasonable “modern” way to send any old email out of SAP, much less lengthy formatted multi-line emails. So of course, one of the consultants on site had already dipped into his ditty-bag and pulled out the usual function module that submits an SMTP “send” command to the OS (UNIX in this case). And this permitted very simple emails to be sent out of SAP, subject to the limitation on the size of the variable that could be passed to the FM for the actual text of the email. But what about long formatted multi-line emails? Well, those of you who have gotten fat and lazy because SAP now makes everything easy for you may have to think about this one for a little while. But for those self-reliant and hardy poor folk who know how to “make do”, there’s a simple and straightforward answer to this question. And, it can even be elaborated to allow for variable substitutions in the body of the email text. Do you know what it is? If not, should you? * Commented-out note: * (Note: discretionary points WILL be awarded if anyone * comes up with an even more minimal solution than * the one we used.) Amended note: As per Craig’s comment below: Craig will award 100 points to anyone who comes up with a simpler solution than taking advantage of the basic properties of the UNIX command line to pipe a cat file command to an SMTP send command. PS – Craig wants to allow non-email solutions in this contest, so since he’s awarding the points, he’s the boss. But I was really interested in solutions that actually send email via native OS mechanisms for doing so.