Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 77
  1. #31
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Hi,
    spoke too soon.

    I got it working :)

    Forgot to change in Configuration -> Email Options

    Use MIME HTML When Sending Emails = true

    Just to let anybody else know.
    Thanks all

  2. #32
    Join Date
    Sep 2006
    Location
    Ontario, Canada
    Posts
    62
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Is this fix for email only or for the newsletter?

  3. #33
    Join Date
    May 2006
    Location
    Scotland
    Posts
    198
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    I have made Dr Byte's suggested amendments but still find that I cannot receive html emails - they just arrive blank. Any ideas?

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

    Default Re: Newsletter won't send in HTML

    Quote Originally Posted by high2K View Post
    I have made Dr Byte's suggested amendments but still find that I cannot receive html emails - they just arrive blank. Any ideas?
    Are you referring to *all* emails, or just newsletters?
    This discussion thread is specific to newsletters.
    .

    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. #35
    Join Date
    May 2006
    Location
    Scotland
    Posts
    198
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Ah! I've been using 'Send email' as the test. I've just sent a newsletter to admin and it arrived [although it had been converted to plain text in the process and delivered to my spam folder, but perhaps that's due to my own email settings on my PC??].
    So thanks for the fix, but why isn't the 'send email' working with html emails?

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

    Default Re: Newsletter won't send in HTML

    High2k,
    Don't think we've asked this yet, in Admin-Config-Email Options do you have 'Use MIME HTML when sending emails' set to true?

  7. #37
    Join Date
    May 2006
    Location
    Scotland
    Posts
    198
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Quote Originally Posted by Chuckl View Post
    High2k,
    Don't think we've asked this yet, in Admin-Config-Email Options do you have 'Use MIME HTML when sending emails' set to true?

    Sure do.

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

    Default Re: Newsletter won't send in HTML

    OK, if some mail is getting through it means that it is possible to send mail, even if the HTML is being lost along the way. ( hope you have Admin email format set to HTML?
    Check the headers on the email/newsletter you received - in Outlook, open the email, then file-properties-details-message source. If there is a return path, reply to or a received from or similar with <nobody> listed, you need to try and get 'Emails must send from known domain' working.
    If you are using PHP as the mail transport, switch to sendmail -f to see if that works.
    You also need to ensure that there is an Emails sent FROM address defined in email options.
    Does your hosting co. have any guidelines or recommendations as to the recommended email setup?

  9. #39
    Join Date
    May 2006
    Location
    Scotland
    Posts
    198
    Plugin Contributions
    0

    Default Re: Newsletter won't send in HTML

    Hi,

    I don't have the 'detail' option in Outlook. I just have properties > general.
    However, I do note that where it says 'message type' it says plain text. Surely it should say rich text or html?
    In admin, email format has alwys been set to HTML, and email sent from has always had an address.
    I also notice that if I send a rich text message that only has text in it, then the text does come through, but it is unformatted. If I add an image to the email then the image does not appear at all - not even the little missing image box that we're all used to.
    It therefore appears that although I have selected html emails, they are just defaulting to plain text.

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

    Default Re: Newsletter won't send in HTML

    Normally yes, but not necessarily. You mentioned implementing Dr. Bytes fix in an earlier post. Were you referring to this - referenced in post 20 in this thread?

    // if no customer email record found, and admin email format is set to HTML, and sending newsletter, and admin is logged in, use HTML:
    if ($customers_email_format_read->RecordCount() == 0 && ADMIN_EXTRA_EMAIL_FORMAT == 'HTML' && in_array($module, array('newsletters', 'product_notification')) && isset($_SESSION['admin_id'])) {
    $customers_email_format = 'HTML';
    }

    If you don't have that in place, all admin emails go out as plain text.
    On customer mail, I seem to remember that the default is also text.
    Setting a 'FROM' email address is also of limited use unless 'Send from known domain' is also set to true, as this gets rid of 'nobody' as the mail source.
    Unfortunately, that requires having a mail transport that would allow it.
    At this stage I'd say ask your hosting company what mail settings they suggest to allow you to send HTML mail, and set reply to and envelope from addresses

 

 
Page 4 of 8 FirstFirst ... 23456 ... 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