Title: PHP WordPress Blog by Email problem
Last modified: August 18, 2016

---

# PHP WordPress Blog by Email problem

 *  [macsorg](https://wordpress.org/support/users/macsorg/)
 * (@macsorg)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/php-wordpress-blog-by-email-problem/)
 * Hello!!
 * I had a gentleman install WordPress on my website server and then I imported 
   all the posts I had on Blogger.
 * Everything looks GREAT… but when I post by email, WordPress seems to be messing
   up line breaks, or actually, paragraph breaks.
 * Where there should be paragraphs, WordPress just glues everything together, making
   it look like one huge paragraph.
 * Looking at the source of a post page, my email editor (where the email come when
   I use Blog by Email), puts the following between paragraphs:
 * `<p style="margin: 0in 0in 0pt;"><span style="font-family: Garamond;"><font size
   ="3"> </font></span>
    <p style="margin: 0in 0in 0pt;"><span style="font-family:
   Garamond;"><font size="3">Doug continues to go to school every day and he continues
   to love it and excel. He gets up in the morning and he cant get his morning chores
   done quick enough to suit him and get to school. On the mornings when his sister
   isnt moving as quickly as he is he nags her to get her stuff done so they can
   get there. At least part of this has to do with wanting to get there and get 
   his breakfast, but it also has to do with his love of school. He continues to
   soak up any and all information that his teacher gives him; almost as if he wants
   to learn everything he can as quickly as he can. At first it was a challenge 
   for me to feel good about his ability to last the entire day-I was so used to
   having him at home all the time that it took some getting used to to not have
   him there. But now, I enjoy the fact that hes doing everything he can to be normal.
   </font></span> <p style="margin: 0in 0in 0pt;"><span style="font-family: Garamond;"
   ><font size="3"> </font></span> <p style="margin: 0in 0in 0pt;"><span style="
   font-family: Garamond;"><font size="3">We have had some issues with loud clicks
   from his leg braces, and this morning found at least part of the cause of those
   clicks. There is a hairline break in one brace and the other has a definite crack
   in it. Were going to have to get that fixed-at its wonderful cost of over $2000-
   but if we dont, he almost falls when it sticks or clicks or whatever its doing.
   The chance of him falling is not a good thing, so well do what has to be done
   to keep that from happening.</font></span>
 * (I also had help from someone who knows CSS to force WordPress to IGNORE font-
   family, size, weight, etc… So even though you see that up there, it gets ignored,
   which is good!!)
 * Anyway… Where you read: “….doing everything he can to be normal.” and then “We
   have had some issues with loud clicks from his leg braces…”, should be a new 
   paragraph, but it’s not. And I cannot figure out why.
 * While doing a search on Google, I found some people saying that the file “functions-
   formatting.php” has these `$pee = preg_replace` lines, that tells WordPress how
   to behave when it sees `<p>, <br>, etc..`, but there isn’t one for SPAN or SPAN
   STYLE and I don’t know how to write it.
 * Can somebody help please??
 * PS: And I THINK this is the reason why WordPress is gluing paragraphs together!!!
   I am not even sure… maybe this solution is not even it!! But I cannot think of
   anything else.. so I wanted to give this pee=preg_replace a try!!
 * Thank you!!
 * Alexandra

The topic ‘PHP WordPress Blog by Email problem’ is closed to new replies.

## Tags

 * [breaks](https://wordpress.org/support/topic-tag/breaks/)
 * [by](https://wordpress.org/support/topic-tag/by/)
 * [email](https://wordpress.org/support/topic-tag/email/)
 * [line](https://wordpress.org/support/topic-tag/line/)
 * [paragraphs](https://wordpress.org/support/topic-tag/paragraphs/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [macsorg](https://wordpress.org/support/users/macsorg/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/php-wordpress-blog-by-email-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
