Community Discussions and Support
Pmail under Linux/wine crashes when opening an html message

Hi,


I run Pmail 4.81 under LInux with Wine. Everything works fine except when opening an html messages the program crashes. Any ideas?


Best,
Andreas


Hi, I run Pmail 4.81 under LInux with Wine. Everything works fine except when opening an html messages the program crashes. Any ideas? Best, Andreas

All HTML messages or only certain ones?


All HTML messages or only certain ones?
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

It concerned all messages. I did a little bit of research and renamed 2 Ierenderer files. Now it does not crash any longer but the display of html messages is somehow limited.


It concerned all messages. I did a little bit of research and renamed 2 Ierenderer files. Now it does not crash any longer but the display of html messages is somehow limited.

If it concernes all HTML messages and you were using the latest version of IERenderer it's a WINE issue we can't do anything about (in fact they even don't want us to - and since IE is out of global MS support (though still being kept alive for special purposes) they have a good reason for doing so as well). If you would want to give the most recent IER version a try see the link to its history page down below in my signatue.


If it concernes all HTML messages and you were using the latest version of IERenderer it's a WINE issue we can't do anything about (in fact they even don't want us to - and since IE is out of global MS support (though still being kept alive for special purposes) they have a good reason for doing so as well). If you would want to give the most recent IER version a try see the link to its history page down below in my signatue.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Thank you Michael, but updating IERenderer does not help.


I think I can live with the alternative renderer.


Thank you Michael, but updating IERenderer does not help. I think I can live with the alternative renderer.

You may also want to try disabling BearHtml as well - which is the one taking over when IER is disabled (just renaming BearHtml.dll should do the job): The built-in renderer (associated with PM's third party editor) might do better (although it has its issues as well).


BTW: IER can be uninstalled using the Windows control panel for uninstalling any and (almost) all Windows applications, you don't need to rename anything for doing so. I don't know whether WINE supports this properly either, though.


You may also want to try disabling BearHtml as well - which is the one taking over when IER is disabled (just renaming BearHtml.dll should do the job): The built-in renderer (associated with PM's third party editor) might do better (although it has its issues as well). BTW: IER can be uninstalled using the Windows control panel for uninstalling any and (almost) all Windows applications, you don't need to rename anything for doing so. I don't know whether WINE supports this properly either, though.
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Thanks, just tried, but I do not see any difference. The issue I have in both (bearhtml and internal renderer) is that once I have downloaded pictures, links are no longer clickable, until I reformat the lines (F5). Not ideal, but as said I can live with it.


Thanks, just tried, but I do not see any difference. The issue I have in both (bearhtml and internal renderer) is that once I have downloaded pictures, links are no longer clickable, until I reformat the lines (F5). Not ideal, but as said I can live with it.

As a user of Pegasus under wine with Fedora 39 Linux at moment, some things I've found.
As has been stated the IERender uses calls that wine doesn't support, so normally the best thing is to use the uninstall program and completely remove IERender. Have also found that the 4.8x version have updated TER32 and HTS32. That do a pretty good job of supporting html emails.
I also added 94208 Mar 22 2022 TXML2.DLL that I found at the company site that makes the TER32 and HTS32. Not sure if it does more, but does seem to be accessed if there..


So, I also remove BEARHTML files as well. so it uses the TER32,HTS32, and TXML2 files.


Have a little issue with some Amazon messages that don't display correctly, but have a little script that can correct those.


#!/usr/bin/bash
sed -i 's</b> <br /> </p>=20</b><br /></p></td>_g' $1


Just pass it the cnm file name, and it cleans issue.


Also, have a more complex script that I use to allow options to open messages with the native 64 bit browsers of Linux rather than running one installed in wine.


/usr/bin/pegfire (sometimes using different browsers will display messages differently).


#!/bin/sh
input=$1
input1=${input:0:1};
link=$1
echo $1 $2 $3 $4 $5 $6 $7 >>/tmp/pegattach
xx=""
if [[ $input1 != "F" && $input1 != "H" && $input1 != "h" ]]; then
link=https://duckduckgo.com/?q=\"$1+$2+$3+$4+$5+$6+$7\";
fi
if [ "$input1" = "F" ]; then
{
link=$(echo "$link" |sed 's\/g;s_localhost'$HOME'_;s~C:/~.wine/drive_c/~'smile
file=$(echo $link|cut -b 7-200| tr -d '\n' | tr -d '\r'smile
sleep 1
xx=$(grep "<html" <"$file"| tr -d '\n' |tr -d '\r'smile
if [ -z "$xx" ] ; then
filex=$file"L"
echo "<html><body><PRE>" >$filex
cat $file >>$filex
echo "</PRE></body></html>">>$filex
link=$link"L"
fi
}
fi
Xdialog --radiolist "Browser to Use\n$1\n[$xx]\n" 30 160 6 \
chromium-browser chromium-browser off\
google-chrome google-chrome off\
firefox firefox on\
chromium-browser\ --incognito chromium-browser\ --incognito off\
google-chrome\ --incognito google-chrome-incognito off\
firefox\ --private-window firefox\ --private-window off\
2>/tmp/browser
retval=$?
browser=$(cat /tmp/browser)
if [ $retval -eq 255 ] ; then browser="firefox"; retval=0; fi;
app="";
case $retval in
0)
if [ "${browser:0:1}" = "c" ] || [ "${browser:0:1}" = "g" ] ; then
app=" --app="
fi
touch /tmp/pegattach
chmod 666 /tmp/pegattach
echo $link >>/tmp/pegattach
echo $browser $app$link >>/tmp/pegattach
$browser $app$link;;
1)
echo "Cancel or Esc pressed.";;
255)
echo "Would have been timeout value pressed.";;
esac


Have to tell Pegasus to run that script for html files, and it does require xdialog to be installed.


I also use the wineHQ winehq-devel-9.2-1.1.x86_64 instead of the default fedora distro version of wine.


Hope that helps.


As a user of Pegasus under wine with Fedora 39 Linux at moment, some things I&#039;ve found. As has been stated the IERender uses calls that wine doesn&#039;t support, so normally the best thing is to use the uninstall program and completely remove IERender. Have also found that the 4.8x version have updated TER32 and HTS32. That do a pretty good job of supporting html emails. I also added 94208 Mar 22 2022 TXML2.DLL that I found at the company site that makes the TER32 and HTS32. Not sure if it does more, but does seem to be accessed if there.. So, I also remove BEARHTML files as well. so it uses the TER32,HTS32, and TXML2 files. Have a little issue with some Amazon messages that don&#039;t display correctly, but have a little script that can correct those. \#!/usr/bin/bash sed -i &#039;s_&lt;/b&gt; &lt;br /&gt; &lt;/p&gt;=20_&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;_g&#039; $1 Just pass it the cnm file name, and it cleans issue. Also, have a more complex script that I use to allow options to open messages with the native 64 bit browsers of Linux rather than running one installed in wine. /usr/bin/pegfire (sometimes using different browsers will display messages differently). \#!/bin/sh input=$1 input1=${input:0:1}; link=$1 echo $1 $2 $3 $4 $5 $6 $7 &gt;&gt;/tmp/pegattach xx=&quot;&quot; if [[ $input1 != &quot;F&quot; &amp;&amp; $input1 != &quot;H&quot; &amp;&amp; $input1 != &quot;h&quot; ]]; then link=https://duckduckgo.com/?q=\&quot;$1+$2+$3+$4+$5+$6+$7\&quot;; fi if [ &quot;$input1&quot; = &quot;F&quot; ]; then { link=$(echo &quot;$link&quot; |sed &#039;s_\\_/_g;s_localhost_&#039;$HOME&#039;_;s~C:/~.wine/drive_c/~&#039;) file=$(echo $link|cut -b 7-200| tr -d &#039;\n&#039; | tr -d &#039;\r&#039;) sleep 1 xx=$(grep &quot;&lt;html&quot; &lt;&quot;$file&quot;| tr -d &#039;\n&#039; |tr -d &#039;\r&#039;) if [ -z &quot;$xx&quot; ] ; then filex=$file&quot;L&quot; echo &quot;&lt;html&gt;&lt;body&gt;&lt;PRE&gt;&quot; &gt;$filex cat $file &gt;&gt;$filex echo &quot;&lt;/PRE&gt;&lt;/body&gt;&lt;/html&gt;&quot;&gt;&gt;$filex link=$link&quot;L&quot; fi } fi Xdialog --radiolist &quot;Browser to Use\n$1\n[$xx]\n&quot; 30 160 6 \ chromium-browser chromium-browser off\ google-chrome google-chrome off\ firefox firefox on\ chromium-browser\ --incognito chromium-browser\ --incognito off\ google-chrome\ --incognito google-chrome-incognito off\ firefox\ --private-window firefox\ --private-window off\ 2&gt;/tmp/browser retval=$? browser=$(cat /tmp/browser) if [ $retval -eq 255 ] ; then browser=&quot;firefox&quot;; retval=0; fi; app=&quot;&quot;; case $retval in 0) if [ &quot;${browser:0:1}&quot; = &quot;c&quot; ] || [ &quot;${browser:0:1}&quot; = &quot;g&quot; ] ; then app=&quot; --app=&quot; fi touch /tmp/pegattach chmod 666 /tmp/pegattach echo $link &gt;&gt;/tmp/pegattach echo $browser $app$link &gt;&gt;/tmp/pegattach $browser $app$link;; 1) echo &quot;Cancel or Esc pressed.&quot;;; 255) echo &quot;Would have been timeout value pressed.&quot;;; esac Have to tell Pegasus to run that script for html files, and it does require xdialog to be installed. I also use the wineHQ winehq-devel-9.2-1.1.x86_64 instead of the default fedora distro version of wine. Hope that helps.

mikes@guam.net

live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft