• 13-12-2009, 23:58:31
    #1
    Arkadaşlar toplum mail atmak için elimde bir script var fakat karakter hatası var nasıl düzelte bilirim.
  • 14-12-2009, 20:48:43
    #2
    Mail olarak hazırladığın mesaja header ekleyebilirsin

    .....
    // To send HTML mail, the Content-type header must be set
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    
    $headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
    $headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
    $headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
    $headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
    
    // Mail it
    mail($to, $subject, $message, $headers);