Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Email issue - pictures not being sent

    Hi there
    I am using ZC Version 1.5.8a

    PHP Version: 7.4.33 (Zend: 3.4.0)



    The issue is that i can send emails but only in text.
    So, if i wanted to send a picture i am not able to do this.

    I have checked my settings (Settings > Email) are all correct.

    Has anyone else had this issue or am i doing something wrong here ?

    Thank you

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,226
    Plugin Contributions
    124

    Default Re: Email issue - pictures not being sent

    Bear in mind that pictures only go out in HTML email. The plain text emails you send will not include pictures.

    So - do you have HTML email configured in Admin > Configuration > Email?
    Does the person you are sending to have HTML email configured for their customer account?
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Re: Email issue - pictures not being sent

    Quote Originally Posted by swguy View Post
    Bear in mind that pictures only go out in HTML email. The plain text emails you send will not include pictures.

    So - do you have HTML email configured in Admin > Configuration > Email?
    Does the person you are sending to have HTML email configured for their customer account?

    So the configuration is all set correctly in my settings > Email.

    I am using CKeditor to compose my emails.

    The emails are sent using HTML. I use MS Expressions to create the HTML code that i need and post that in the email using the source option.

    The images are saved on my server and i insert the image url link in my html code, that i then enter into my html email.

    My test accounts are hotmail and also using Thunderbird as my email client.

    I can get the text but no image attachments.

    Hope that helps.

  4. #4
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Re: Email issue - pictures not being sent

    Quote Originally Posted by swguy View Post
    Bear in mind that pictures only go out in HTML email. The plain text emails you send will not include pictures.

    So - do you have HTML email configured in Admin > Configuration > Email?
    Does the person you are sending to have HTML email configured for their customer account?
    The image has been sent as a .jpg and also another one that is .png

    Still i get no image in the email sent

  5. #5
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,616
    Plugin Contributions
    19

    Default Re: Email issue - pictures not being sent

    Are you sure you're entering the absolute path to your images and not relative? The code needs to look like (assuming store is in root directory):
    Code:
    <img src="https://YOUR_DOMAIN.COM/images/your_image.jpg">
    Also, make sure your server does not prevent hotlinking - if you have cPanel, check your Hotlink Protection settings (under Security).

    Zen Cart will NOT send images as attachments - they will need to be loaded directly from the server.

  6. #6
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Re: Email issue - pictures not being sent

    Quote Originally Posted by balihr View Post
    Are you sure you're entering the absolute path to your images and not relative? The code needs to look like (assuming store is in root directory):
    Code:
    <img src="https://YOUR_DOMAIN.COM/images/your_image.jpg">
    Also, make sure your server does not prevent hotlinking - if you have cPanel, check your Hotlink Protection settings (under Security).

    Zen Cart will NOT send images as attachments - they will need to be loaded directly from the server.


    Quote Originally Posted by balihr View Post
    Are you sure you're entering the absolute path to your images and not relative? The code needs to look like (assuming store is in root directory):
    Code:
    <img src="https://YOUR_DOMAIN.COM/images/your_image.jpg">
    Also, make sure your server does not prevent hotlinking - if you have cPanel, check your Hotlink Protection settings (under Security).

    Zen Cart will NOT send images as attachments - they will need to be loaded directly from the server.


    Thank you for your message.
    So, I am using MS Expressions to get my source code from.
    Below is a very basic peice of source code that i am using where the image is already on my hosting server and i am just pasting in the link in to my code.

    <head>
    <meta content="en-us" http-equiv="Content-Language">
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <title>Test image</title>
    <style type="text/css">
    .auto-style1 {
    text-align: center;
    }
    </style>
    </head>

    <body>

    <p>Test Email</p>
    <p class="auto-style1">
    <img alt="test image" height="1280" src="https://www.XXXx.com/email/MS/Mail-shot-1.png" width="1280"></p>

    </body>

    </html>


    The above code is what I am using to send an email in zencart as source.

    Hope that helps?

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,819
    Plugin Contributions
    9

    Default Re: Email issue - pictures not being sent

    and what happens when in your browser you go here:

    https://www.XXXx.com/email/MS/Mail-shot-1.png
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Re: Email issue - pictures not being sent

    Quote Originally Posted by carlwhat View Post
    and what happens when in your browser you go here:

    https://www.XXXx.com/email/MS/Mail-shot-1.png
    I can see the image with no issues. So the issue is not really on the hosting server or the HTML source code that i am using.

  9. #9
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,281
    Plugin Contributions
    1

    Default Re: Email issue - pictures not being sent

    Is there anything in the source code of the received email that might give a clue?
    Simon

  10. #10
    Join Date
    May 2008
    Location
    UK
    Posts
    341
    Plugin Contributions
    0

    Default Re: Email issue - pictures not being sent

    Quote Originally Posted by simon1066 View Post
    Is there anything in the source code of the received email that might give a clue?
    Not really.
    I feel that there may be an issue on myside on my website that is causing issues in sending the complete email.
    Sending text is not an issue at all. It is sending text with images etc.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Email Not being sent to users
    By atp29awr in forum General Questions
    Replies: 4
    Last Post: 31 Jul 2013, 10:35 AM
  2. GV email not being sent
    By Ryk in forum General Questions
    Replies: 0
    Last Post: 21 Apr 2008, 11:20 AM
  3. email not being sent
    By mla in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Aug 2006, 05:56 AM

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