Results 1 to 4 of 4

Thread: [RESOLVED] dynamic newsletter

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    Resolved [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()?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: dynamic newsletter

    I consider HTML emails a bad idea. However, you can do them. See Example 1075 from the PHP: mail documentation.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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
  •  



Click Here to Expand Forum to Full Width