|
-
May 16th, 2007, 01:17 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] dynamic newsletter
I want to make a newsletter email, that I can put HTML codes and send it to the users, are there any functions from PHP that enables HTML in mail()?
-
May 16th, 2007, 06:49 AM
#2
Re: dynamic newsletter
I consider HTML emails a bad idea. However, you can do them. See Example 1075 from the PHP: mail documentation.
-
May 17th, 2007, 12:57 AM
#3
Thread Starter
Frenzied Member
Re: dynamic newsletter
Why it's a bad idea? Like myspace, they have graphic newsletter, which I really like. Isn't that developed using mail with HTML enabled feature?
-
May 17th, 2007, 01:04 AM
#4
Re: dynamic newsletter
MySpace.com does not exemplify nor endorse proper web programming techniques.
Yes, you can send HTML emails. No, I don't like them. HTML is for web pages, not emails. Web sites can do content-type negotiation; emails offer no such facility. So if someone reads an HTML email in an email client that doesn't support HTML, they'll get gibberish.
You could argue that "rich" content types are a natural extension of SMTP, but they don't work well enough nor degrade with any sort of grace to really be sensible.
And yes: lots of people do use HTML emails. Most don't realise it (Outlook users...). I still think they're a bad idea.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|