Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No images display in sent emails / broken image icons #366

Open
dxh0w1k opened this issue Jan 4, 2025 · 1 comment
Open

No images display in sent emails / broken image icons #366

dxh0w1k opened this issue Jan 4, 2025 · 1 comment

Comments

@dxh0w1k
Copy link

dxh0w1k commented Jan 4, 2025

``Hey there! Testing Keila out and having an issue with images. They don't display, instead posting a broken image icon in sent emails. This includes the image in the footer of the email (after the unsubscribe link, etc).

Screenshot_20250103_235829

This email is sent and from a Gmail address (the same Gmail address, for testing). I've tried different images, also no images at all (the image below the unsubscribe icon still doesn't show). Also tried different campaign editors (markdown etc). I don't see any errors in the log and the emails are otherwise sending without issue. Any idea what is going wrong here?

I have Keila installed through Docker:

version: "3.9"
services:
  db:
    image: postgres:16
    container_name: Keila-DB
    hostname: keila-db
    mem_limit: 1g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    volumes:
      - /home/user/docker/keila/db:/var/lib/postgresql/data:rw
    environment:
      POSTGRES_DB: [db name]
      POSTGRES_USER: [user]
      POSTGRES_PASSWORD: [pass]
    restart: unless-stopped
  keila:
    image: pentacent/keila:latest
    container_name: Keila
    hostname: keila
    mem_limit: 4g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost:4000
    ports:
      - 6185:4000
    volumes:
      - /home/user/docker/keila/uploads:/uploads:rw
    environment:
      SECRET_KEY_BASE: [secret]
      DB_URL: postgres://user:pass@keila-db/keila
      USER_CONTENT_DIR: /uploads
      KEILA_USER: [Gmail address]
      KEILA_PASSWORD: [password]
      URL_HOST: [domain name]
      URL_SCHEMA: https
      MAILER_SMTP_HOST: smtp.gmail.com
      MAILER_SMTP_PORT: 465
      MAILER_SMTP_USER: [Gmail address]
      MAILER_SMTP_PASSWORD: [Gmail app password]
      MAILER_SMTP_FROM_EMAIL: [Gmail address]
      MAILER_ENABLE_SSL: true
      MAILER_ENABLE_STARTTLS: false
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
@wmnnd
Copy link
Contributor

wmnnd commented Jan 4, 2025

This looks like there is something wrong with your setup or configuration.

Is your Keila instance accessible on the internet or are you running it locally? Do the images appear correctly in the campaign editor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants