Comments (5)
I received this email
https://postmarkapp.com/updates/upcoming-tls-configuration-changes-for-api-users-action-may-be-required
I tested :
POSTMARK_API_KEY = 'mypostmarkapikey'
client = Postmark::ApiClient.new(POSTMARK_API_KEY, host: 'api-ssl-temp.postmarkapp.com')
client.deliver(from: "...", to: "...", text_body: 'test TLS')
Before updating the gem , the test failed with the message :
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: no protocols available
I just updated the gem : bundle update postmark-rails
...
Installing postmark 1.21.3 (was 1.15.0)
...
And then the test succeded :
{:error_code=>0, :message=>"OK"}
thanks to @nickhammond
from postmark-rails.
@tonydehnke Forgot to mention it but since this is a patch release you should be able to just run bundle update postmark
and it'll bump the version to 1.21.3.
from postmark-rails.
Hi @tonydehnke!
Apologies for the issues with SSL, I've just released a new version of the postmark gem(1.21.3) that no longer supplies a default SSL version and instead uses the default provided via OpenSSL. You can still specify a specific version if you'd like but it's no longer required, let us know if you have any issues! Going to close this for now but feel free to re-open it if needed.
from postmark-rails.
This fix worked perfectly!
My report: I was unable to send emails, the log is full of OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: no protocols available)
. Just adding the http_ssl_version: :TLSv1_2
fixed this issue and my ActionMailer is back to work.
Thanks!
from postmark-rails.
Thanks.. I see know that postmark-rails
has postmark as a dependancy, hadn't noticed that before.
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
- 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.