Comments (4)
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.
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.
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.
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)
- Does a soft bounce trigger a Postmark::InactiveRecipientError HOT 2
- Deprecation: Rails 7.1.1 - Using preview_path= option is deprecated and will be removed in Rails 7.2 HOT 2
- Compatibility with latest postmark gem
- Gem version too constrained?
- Sending through different "Servers" HOT 1
- Release a new version of the gem to complete #76 HOT 1
- Emoji encoding issues in subject lines with Rails 3/4 apps HOT 1
- Add support for message stream archival HOT 2
- Message stream is not used when specified HOT 2
- Update default `http_ssl_version` - Similar issue to Postmark-gem HOT 5
- Postmark disabling TLSv1.0, What do I need to do? HOT 1
- Recipient email format `"Recipient Name" <[email protected]>` results in `Postmark::InvalidEmailAddressError` HOT 2
- Delivery Options HOT 1
- Rails 7 support HOT 2
- Cannot send metadata with #deliver_later HOT 1
- Postmark::InactiveRecipientError No Error Recipients HOT 1
- https release timeline HOT 2
- Postmark::ApiInputError with attachments HOT 3
- Calendar Attachments HOT 11
- Wrong documentation link HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postmark-rails.