Sending email as HTML - The given path's format is not supported

  • Thread starter Thread starter Kristijan Marin
  • Start date Start date
K

Kristijan Marin

Hi,

I would like to send email from my application by loading HTML file as a
template.

Everything worked fine until i added <IMG> tag with SRC option .... so if I
have:

<IMG > it's ok... but if I put <IMG SRC='http://<some address here' > then

I get : The given path's format is not supported.

Example which failes:
<IMG height=383
src="http://music.marvelhaiti.com/images/Rihana_marvelhaiti.jpg" width=538>


Would any one know why I can't send email containing absolute link to the
image ?
Is this some security issue ?

Thx,
Kris
 
Kristijan Marin said:
Hi,

I would like to send email from my application by loading HTML file as a
template.

Everything worked fine until i added <IMG> tag with SRC option .... so if
I have:

<IMG > it's ok... but if I put <IMG SRC='http://<some address here' >
then

I get : The given path's format is not supported.

Example which failes:
<IMG height=383
src="http://music.marvelhaiti.com/images/Rihana_marvelhaiti.jpg"
width=538>


Would any one know why I can't send email containing absolute link to the
image ?
Is this some security issue ?

Can you post the code?
 
Kristijan Marin said:
Would any one know why I can't send email containing absolute link to the
image ?
Is this some security issue ?

It should not be an issue when *sending* the email, only when *receiving*
it. Safe email clients will omit the images when displaying the email, to
avoid "leaking" information about the recipient. For example, you could send
an email to someone containing a link to a specific picture on your server.
This would allow you to determine the IP address of the email addressee, as
well as the time when he or she opend the email and how many times they have
read it. That's why client programs such as Windows Mail do not display the
images in mail messages and warn the user by means of a yellow bar on top of
the message when this happens.
However, this does not explain why you can't send the message. Sending
the links should not pose a security risk for the sender.
 
Back
Top