SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard cmuench's Avatar
    Join Date
    Jul 2005
    Location
    At my computer
    Posts
    2,251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mail encoding problem.

    I send an email through php using the mail() command. however the ' character is showing up as
    Hi! I’m for my users. Here is my current mail command
    nothing sexy about it just simple variables for from, to, subject, and message
    PHP Code:
    mail($_SESSION['values']['email'],'Welcome to The Success-Club',$replymessage,"from:$adminemail"

  2. #2
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Try utf8_encode on the message body.
    Saul

  3. #3
    SitePoint Wizard cmuench's Avatar
    Join Date
    Jul 2005
    Location
    At my computer
    Posts
    2,251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that didn't work.

  4. #4
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use phpmailer.

  5. #5
    SitePoint Evangelist
    Join Date
    May 2006
    Location
    Sitepoint
    Posts
    525
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using \' instead of '.. just a random thought.


Bookmarks

Posting Permissions

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