php - Random blank space in email content within words -


there random issue facing php html email (using php mail function).

sometimes, there blank space within words. e.g. "center director" appearing following:

c enter director center d irector cen ter director, etc. 

i have checked few forums, used trim(), etc. didn't work. have idea this?

try encoding email content using base64

$mail_content = chunk_split(base64_encode($mail_content)); 

modify existing headers way.

$headers .= "content-transfer-encoding: base64\r\n\r\n"; 

things go through on php manual : base64_encode , chunk_split


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -