Logo disappear in mail sent
Posted: 22 Jul 2009, 17:58
Hy Jan !
I'm back with a new little problem ... and a weird one !
I use your bill component with pleasure, it work just fine. But lately i've found something annoying : the logo in the mail used to send the bill simply don't show up ! (the mail it coded in the common/french.php file)
And the weird thing : I have 2 websites :
1- the production one, let's say it's called http://www.mydomain.com
2- the test one, let's say it's called http://test.mydomain.com
For the test sites it works, not for the production one !
I've noticed that for the production site, the image URL "forget" the domain name, when i look the properties of the mail, it just shows : /images/stories/picture.gif, not http://www.mydomain.com/images/stories/picture.gif
Again, for the test site it works, and call the picture on the production site, as the french.php file are the same for both sites !
Below the mail code,
Thanks in advance for your help !
Ed
I'm back with a new little problem ... and a weird one !
I use your bill component with pleasure, it work just fine. But lately i've found something annoying : the logo in the mail used to send the bill simply don't show up ! (the mail it coded in the common/french.php file)
And the weird thing : I have 2 websites :
1- the production one, let's say it's called http://www.mydomain.com
2- the test one, let's say it's called http://test.mydomain.com
For the test sites it works, not for the production one !
I've noticed that for the production site, the image URL "forget" the domain name, when i look the properties of the mail, it just shows : /images/stories/picture.gif, not http://www.mydomain.com/images/stories/picture.gif
Again, for the test site it works, and call the picture on the production site, as the french.php file are the same for both sites !
Below the mail code,
Is there something wrong here ?!<html>
<head>
<body>
<table style="height: 190px;" width="617" align="center">
<tbody>
<tr>
<td rowspan="5" style="border-left:1px solid #CFCFCF; border-top:1px solid #CFCFCF; border-bottom:1px solid #CFCFCF"></td>
<td style="border-top:1px solid #CFCFCF"></td>
<td rowspan="5" style="border-top:1Px solid #CFCFCF; border-right:1Px solid #CFCFCF; border-bottom:1Px solid #CFCFCF;"></td>
</tr>
<tr>
<td><img src="http://www.mondomaine.com/images/storie ... r-mess.gif" alt="Mon Domaine" title="http://www.mondomaine.com"></td>
</tr>
<tr>
<td height="15"></td>
</tr>
<tr>
<td>
<p>Cher(ere) client(e), <br /><br /> Nous vous remercions pour votre commande dont vous trouverez ci-joint la facture au format PDF.<br />
Les articles commandes ont ete expedies.<br /> Nous esperons que votre commande vous apportera entiere satisfaction.</p>
<p>A bientot, <br /><br /> L\'Equipe mondomaine <br /> <br /><strong> Mon Ddomaine</strong><br /> http://www.mondomaine.com <br /> contact@mondomaine.com</p>
</td>
</tr>
<tr>
<td height="30px" style="border-bottom:1px solid #CFCFCF;"></td>
</tr>
</tbody>
</table>
</body>
</head>
</html>
Thanks in advance for your help !
Ed