Developer forum

Forum » Development » Include images in email.

Include images in email.

Dmitrij Jazel
Reply

Hi everyone,

Customer uses images in "remind me password" feature email template.

Issues are as follows:

1) Email is not beying send unless image "src" is "/Files/Images/whatever.png". If I try using "no.sitename.dk/Files/Images/whatever.png" email is not beying send.

At the same time DW does not generate error message or anything like that.

2) When customer receives email i gmail this is how sourcecode looks like:

http://screencast.com/t/yrinyQnJ03

It adds this overhead. Any idea why, or any recomendations how to avoid that?

Any comments are more than welcome.

 

/Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

You can do that! smiley

Votes for this answer: 1
 
Dmitrij Jazel
Reply

Pressing "Enter" prematurely will result in instant empty Forum post :)

 
Nicolai Høeg Pedersen
Reply

Can you attach your template and a screendump of how you have set this up?

 
Dmitrij Jazel
Reply

This is whole email template, anything suspicious? Website has a whole website (Area) access restricted http://screencast.com/t/xyNdAgyQ6F:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
  <title></title>
  <style>
  .MailTable {
    border: 1px solid black;
  }
  
  .TableRow {
    
  }
  
  .TableCellName {
    background-color:#e1e1e1;
    font-weight:bold;
    width:150px;
  }
  
  .TableCellValue {
  
  }
  body, td {
    font-family:calibri;
    font-size:14px;
  }
  </style>
</head>

<body>
<p>Hei,<br/>
  <br/>
  Du mottar denne eposten fordi du har bedt om &aring; f&aring; tilsendt innloggingsinformasjon til Kull sin B2B webshop. Dersom det er tomt p&aring; passord legges det ikke inn noe der.<br/>
  <br/>
  Brukernavn: <!--@DWExtranetUsername--><br/>
  Passord: <!--@DWExtranetPassword--><br/>
  <br/>
  Klikk p&aring; knappen under for &aring; g&aring; til dine sider:</p>
<p><a href="http://b2b.kull.no/Min-side.aspx"><img src="/Files/Images/Email/logginn.png" width="200" height="56" alt="Trykk her for å logge inn"/></a></p>
<p>
  Dersom dette er f&oslash;rste gang du logger deg inn, ber vi deg om &aring; lage nytt passord etter du har logget deg inn. <br>
  N&aring;r du har logget deg inn kommer du til kundedetaljer. Nederst p&aring; denne siden finner du en knapp som heter &quot;Endre passord&quot;.
</p>
<p><a href="http://b2b.kull.no/Min-side.aspx"><img src="/Files/Images/Email/change_pwd.png" width="500" height="173" alt="Logg inn"/></a></p>
<p>P&aring; Mine sider vil du finne kundedetaljer, ordreoversikt, kreditnotaoversikt og fakturaoversikt.</p>
<p>Med vennlig hilsen</p>
<p>Kull AS<br>
  Gulldalsvei 89A<br>
  1169 Oslo</p>
<p>
  <a href="mailto:firmapost@kull.no">firmapost@kull.no</a><br>
  <a href="http://www.kull.no">www.Kull.no</a></p>
</body>
</html>​


 
Dmitrij Jazel
Reply

Ok, I think we found the solution... sorry for bothering :-(

We used full urll "http://b2b.kull.no/Files/Images/whatever.png" and it worked.

Yesturday when we attempted to do the same, we where not able to get the email. But now it is OK.

 

 
Nicolai Høeg Pedersen
Reply

ok, great!

 

You must be logged in to post in the forum