obey-robots.txt
View Thread
 Print Thread
Fixing special characters in sendmail_include.php
Fusioneer
Annoyed about special characters not displaying right in mail messages by sendmail_include.php?

For example ' and " displaying (' and ")

Here is a simple fix:
Find in sendmail_include.php
Download source  GeSHi: PHP
  1. $mail->Subject = $subject;
  2. $mail->Body = $message;
Parsed in 0.008 seconds, using GeSHi 1.0.8.10


Replace with:
Download source  GeSHi: PHP
  1. // $mail->Subject = $subject;
  2. // $mail->Body = $message;
  3. $mail->Subject = html_entity_decode($subject,ENT_QUOTES); // Fix Wanabo for special characters in subject
  4. $mail->Body = html_entity_decode($message,ENT_QUOTES); // Fix Wanabo for special characters in message
Parsed in 0.007 seconds, using GeSHi 1.0.8.10


Fixed!
Warning about ParkingCrew.com! Case: ParkingCrew.com acquires NameDrive.com but earnings are not transferred despite assurances and promises. Inquiries about this are ignored! It's just a con compagny. Don't do business with them!
 
Ad-Bot
Advertisement
 
If you can read this your code works.
Tutorial Insert an advertisement panel between forum posts


Join Ad-Vertise.nl Especially for php-fusion users i have created a free text ads exchange system. How does it work? Register, select "Ads English PHP-Fusion" and create your own text advertisement. Choose an ad size, adjust colors and integrate html code on your site. Now your advertisements are shown on all participating sites who also choose "Ads English PHP-Fusion".
naveed01
I find the output of geshi_bbcode_include.php to small. It's only 400 pixels width. Here I describe where to find and how to expand the output.
 
Fusioneer
I have a solution for that: Just 400px to small for geshi_bbcode and others
Warning about ParkingCrew.com! Case: ParkingCrew.com acquires NameDrive.com but earnings are not transferred despite assurances and promises. Inquiries about this are ignored! It's just a con compagny. Don't do business with them!
 
Jump to Forum
New Thread Post Reply
Use BBcode or HTML to refer to; 'Fixing special characters in sendmail_include.php'
BBcode:
HTML:
Simular threads
Subject Discussion Forum         Last Post
[Fix] password contains invalid characters! Locale issues : 1 20-09-2014