Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Email width differs if language changes

    Hallo,

    I am currently using 2 languages in my shop, English and Greek and I am using text emails.

    During the creation of new account, if this is performed in English, everything works fine.

    If it is performed in Greek, the relevant Greek email is sent, however, the width of the email is narrower.

    I have created the folder email/gr copying all the files from email directory but surely this is not the issue ...

    Why is that happening? Is there somewhere an entry which calls other email template than email_template_welcome.html when the Greek language is used? How can I follow what causes this format?

    Kind regards,
    orange_juice

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email width differs if language changes

    In Zen Cart v1.3.x, the /email/ folders are not used for generating text-only emails. They are only used for HTML-Formatted emails.

    Thus, any and all email content for your text-only messages is contained entirely inside your language files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: Email width differs if language changes

    Thank you very much for your answer.

    When I go to Admin -> Customers -> Email and write in english, the email received appears with normal width.

    If I write in Greek, the email received appears with half the width.

    Here is an example:

    -----------------------------------------------------------------------
    σδφποξσδ φποσκδφ ποσκδφ ποςερ ποσδφ
    ποσξεδφ ποσκδφ [0ι;ς [οσδφπ οαξκσδ
    ολξσδφοπ ιξσδω ιηζδχψι υγβσαδφ ιθηβδωψ
    κβξασδφ κθξζσδφ κθξνσαδφιθ ξκνσδφθκξ
    νσδφ
    This email address was given to us by you or by one of our customers. If you
    feel that you have received this email in error, please send an email to
    ***********removed******
    This e-mail is sent in accordance with the US CAN-SPAM Law in effect
    01/01/2004. Removal requests can be sent to this address and will be honored
    and respected.
    ---------------------------------------------------------------------------------------

    I assume that this raw text email has nothing to do with the language settings, but I am completely unaware of the parameters that define it. Is there a text-email css file?

    My shop successfully uses UTF8 characters.

    This happens either with Configuration -> Email Options -> E-mail transport method= PHP or SMTPAUTH

    Where do you think I should start looking?

    Kind regards,
    orange_juice
    Last edited by orange_juice; 30 Mar 2010 at 10:24 PM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email width differs if language changes

    I'm not aware of anything within Zen Cart that will intentionally limit the width of emails composed in a certain language.
    It definitely has nothing to do with the Email Transport Method.

    However, perhaps if you're using lots of multi-byte characters maybe it's treating each multibyte character as multiple characters and using that to limit the length.

    If you change to using HTML-formatted emails for everyone, do the messages come through as desired?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: Email width differs if language changes

    I have enabled Use MIME HTML When Sending Emails from Configuration -> Email options, I sent both language emails using the rich text area but the result is the same.

    (Whom should I contact to remove my email from the above post?)

    Kind regards,
    orange_juice

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email width differs if language changes

    Quote Originally Posted by orange_juice View Post
    I have enabled Use MIME HTML When Sending Emails from Configuration -> Email options, I sent both language emails using the rich text area but the result is the same.
    By "the result is the same", are you saying you still received a text-only message? or an HTML-formatted message which was shortened?

    Quote Originally Posted by orange_juice View Post
    (Whom should I contact to remove my email from the above post?)
    Done
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: Email width differs if language changes

    Quote Originally Posted by DrByte View Post
    If you change to using HTML-formatted emails for everyone, do the messages come through as desired?
    Yes they come!

    (I was sending html emails to customers that prefered text-only, sorry!!!)

    Does this indicate something for the text-only emails?

    Kind regards,
    orange_juice

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email width differs if language changes

    I'm sure it's the multi-byte character thing causing the mailserver process to limit things earlier than you would like for text-only emails.

    As long as the emails are arriving, I wouldn't be too bothered about it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 Banner width changes automatically ...
    By anoopd in forum Customization from the Admin
    Replies: 0
    Last Post: 31 Jan 2012, 04:34 PM
  2. Center Column Width Changes
    By windsurfer in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Dec 2011, 07:11 PM
  3. Main Page Width differs from rest of site!
    By blackriver in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Dec 2011, 12:23 PM
  4. Changing width of wrapper changes logowrapper
    By mw4kids in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Jun 2009, 01:29 PM

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