Coder Social home page Coder Social logo

Comments (4)

isabanin avatar isabanin commented on June 29, 2024

Hey,

Unfortunately we don't support inline attachments in Postmark. We recommend using external references instead. Let me know if that works for you.

Ilya Sabanin
Postmark Developer
http://twitter.com/isabanin

from postmark-rails.

MatthieuBarthel avatar MatthieuBarthel commented on June 29, 2024

Hi,

Thanks for your quick reply, inserting inline images seems to be the only way to work well in outlook and most of webmails (even if it's not the right way).

But I'll keep Postmark in mind for others projects, your service is great.

from postmark-rails.

svenfuchs avatar svenfuchs commented on June 29, 2024

I was told that using :smtp as a delivery method for inline image attachments works. Trying it I get this result: https://gist.github.com/8fe41018e4db382246ac

As you can see, sending this email through gmail works just fine. The image tag correctly links to the attachment's cid (4f154b43a2fff_4135f1507953a@... in this case) and the attached image has the same id as a Content-ID.

Sending the same email through postmark however strips the Content-ID header for the file attachment (along with a bunch of other headers) only leaving the headers Content-Type, Content-Transfer-Encoding and Content-Disposition

Why does it strip the Content-ID? It would seem that we'd otherwise be able to easily use inline attached images through smtp with postmark?

from postmark-rails.

mgornik avatar mgornik commented on June 29, 2024

Hi Sven,

This is not the issue with Postmark-rails library. Postmark currently does not support emails with inline images. Please, stay tuned to our Twitter account and newsletter, we will announce this feature when it becomes available.

Regards,
Milan Gornik
Postmark developer, Wildbit
http://twitter.com/milan_gornik

from postmark-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.