#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 1999
    Location
    Canada, Toronto
    Posts
    103
    Rep Power
    15
    As subject says, does anyone have an idea if it's possible to send rich text emails using mail()?? If it's, does anyone have an example?

    Thank you.

    ------------------
    Alex D. G.
    http://www.alexdg.com

  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,646
    Rep Power
    4492
    it's probably just a matter of defining the correct type in the headers.

    mail($to,$subject,$message,$headers);

    if you have a rich text email, look through the header to see what the type was specified as, then use this in your php mail() command. for a html email i just got, it had

    Content-Type: text/html; charset=us-ascii

    hope that gives you some ideas...

    ---John Holmes

Similar Threads

  1. help with tables and wordwrapping
    By junkedBrian613 in forum PHP Development
    Replies: 2
    Last Post: February 15th, 2004, 05:42 PM
  2. input text : can an input text send 2 value
    By dbosz in forum PHP Development
    Replies: 1
    Last Post: January 28th, 2004, 05:41 AM
  3. how to keep table on top, not centered??
    By vinyl in forum HTML Programming
    Replies: 2
    Last Post: January 20th, 2004, 06:19 PM
  4. float question
    By yeah-yeah in forum HTML Programming
    Replies: 10
    Last Post: January 15th, 2004, 03:59 PM
  5. Javascript scrollbar - stuck on last bit
    By NayMyoSan in forum JavaScript Development
    Replies: 0
    Last Post: January 3rd, 2004, 12:05 PM

IMN logo majestic logo threadwatch logo seochat tools logo