Oh!  This is driving me batty!  I have tried every combination to get 
this to send an email to Thunderbird

This command assembles the letter, but leaves out the carriage returns
"C:/Saint Cuthbert/Programming/BGM Programs/mailto/makemail.exe" 
&(recipient) "&(subject)" &(body)
The other commands I have tried won't include the body.
The ini.get lines should end up like this:
     local Sheets = 199
etc.
I tried to create the mailto function using the standard configuration 
and pp's escape characters made it impossible to send a body for an email.

So I tried it in C, and it works, except I can't get pp to send any 
carriage returns.
But my little C app (also called makemail.exe) will work via a batch file.
At the bottom of the function is the command I tried for that app.
It's syntax is this:  makemail [email protected] "subject in quotations" And 
whatever is left on the command line is the body.
--------------------------------------------------

function MakeMail()
     ....@varlist()
     local makemail = "C:/Saint Cuthbert/Programming/BGM 
Programs/mailto/makemail.exe"
     local HostiaINI = ini.get(HostiaCatalog,"Current","HostiaINI")
     local TRMONTH = ini.get(HostiaINI, "TreasureBox","TRMONTH")

     local Sheets =     ini.get(TRB, TRMONTH,"Sheets")
     local Offerings =     ini.get(TRB, TRMONTH,"Offerings")
     local Masses =     ini.get(TRB, TRMONTH,"Masses")
     local Communions = ini.get(TRB, TRMONTH,"Communions")
     local Spiritual =     ini.get(TRB, TRMONTH,"Spiritual")
     local Sacrifices = ini.get(TRB, TRMONTH,"Sacrifices")
     local Decades =     ini.get(TRB, TRMONTH,"Decades")
     local Visits =     ini.get(TRB, TRMONTH,"Visits")
     local Silence =     ini.get(TRB, TRMONTH,"Silence")
     local Examples =     ini.get(TRB, TRMONTH,"Examples")

     local recipient = "[email protected]"
     local subject = "District Treasure for the Month of "++TRMONTH
     local body = subject ++ ;;+
         "\rOfferings = "    ++Offerings    ++ ;;+
         "\rMasses = "        ++Masses        ++ ;;+
         "\rCommunions = "    ++Communions    ++ ;;+
         "\rSpiritual = "    ++Spiritual    ++ ;;+
         "\rSacrifices = "    ++Sacrifices    ++ ;;+
         "\rDecades = "    ++Decades        ++ ;;+
         "\rVisits = "        ++Visits        ++ ;;+
         "\rSilence = "    ++Silence        ++ ;;+
         "\rExamples = "    ++Examples        ++ ;;+
         "\r  "                                ++ ;;+
         "\rSheets = "        ++Sheets

     ;local thunderbird = 
?"G:\Control\Programs\Thunderbird3\ThunderbirdPortable.exe"
     do(thunderbird, "-compose 
"++?|mailto:";|++recipient++?|"?subject="|++subject)

     ;"C:/Program Files/Programs/makemail.exe" &(recipient) "&(subject)" 
&(body)
     ;do(makemail, &(recipient) "&(subject)" &(body))
     quit


[Non-text portions of this message have been removed]

Reply via email to