preserve path-links of the img src="" in body mail message???

View: New views
5 Messages — Rating Filter:   Alert me  

preserve path-links of the img src="" in body mail message???

by Alexandre Pedroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
Firstly, sorry for English, its not good...
 
I use mhonarc to convert mail file to html file and i have one basic question.
 
Can i make the links to images in the body message are not changed by mhonarc?
 
Example:
 
<P align=center><IMG height=32 src="gifcLRVf7gvYJ.gif" width=200 border=0><BR><B><FONT face=Tahoma color=#cf094a size=4>MUITO BOM ESSE SISTEMA</FONT></B></P></TD>
 
The part in bold was changed by mhonarc. I need that the original path is maintained. Is it possible?
 
 
Thanks
 
 

"The box said: Requires MS Windows or better, so I instaled Linux"
 
 
Alexandre Pedroso
http://www.bind.com.br


Re: preserve path-links of the img src="" in body mail message???

by Earl Hood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On March 11, 2008 at 14:08, "Alexandre Pedroso" wrote:

> Can i make the links to images in the body message are not changed by
> mhonarc?

http://www.mhonarc.org/MHonArc/doc/faq/mime.html#filenames

--ewh


Re: preserve path-links of the img src="" in body mail message???

by Alexandre Pedroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2008/3/12, Earl Hood <earl@...>:
On March 11, 2008 at 14:08, "Alexandre Pedroso" wrote:

> Can i make the links to images in the body message are not changed by
> mhonarc?

>> http://www.mhonarc.org/MHonArc/doc/faq/mime.html#filenames

>> --ewh

 
Thanks for your answer.
 
This parameter works when I have an attachment in the message, but when I have just a link to an external address in the body of the message, the link is changed.
 
See the example bellow
 
Original line in the body message
 
<P align=center><IMG height=32 src=http://www.mysite.com.br/images/image1.gif width=200 border=0><BR><B><FONT face=Tahoma color=#cf094a size=4>Very good system</FONT></B></P></TD>
 
Mhonarc changed line in the body message
 
<P align=center><IMG height=32 src="gifcLRVf7gvYJ.gif" width=200 border=0><BR><B><FONT face=Tahoma color=#cf094a size=4>Very good system</FONT></B></P></TD>



--
"The box said: Requires MS Windows or better, so I instaled Linux"


Alexandre Pedroso
http://www.aplinux.com.br
 

Re: preserve path-links of the img src="" in body mail message???

by Earl Hood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On March 12, 2008 at 08:02, "Alexandre Pedroso" wrote:

> *Original line in the body message*
>
>  <P align=center><IMG height=32 *src=
> http://www.mysite.com.br/images/image1.gif* width=200
> border=0><BR><B><FONT
> face=Tahoma color=#cf094a size=4>Very good system</FONT></B></P></TD>
>
> *Mhonarc changed line in the body message*
>
> <P align=center><IMG height=32 *src="gifcLRVf7gvYJ.gif"* width=200
> border=0><BR><B><FONT face=Tahoma color=#cf094a size=4>Very good system
> </FONT></B></P></TD>

I'd have to see the original raw message to know for sure, but
my guess is that the message was an MHTML message, and the
image denoted by http://www.mysite.com.br/images/image1.gif
was embedded in the email message itself, so mhonarc used that
data.

You can do the following to disable MHTML processing:

<mimeargs>
m2h_text_html::filter; disablerelated allownoncidurls
</mimeargs>

But that may cause messages to not convert as you like if you
archiving many MHTML messages.  Also, the allownoncidurls
option (so the SRC attribute value is preserved) opens you
up to security vulnerabilities.

See the MIMEFILTERS resource page about the m2h_text_html::filter
for more information.

--ewh


Re: preserve path-links of the img src="" in body mail message???

by Alexandre Pedroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
> I'd have to see the original raw message to know for sure, but
> my guess is that the message was an MHTML message, and the
> image denoted by http://www.mysite.com.br/images/image1.gif
> was embedded in the email message itself, so mhonarc used that
> data.

> You can do the following to disable MHTML processing:

> <mimeargs>
> m2h_text_html::filter; disablerelated allownoncidurls
> </mimeargs>
 
OK. Thank you!!!
 
I did settings you said and now is working perfectly.
 
 

 
2008/3/14, Earl Hood <earl@...>:
On March 12, 2008 at 08:02, "Alexandre Pedroso" wrote:

> *Original line in the body message*
>
>  <P align=center><IMG height=32 *src=
> http://www.mysite.com.br/images/image1.gif* width=200
> border=0><BR><B><FONT
> face=Tahoma color=#cf094a size=4>Very good system</FONT></B></P></TD>
>
> *Mhonarc changed line in the body message*
>
> <P align=center><IMG height=32 *src="gifcLRVf7gvYJ.gif"* width=200
> border=0><BR><B><FONT face=Tahoma color=#cf094a size=4>Very good system
> </FONT></B></P></TD>

I'd have to see the original raw message to know for sure, but
my guess is that the message was an MHTML message, and the
image denoted by http://www.mysite.com.br/images/image1.gif
was embedded in the email message itself, so mhonarc used that
data.

You can do the following to disable MHTML processing:

<mimeargs>
m2h_text_html::filter; disablerelated allownoncidurls
</mimeargs>

But that may cause messages to not convert as you like if you
archiving many MHTML messages.  Also, the allownoncidurls
option (so the SRC attribute value is preserved) opens you
up to security vulnerabilities.

See the MIMEFILTERS resource page about the m2h_text_html::filter
for more information.

--ewh




--
"The box said: Requires MS Windows or better, so I instaled Linux"


Alexandre Pedroso
http://www.aplinux.com.br