Jump to content

[SOLVED] Funny characters appear in email received <Â> or < Â Â >


moh_sulaiman

Recommended Posts

no actualy i have an email script when email recieved that contain these charctors they are basically  &nbs; which are shown as  which are  because when you view them in envoirment where they are not supported.what should i do with them so that i dont have this  

Link to comment
Share on other sites

You need to make sure your encodings are in agreement. How is the data stored? Retrieved? Sent? Received? Are you sending encoding or character set information with the e-mail? Do you see the same if you send it to yourself?

Link to comment
Share on other sites

lots of iso-8859-1 it is system which provide support thourgh email

 

sample :

$headers = "From: ".ADMIN_NAME." < ".ADMIN_EMAIL." > \n";

$headers .= "MIME-Version: 1.0\r\n";

$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

$agentemail = $_POST['iu-'.TABLE_CRM_AGENT.'-email-1-3'];

$password = $_POST['iu-'.TABLE_CRM_AGENT.'-apassword-1-5'];

$fp=fopen("mail_format/agent_welcome_mail.txt","r");

$fcontent=fread($fp,filesize("mail_format/agent_welcome_mail.txt"));

fclose($fp);

$message=str_replace("{AGNAME}",$_POST['iu-'.TABLE_CRM_AGENT.'-ausername-1-5'],$fcontent);

 

$message=str_replace("{AGPASS}",$password,$message);

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.