Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

Corrupt email text fix


  • Please log in to reply
No replies to this topic

#1 Some0ne

Some0ne

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 September 2011 - 03:38 PM

Text in email is currupt with russian localization. Please add Content-type to the header in mail() function:

mail($info['email'],
l('x_x_notification',settings('title'),$project['name']),
l('notification_'.$data['type'],$info['username'],$project['name'],$data['tid'],$data['summary'],$data['url']),
"From: ".settings('title')." \r\nContent-type: text/plain; charset=UTF-8"
);

I guess it can also become corrupt in other languages.

Thanks. =)



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users