#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    3
    Rep Power
    0
    Hi there. I need to send umlauts(öäü) in my E-Mail-subjects (yes because I'm German), but they need to be encoded.
    When I send an email with Outlook, it converts "Urlaub ist schön" to
    Subject: =?iso-8859-1?Q?Re:_Urlaub_ist_sch=F6n?=
    How can I do that encoding by myself or is there a special function for that ??
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    27
    Rep Power
    0
    Hi Stefan:

    The mail() function will keep umlauts (and all other ANSI characters) encoded as long as you add this extra code to the 'header' parameter...

    $headers = "Content-Transfer-Encoding: 8bitn";


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


    hope I helped,
    //ryan

Similar Threads

  1. Mail Server Not reciving mails
    By piyushIndeo in forum Mail Server Help
    Replies: 3
    Last Post: May 13th, 2005, 07:18 AM
  2. sending mails locally using sendmail....
    By hpnadig in forum Linux Help
    Replies: 0
    Last Post: January 1st, 2004, 12:08 AM
  3. sending mails
    By Pupeno in forum PHP Development
    Replies: 1
    Last Post: December 12th, 2001, 01:45 AM
  4. Deleting mails in POP3 Account
    By vu3prx in forum PHP Development
    Replies: 6
    Last Post: July 11th, 2001, 12:06 PM
  5. Displaying 20 mails per page
    By raghuramb in forum Perl Programming
    Replies: 1
    Last Post: September 26th, 2000, 04:08 AM

IMN logo majestic logo threadwatch logo seochat tools logo