Title: Email formating error
Last modified: August 21, 2016

---

# Email formating error

 *  Resolved [Mohsin](https://wordpress.org/support/users/mohsindigitalpoin8/)
 * (@mohsindigitalpoin8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/email-formating-error/)
 * Hi….
    I’m using your plugin its awesome.
 * I have a problem, when we submit our order we recieve a email, there is lots 
   of space between words,
    for example,
 * In formmatting there is lots of space due to which words goes hidden when we 
   print it and now I want to know how to reduce the space between them
 * Thanks in advanced…
 * [https://wordpress.org/plugins/wppizza/](https://wordpress.org/plugins/wppizza/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/email-formating-error/#post-5028680)
 * just edit the templates
 *  Thread Starter [Mohsin](https://wordpress.org/support/users/mohsindigitalpoin8/)
 * (@mohsindigitalpoin8)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/email-formating-error/#post-5028853)
 * Thanks for you reply ….
    i already edit the wppizza-order-email-plaintext.php
   file but in this file you have the following code. <?php /******************************************************************************[
   customer details: whatever fields where enabled on order page] * ****************************************************************************/
   echo $emailPlaintext[‘customer_details’]; ?> if you echo $emailPlaintext[‘customer_details’];
   you receive lot of spaces with customer details. how to fix it … please check
   [link](https://lh6.googleusercontent.com/Ef7GxQcpSART2WqWCegtQP_hOgSox5iM6sMCt-_H6PLbS_l4_7TmdCLYccb-IcnVbTGceK5eRysRhJFNy1oXFIg506E=w1342-h523)
   plz help …
 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/email-formating-error/#post-5028856)
 * just do a str_replace or preg_replace or something along those lines
 * by default the plaintext emails are formatted (mostly) so a line has no more 
   than 74 characters with the total price right aligned (as much as that is possible
   with plaintext emails anyway)
 * alternatively, you could of course just set the used mail function to phpmailer
   and use html (all depends on your situation)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Email formating error’ is closed to new replies.

 * ![](https://ps.w.org/wppizza/assets/icon-256x256.png?rev=2498121)
 * [WPPizza - A Restaurant Plugin](https://wordpress.org/plugins/wppizza/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wppizza/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wppizza/)
 * [Active Topics](https://wordpress.org/support/plugin/wppizza/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wppizza/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wppizza/reviews/)

## Tags

 * [email](https://wordpress.org/support/topic-tag/email/)
 * [formating](https://wordpress.org/support/topic-tag/formating/)
 * [spaces](https://wordpress.org/support/topic-tag/spaces/)

 * 3 replies
 * 2 participants
 * Last reply from: [ollybach](https://wordpress.org/support/users/ollybach/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/email-formating-error/#post-5028856)
 * Status: resolved