Glenn McCorkle wrote:
>
> On Thu, 06 Apr 2000 13:04:17 -0500, Clarence Verge wrote:
>
> > No, my experiment showed that the data is still in TEXTAREA.tmp. All Michael
> > has to do is load the contents of TEXTAREA.tmp into the compose window every
> > time it comes up.
>
> > And, make sure it has NO contents when you are finished with it.
> > i.e. delete it on SAVE or SEND.
>
> The first portion is easy.
> Just change this line in sendmail.ah
> <TEXTAREA COLS=74 ROWS=26 NAME="$BODY" WRAP="Yes" ARACHNEROWS></TEXTAREA>
>
> Insert this..... ARACHNEEDITOR=TEXTAREA.TMP
> just after ARACHNEROWS
Absolutely EXCELLENT Glenn !
I tried it and it works. It's a MAJOR improvement over a blank window. <G>
I don't think we need to really worry about the use of TEXTAREA.tmp for
Javascript that Bernie found. Since Javascript doesn't work yet, it would
be a good idea to re-direct that to the bit bucket. Might be an improvement.
> I'll look into the posibility of deleting textarea.tmp when either the
> "save to outbox" or the "send mail now" buttons are pressed.
>
> I'm sure it can be done with just a couple of small changes.
>
> All we need to do is figure-out a way to automatically call this .DGI
> when either of those buttons is pressed.
>
> ---new line to be added to mime.cfg----
> file/deltextareatmp.dgi |del $etextarea.tmp
Well, I looked at those button lines in Sendmail.ah and I don't understand
Arachne or HTML enough to do it myself. :(
If it was a <FORM ACTION> tag I think an example I found on desktop might work-
"file://send1.dgi" and "file://send0.dgi". These DGIs would perform "SMTP" and
delete or "SAVE" and delete.
But I don't know if you can replace "SUBMIT" with "FORM ACTION", and I don't
know how to make the DGIs do two things sequentially without calling a .bat.
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
--