Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Sending HTML email via Zencart changes to text

    Hello,

    We have zen-cart 1.2.6 cart, and the problem is when we try to send out a HTML format email for advertising it actually does not send html but converts to TEXT

    I had tried to send out a test email with picture it actually just sent this

    -------------
    This is a test email... @CRLFBuy it NOW!!!@CRLF@CRLF
    -------------

    This email was spoose to be HTML and like this

    --------------
    This is a test email...
    Buy it NOW!!!!!
    IMAGE GOES HERE, IMAGE IS A URL FROM SERVER
    -------------------

    Any suggestions on how to fix this?

    Thanks
    DigitalGuard

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Sending HTML email via Zencart changes to text

    Who are you sending this test mail to?
    What are your config > email options settings?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Sending HTML email via Zencart changes to text

    Quote Originally Posted by kobra View Post
    Who are you sending this test mail to?
    What are your config > email options settings?

    Sending the email to a test customer (MySelf)

    Email Options

    Here is my options, my email names have been changed...


    E-Mail Transport Method sendmail
    E-Mail Linefeeds LF
    Use MIME HTML When Sending Emails true
    Verify E-Mail Addresses Through DNS false
    Send E-Mails true
    Email Archiving Active? false
    E-Mail Friendly-Errors true
    Email Address (Displayed to Contact you) [email protected]
    Email Address (sent FROM) [email protected]
    Email Admin Format? HTML
    Send Copy of Order Confirmation Emails To
    Send Copy of Create Account Emails To - Status 0
    Send Copy of Create Account Emails To [email protected]
    Send Copy of Tell a Friend Emails To - Status 0
    Send Copy of Tell a Friend Emails To 0
    Send Copy of Customer GV Send Emails To - Status 0
    Send Copy of Customer GV Send Emails To 0
    Send Copy of Admin GV Mail Emails To - Status 0
    Send Copy of Customer Admin GV Mail Emails To 0
    Send Copy of Admin Discount Coupon Mail Emails To - Status 0
    Send Copy of Customer Admin Discount Coupon Mail Emails To 0
    Send Copy of Admin Orders Status Emails To - Status 0
    Send Copy of Admin Orders Status Emails To 0
    Send Copy of Pending Reviews Emails To - Status 0
    Send Copy of Pending Reviews Emails To
    Set "Contact Us" Email Dropdown List
    Allow Guest To Tell A Friend true
    Contact Us - Show Store Name and Address 1
    Send Copies of FTD Foral Order Emails To [email protected]
    Send Copies of FTD Foral Order ERRORS Emails To [email protected]
    Send Extra Low Stock Emails 0
    Send Extra Low Stock Emails To 0
    Display "Newsletter Unsubscribe" Link? true
    Audience-Select Count Display true
    SMTP Email Account Mailbox YourDomain.com
    SMTP Email Account Password YourDomain.com
    SMTP Email Mail Host YourDomain.com
    SMTP Email Mail Server Port 25

    Thanks
    DigitalGuard

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sending HTML email via Zencart changes to text

    When you registered yourself as a test customer, did you elect to be sent emails as HTML, or as plain text.

    I recall that with 1.2.6, the default offering for new registrations was TEXT.

    Go into your "My Account" settings and see what protocol you signed up to (HTML or TEXT)...

    ... I'll bet the TEXT radio button is checked!

  5. #5
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Sending HTML email via Zencart changes to text

    Quote Originally Posted by fairestcape View Post
    When you registered yourself as a test customer, did you elect to be sent emails as HTML, or as plain text.

    I recall that with 1.2.6, the default offering for new registrations was TEXT.

    Go into your "My Account" settings and see what protocol you signed up to (HTML or TEXT)...

    ... I'll bet the TEXT radio button is checked!
    Yup yup, that was it, is there way I can change all the custoemrs to HTML from database or cart without doing it 1 by 1?

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Sending HTML email via Zencart changes to text

    You can probably make the edit in the database... probably best to do so via phpMyAdmin. It's likely to be a switch setting (ie: changing a "0" to a "1"), but as I don't have a 1.2.6 dbase, I can't tell you exactly where to look in the tables for this.

    Dr Byte may be able to tell you of a nifty SQL query that will have the same effect...

    ... and by the way, the minute you've made the change, upgrade to 1.3.8a

    PS: Unilaterally changing the protocol from txt to HTML may be in violation of Can-Spam laws.

  7. #7
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Sending HTML email via Zencart changes to text

    Not sure about the older versions, but in the current 1.3.7 and up, each customer has a setting for text or html email.

    Does your version have that setting?
    Is it set to html?

    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Sending HTML email via Zencart changes to text

    Quote Originally Posted by DigitalGuard View Post
    Hello,

    We have zen-cart 1.2.6 cart, and the problem is when we try to send out a HTML format email for advertising it actually does not send html but converts to TEXT
    There have been numerous improvements to the Zen Cart code, including email-related fixes and enhancements, in the 3 years since v1.2.6 was released. Ten new versions have been published since then.

    One of the fixes includes a correction to the @CRLF tag being handled incorrectly ... so that it doesn't show up in the text-version of the emails.

    I recommend setting up the same scenario on a v1.3.8a site and testing it there. If there is still a problem, we can deal with it in the current code.
    .

    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. HTML Editor preview changes to Plain Text with HTML code
    By Morph99 in forum Basic Configuration
    Replies: 5
    Last Post: 3 Jan 2011, 10:12 PM
  2. HTML - plain text for sending emails V1.3.8
    By eOstrE in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2009, 09:00 AM
  3. Customer email set to html, but sending plain text
    By braggweb in forum General Questions
    Replies: 1
    Last Post: 24 Sep 2008, 06:57 PM
  4. Sending HTML email with ZenCart using PHP5
    By kimhuff in forum General Questions
    Replies: 5
    Last Post: 18 Nov 2007, 09:18 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