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

Error delivering mail in production with Postmark #1204

Open
Meekohi opened this issue Nov 27, 2023 · 1 comment
Open

Error delivering mail in production with Postmark #1204

Meekohi opened this issue Nov 27, 2023 · 1 comment

Comments

@Meekohi
Copy link

Meekohi commented Nov 27, 2023

Makes it seem like config.action_mailer.default_url_options doesn't get set correctly, but this clearly happens in production.rb so I'm unclear what the issue is.

INFO2023-11-27T23:35:00.668Z pid=61 tid=291h class=ActionMailer::MailDeliveryJob jid=a0460222864f08398d611edd INFO: start
INFOI, [2023-11-27T23:35:00.669366 #61]  INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [ae1c7268-7c2d-46c6-a77e-efa087a58beb] Performing ActionMailer::MailDeliveryJob (Job ID: ae1c7268-7c2d-46c6-a77e-efa087a58beb) from Sidekiq(default) enqueued at 2023-11-27T23:34:39Z with arguments: "UserMailer", "invited", "deliver_now", {:args=>["7200e9eb0ad6abde14db686fa3a307ce"]}
ERRORE, [2023-11-27T23:35:00.682046 #61] ERROR -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [ae1c7268-7c2d-46c6-a77e-efa087a58beb] Error performing ActionMailer::MailDeliveryJob (Job ID: ae1c7268-7c2d-46c6-a77e-efa087a58beb) from Sidekiq(default) in 12.82ms: ArgumentError (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
@gazayas
Copy link
Contributor

gazayas commented Nov 29, 2023

Adding the link to the discussion in Discord for context: https://discord.com/channels/836637622432170028/1178842849513570395

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