w dokumentacji znalazłem coś takiego
<?php setHTML($html[, $images_dir]) Sets the HTML part of the email. When you do this the class will try to find any images used in the HTML in images directory you have given. If it finds them, it will embed them. $mail->setHTML('The <b>HTML</b> part', './images'); ?>
ale jak u siebie robię coś takiego
<?php $mail->setHTML($html, './newsletter_temp/userfiles/image/'); ?>
to niestety nie ma obrazków w wiadomości... i na poczcie ścieżki do obrazków mam poczta.o2.pl/newsletter_temp/userfiles/image/obrazek.jpg...
Czy może muszę treść emaila jeszcze inaczej zakodować typu
<?php setHTMLEncoding($encoding) This is an encoding object to use when encoding the HTML. ?>
