Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 77
  1. #21
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Newsletter won't send in HTML

    DrByte,
    I'll give it a try shortly and report back.
    I have been intentionally calling it a hack, because it's just that - brute force code to handle a special case, and I'd much rather the default code catered for and removed the special case. Not that too many people have first or last names of 'ADMIN', but you never know...

    Chuck

  2. #22
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Newsletter won't send in HTML

    Valid points.

    My proposed change doesn't rely on the word "admin" in the email address. Instead, it depends on the specified email address *not* being tied to any existing customer records.
    Note when sending out newsletter emails, you have the option to send to the email address of the currently-logged-in administrator. As long as this email address isn't already tied to a customer in the store, this approach will allow HTML messages to be sent by default when testing sending the newsletter to the admin.

    Of course, if there *is* a customer record with the same email address as the administrator, all you need to do is edit that customer's preference for email format, and you're also all set.
    .

    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. #23
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Newsletter won't send in HTML

    DrByte,
    Yes, that seems to work fine. I'd purposely avoided any reference/use of ADMIN_EXTRA_EMAIL etc as it was referenced only in the context of the admin copy emails, and I felt any change in that was best left to the developers.
    Thanks,

    Chuck

  4. #24
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Newsletter won't send in HTML

    Great. This alteration will find its way into a future release ...
    .

    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. #25
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Newsletter won't send in HTML

    To sum up, and consolidate everything into 1 post -

    To increase the chances of emails sent from admin as HTML actually arriving as HTML, particularly to webmail based email systems such as hotmail, yahoo mail, gmail etc.; and to allow test newsletters sent to the admin email address to arrive as HTML, do the following:

    Copy /includes/extra_configures/email_use_8bit.php to /admin/includes/extra_configures, so that both folders have a copy of the file.
    Replace /includes/functions/functions_email.php with the attached copy, which incorporates DrBytes' suggested changes.

    Chuck
    Attached Files Attached Files

  6. #26
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Chuck and Dr. Byte,

    I've just applied the latest patch file and run a test again on my Yahoo account and received the HTML newsletter correctly, so all seems to be fixed.

    Thanks!

  7. #27
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Newsletter won't send in HTML

    Thats great to hear! Thanks for the feedback

    Chuck

  8. #28
    Join Date
    Feb 2006
    Posts
    277
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Thank you very much it works great :)
    Take scrapbooking to a whole new level - GO DIGITAL - http://www.hookedondigiscrap.com

  9. #29
    Join Date
    Feb 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Thanks everyone for assisting with this! The fix works for me as well!

    And Austy25, hello from a fellow digiscapping site! Love your tagline...see our site name :)
    --------------------------------
    http://www.godigitalscrapbooking.com

  10. #30
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    hi,
    Dont know if anybody is following this thread still :)

    i applied the fix. but it didnt seem to work for me.
    i have the mod for newsletter only subscribers installed , so the problem may lie there.
    is anybody willing to look at the file for me if I PM them?

    thanks,
    Tom

 

 
Page 3 of 8 FirstFirst 12345 ... LastLast

Similar Threads

  1. Replies: 0
    Last Post: 26 May 2012, 06:16 AM
  2. Unable to send newsletter by HTML
    By sharontan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Dec 2010, 05:32 PM
  3. How to send newsletter in HTML?
    By lina0962 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Nov 2010, 08:56 PM
  4. Newsletter won't send
    By jvalent in forum General Questions
    Replies: 5
    Last Post: 30 Sep 2008, 08:21 PM
  5. Newsletter won't send in html...its just plain text!?
    By icklebits in forum General Questions
    Replies: 2
    Last Post: 26 Jul 2007, 03:31 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR