At the moment when we send a message in what we think is html format
it is received as plain text containing all the html scripts
Spencer
:) Is this possible? We are using version 4.58 Compliled under SCO
:) openServer5 and Unixware 7.1.3
:)
:) At the moment when we send a message in what we think is html format it
:) is received as plain text containing all the html scripts
Hi,
You should try to change the mime type of the message. Here's how to
change the type to text/html:
Create a script, which we will call, change_mime. Your script should say
something like the following:
#!/bin/sh
echo -n "Content-Type:text/html" > $2
remember to give yourself execution permission for this file.
Go to your configuration file, and where it says sending-filters it should
say:
sending-filters=/full/path/to/change_mime _TMPFILE_ _MIMETYPE_
Now when you press ^X to send the message you should be able to select the
filter "change_mime" when sending a message that you would like the
recipient to receive in text/html Content-Type.
Tip: After you do this take a look at the following configuration:
compose-send-offers-first-filter and read its help in order to understand
what it does.
thank you for this. It gives us partially what we need.
If we compose a message from within pine it all works fine.
we can use ^R to import an html message body and when sending we get
an automatic filter through the file we created as per your
instructions.
If we send the message direct from the command line using something
like
pine -i "^X,y" -subject tester spe...@3ex.co.uk < /tmp/file.html
then we receive plain text still. Is there any way to overcome this?
Being rarther stupid I forgot to mention we had compiled pine with the
outgoing patch so we can send from command line.
Kind regards
Spencer.
:) If we send the message direct from the command line using something
:) like
:)
:) pine -i "^X,y" -subject tester spe...@3ex.co.uk < /tmp/file.html
:)
:) then we receive plain text still. Is there any way to overcome this?
Dear Spencer,
I am rewriting parts of the code of the patch so that will be possible.
If you write to me off the newsgroup I can send you a patch for you to
test.
Thanks!