-
Notifications
You must be signed in to change notification settings - Fork 199
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
SendGrid not relaying emails from Klaxon when using the Heroku setup #404
Comments
@harrislapiroff thank you for filing this excellent issue. This is super helpful. Sendgrid has been getting progressively more and more difficult to deal with and has changed much of the workflow since we launched Klaxon 4 years ago. We have to think through how to sort this out to make it easier for everyone to get started. This will be indispensable in doing that. Thanks! |
@tommeagher I also ran into this issue. Can I suggest that the README be updated with this SendGrid situation and the |
Good suggestion @tszumowski, I've added some notes on this to the doc. Also thank you @harrislapiroff (also hi! funny seeing you here) for detailing this issue and the fix so clearly. |
@GabeIsman @harrislapiroff I noticed when I use my personal email (the one used to verify sender), it hits the SendGrid limit of 100 emails a day, whereas Heroku claims up to 12000 per month, as does the README here. I ended up quickly hitting that 100 emails a day limit due to using my personal email (for reasons described above). Any way to get that 12000 emails a month via Heroku? |
@tszumowski this is a new wrinkle we haven't heard about yet. Is the email you used to verify with Sendgrid the same email you use for your Heroku account? |
Yep. Both are my personal gmail account. I opened a support ticket with SendGrid. They said my account wasn't suspended or anything. And they said to work with Heroku if I am running into limitations with the Heroku app. |
Good to know, though I am stumped. @GabeIsman have you heard of this issue coming up? |
Hmm, seems like yet another instance of Sendgrid not really supporting their Heroku plugin. That was the same limitation I ran into when investigating the free tier of mailgun. There just doesn't seem to be a proper free solution for sending emails from Heroku anymore. I'm not sure what to tell you @tszumowski. You may need to 1) pay for Sendgrid or 2) replace Sendgrid with something like Postmark that has a (likely cheaper) pay-as-you-go model. I wish there were an easier and freer way to do this on Heroku! |
@GabeIsman no worries! And thanks for the ideas! I ended up making good use of the slack notification which ends up fitting my use cases better anyway! For SendGrid, 100/day is still a good backup for me for personal use, and I imagine for people to get started with Klaxon. I just happened to have some real chatty sites during my initial testing. Thank you again! |
@tszumowski I'm sorry about that. So weird that the support from Sendgrid has deteriorated so much in the last year. Let us know if Heroku has any answer or advice. |
(late reply, but figured this is useful info) Several of the alternatives mentioned in the Reddit comments have also since changed their free tiers, so... there may not be a better option. |
Geez. What a pain. We're considering now alternatives to SendGrid for new installations. This path doesn't seem tenable any longer for new users. |
Forgot to update that SendGrid denied my account from being activated, sooooo yeah. Another method would be good 😂 |
Not that more reasons to move away from SendGrid are really needed, but Microsoft now blocks several SendGrid free IPs from sending email to Outlook/Live/Hotmail accounts. Here's a reply I received while troubleshooting (this isn't the only IP I've seen blocked):
|
I don't see it in Heroku's add-on's list so you'd have to create your own account outside of Heroku's ecosystem, but I'm curious if anyone has ever tried SMTP2GO. Has a reasonably decent free plan but I fear it may suffer from some of the same issues unless you have a domain to set up with it, though. |
Got a working Mailgun integration at /immewnity/klaxon/tree/mailgun - this branch also includes the Microsoft Teams integration proposed in #514 and the develop fix in #578 . |
Hi all. With the recent release of Klaxon Cloud, we're going back and revisiting old issues that we're not going to pursue or support as we consider any future development of the original standalone Klaxon. This one (almost 4 years old now) falls in that bucket. Thanks for the contributions and discussions on this, but we'll close it as WONTFIX. |
I was trying to get this set up on Heroku using the one-click process. I had to go through the SendGrid rigamarole listed in the README, but even then I wasn't receiving the confirmation email when I attempted to log in. I dug into the logs and found this entry:
It appears that Klaxon is sending the confirmation email from the address
Klaxon <[email protected]>
and SendGrid is rejecting it since it's not a verified sender on my account. I'm not sure what the general solution is here, but here's how I resolved it:Went through SendGrid support process to get my account unsuspended, as specified in the readme
From the SendGrid dashboard, created a verified sender using my personal email address. Clicked the confirmation link from my email when received.
From the SendGrid dashboard, provisioned an API key for Klaxon.
From Heroku, updated env vars as follows:
SENDGRID_USERNAME
=apikey
SENDGRID_PASSWORD
= API key from SendGridMAILER_FROM_ADDRESS
= My personal email addressI'm not sure that provisioning the API key and updating the username/password was a necessary part of this process, but it seemed like a wise thing to do.
The text was updated successfully, but these errors were encountered: