You are here: Re: HTML - EMAIL Problem « All PHP « IT news, forums, messages
Re: HTML - EMAIL Problem

Posted by Michael Landin Hostbaek on 10/13/13 11:27

Dave tried to tell us something, and all I got was:
> I'm having a problems sending out graphics in an HTML email.
>
> The headers are;
>
> $headers = 'MIME-Version: 1.0' . "\r\n";
> $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
> $headers .= "Content-Transfer-Encoding: 7bit\r\n";
> $headers .= "From: " .$from . "\r\n";
>
> I can send HTML emails with other tags working (H1 etc) but can't get absolute
> links or styles to work either.

The smart to this is to not attach the image to mail, but only the link
(and make sure that the image/stylesheet is on a publicly available
webserver).

--
Michael L. Hostbaek
FreeBSD mich 7.0-CURRENT FreeBSD 7.0-CURRENT
Thu Sep 8 20:08 CEST 2005 root@mich:/usr/obj/usr/src/sys/S7010-1 i386

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация