You are here: Re: PHP email function « PHP Programming Language « IT news, forums, messages
Re: PHP email function

Posted by John Dunlop on 12/17/64 11:51

roger.rigsby@gmail.com:

> I have a working email functionality on my site but there's a problem
> with links. I really want to use the "send this article by email" sort
> of functionality on my site. But instead of emailing the entire
> article I just want the email to include a link to the article and
> ofcourse with query strings and all that sort of stuff the link could
> be quite long. In an attempt to make the links look good and mask all
> of the details I include the link in an html tag, so a very simple < a
> href = " wwwwww.whatevert....com " > Click here < /a >
>
> The problem is that it doesn't work the HTML code doesn't work in
> emails. What's the solution. I even tried typing out an html coded
> email using my email client and that didn't work so I guess there's
> just an issue with email and html.

I would agree that there is an issue with HTML in e-mails. There is
a body of opinion that says that e-mail and HTML don't click. They
don't get on. Assuming you have considered this...

Couple of questions. Is the Content-Type of the body part set to
text/html? That is, have you told the mail client what format the
message is in? Does the user-agent support, and is it configured to
interpret HTML mail?

One of the design principles of URLs is that they have fewer than ~70
characters, so that they fit on a single line in, for example, e-mails.
Are you perhaps addressing the symptom rather than the cause?

--
Jock

 

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

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