Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    order emails double-spaced, how to fix??

    I have a 1.2.x ZC shop, and recently our orders emails started coming in double-spaced where they used to be single-spaced.

    Can someone please advise me where I should look to see why this is happening??

    Thank you, Tom

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: order emails double-spaced, how to fix??

    Quote Originally Posted by tlyczko
    I have a 1.2.x ZC shop, and recently our orders emails started coming in double-spaced where they used to be single-spaced.

    Can someone please advise me where I should look to see why this is happening??

    Thank you, Tom
    What font size have you set up?

  3. #3
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    Default Re: order emails double-spaced, how to fix??

    Sorry, I forgot to say that it's TEXT email, not HTML email.
    This didn't use to happen until early last week, then all our order emails started coming in double-spaced.
    Thanks, Tom

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: order emails double-spaced, how to fix??

    [Edited] - Seem to be a hosting problem - according to the message below.

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: order emails double-spaced, how to fix??

    Looks like some problem has started to happen with your email server lately
    http://discussions.apple.com/message...sageID=2568712
    Check with the host

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: order emails double-spaced, how to fix??

    Message edited above superprg's message.

  7. #7
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    Default Re: order emails double-spaced, how to fix??

    I will check with my hosting company after I try out the text changes suggested above.

    This only started last week, before that everything was fine...

    Thank you, Tom

  8. #8
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    Re: order emails double-spaced, how to fix??

    Hello, TheOracle,

    Sorry for being dense, did you edit out your suggestion about removing the /n/n from the file??

    Which file name was it?? I would like to check that file to make sure it is working correctly...

    Thank you, Tom

  9. #9
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: order emails double-spaced, how to fix??

    Before considering my modifications, I must say I have to agree with superprg's suggestion first. If your host denys the fact that some changes were actually made from their end, then - perhaps - I will consider it to PM the changes to you.

  10. #10
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: order emails double-spaced, how to fix??

    In zen\includes\functions\functions_email.php

    ----

    // Build the email based on whether customer has selected HTML or TEXT, and whether we have supplied HTML or TEXT-only components
    if (!zen_not_null($email_text)) {
    $text = str_replace('<br[[:space:]]*/?[[:space:]]*>', "@CRLF", $block['EMAIL_MESSAGE_HTML']);
    $text = str_replace('</p>', '</p>@CRLF', $text);
    $text = htmlspecialchars(stripslashes(strip_tags($text)));
    } else {
    $text = strip_tags($email_text);


    -----
    Ver less probable that an extra /n would get added of a sudden in that code :)

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 order emails, How does it work?
    By vandijkstef in forum General Questions
    Replies: 5
    Last Post: 12 Sep 2015, 09:02 AM
  2. v138a how to show errors in order to fix them?
    By win8win in forum General Questions
    Replies: 5
    Last Post: 15 Apr 2012, 06:01 AM
  3. Replies: 0
    Last Post: 17 Feb 2010, 04:52 PM
  4. Replies: 1
    Last Post: 30 Sep 2009, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg