Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11

    Default Re: Email not sent in HTML format

    Quote Originally Posted by DrByte View Post
    Admin-copy emails are sent as HTML if you have the "Send Admin emails as ..." set to HTML in Admin->Configuration->Email Options (and of course have Send as MIME HTML enabled)
    Thank you for the reply, DrByte!

    I have the following settings:

    Use MIME HTML When Sending Emails: true
    Email Address (Displayed to Contact you): [email protected]
    Email Address (sent FROM): [email protected]
    Email Admin Format: HTML


    I am sending the email with this code:

    Code:
    zen_mail(STORE_NAME, '[email protected]', 'Some subject', $email_text, 'Mr.Customer', '[email protected]', array('EMAIL_MESSAGE_HTML' => $email_html), 'product_interest_page');

    Everything above seems fine. But no luck!

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

    Default Re: Email not sent in HTML format

    I messed up on the setting I missed BUT stand by my comments about looking "professional"
    Zen-Venom Get Bitten

  3. #13

    Default Re: Email not sent in HTML format

    Quote Originally Posted by kobra View Post
    Use another address or BETTER yet change your admin email to one that is representative of your company...
    You do not see or receive email from amazon, MicroSoft, or any other "real" company from a gmail or Yahoo addy

    I woud "freak" if I received a valid email from paypal from a gmail account
    Thank you for the advice.

    I am using the gmail account only for testing purposes. When the site goes public, I should link it to the address in the company's domain.

    Now because you told me to be, I changed the admin ID to the company mail id. Still not working. Any idea please?

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Email not sent in HTML format

    Quote Originally Posted by thinknirmal View Post
    Thank you for the reply, DrByte!

    I have the following settings:

    Use MIME HTML When Sending Emails: true
    Email Address (Displayed to Contact you): [email protected]
    Email Address (sent FROM): [email protected]
    Email Admin Format: HTML


    I am sending the email with this code:

    Code:
    zen_mail(STORE_NAME, '[email protected]', 'Some subject', $email_text, 'Mr.Customer', '[email protected]', array('EMAIL_MESSAGE_HTML' => $email_html), 'product_interest_page');

    Everything above seems fine. But no luck!
    I just tested it, and had the same problem. However, adding a customer record using the destination email address (from your example) of '[email protected]' and setting their preferences to HTML format gets around the problem.

    As for a long-term fix, there are many improvements to the whole email infrastructure in 2.0.0 which will make this sort of thing easier to overcome ;)
    .

    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. #15
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Email not sent in HTML format

    Now because you told me to be, I changed the admin ID to the company mail id. Still not working. Any idea please?
    I am old and thought that there was a reason that the admin address was not reliable and "forgot" about the switch cause I guess it does not work....

    Now that you have changed it create a test customer with the gmail addy and test your email there
    And for later if you are going to use PayPal you can not buy from yourself for testing. You will need another paypal account to perform testing with
    Zen-Venom Get Bitten

  6. #16

    Default Re: Email not sent in HTML format

    Quote Originally Posted by DrByte View Post
    I just tested it, and had the same problem. However, adding a customer record using the destination email address (from your example) of '[email protected]' and setting their preferences to HTML format gets around the problem.

    As for a long-term fix, there are many improvements to the whole email infrastructure in 2.0.0 which will make this sort of thing easier to overcome ;)
    Wonderful. That workaround is simply working!

    Thank you for the help, DrByte!
    Glad that the 2.0.0 is going to have improved mechanisms!

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Email not sent in HTML format

    Quote Originally Posted by kobra View Post
    I ... thought that there was a reason that the admin address was not reliable and "forgot" about the switch cause I guess it does not work....
    Actually, it does work just fine.
    NOTE: The "admin emails as HTML" switch only gets used if the email is being sent as a copy of an email normally sent to the customer. It doesn't affect emails sent to the storeowner specifically.
    .

    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.

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

    Default Re: Email not sent in HTML format

    switch only gets used if the email is being sent as a copy of an email normally sent to the customer. It doesn't affect emails sent to the storeowner specifically.
    Precisely, so it does not function as the OP was using it - Sending an email to his admin addy
    Zen-Venom Get Bitten

  9. #19

    Default Re: Email not sent in HTML format

    @DrByte

    Oh, got the point! Thank you!


    @kobra

    What is OP?

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

    Default Re: Email not sent in HTML format

    OP=Original post or poster
    Zen-Venom Get Bitten

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Send email in HTML format
    By tips007 in forum General Questions
    Replies: 6
    Last Post: 18 Jan 2013, 05:05 PM
  2. Cannot Send HTML Email Format
    By kcchan in forum General Questions
    Replies: 4
    Last Post: 29 Mar 2009, 05:19 AM
  3. Send Welcome Email in HTML format
    By artcoder in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Mar 2008, 07:03 AM
  4. HTML Email Format
    By shrimp-gumbo-mmmhhh in forum General Questions
    Replies: 2
    Last Post: 26 Feb 2008, 01:50 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