Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2004
    Posts
    684
    Thanks
    24
    Thanked 1 Time in 1 Post

    htmlentities & email

    I'm doing htmlentities() on some data that users are submitting..... but then was wondering how you go about using this data with users that don't have HTML email capability....

    Like, if you send this data to someones email & they don't have HTML emails, then they will get the ugly HTML code.. any ideas!?

    Thanks!

  • #2
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    An email can contain both an HTML and a text version I believe.

    Perhaps the PHPMailer class that everybody seems to like affords that feature.

  • #3
    Senior Coder
    Join Date
    Apr 2005
    Location
    Colorado, United States
    Posts
    1,208
    Thanks
    0
    Thanked 0 Times in 0 Posts
    "$question = ( to() ) ? be() : ~be();"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •