Hello y'all!
Some time ago we discussed how to generate an email for your email
client using the commandline. I had mentioned that I wrote a program
(executable) that will do this. Well, here is a powerpro script that
will interface to that program. This is assuming that the \ is your
escape character.
;using the makemail.exe program
function makemail(recipient, cc, bcc, subject, body)
local makemail = "C:/Program Files/makemail/makemail.exe" ;;or
whatever your path is set to
local paramstring = recipient++" "++cc++" "++bcc++"
\x22"++subject++"\x22 "++body
local paramstring = replacechars(paramstring,"\n","%0D")
local paramstring = replacechars(paramstring,"\r","%0A")
do(makemail, paramstring)
quit
You may download makemail.exe from here (direct link):
http://www.sspxusa.org/goodies/makemail.zip
God bless!
- Brother Gabriel-Marie