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

Getting "xprop: unable to open display" while sending an email in the docker. #130

Open
jigarbhatt2711 opened this issue Feb 22, 2024 · 1 comment

Comments

@jigarbhatt2711
Copy link

Hello

I am using a gem 'letter_opener_web' in our application.

When we are running a script and trying to send an email at that time, we are getting the following error in the console.


xprop:  unable to open display ''

xprop:  unable to open display ''

xdg-open /.../tmp/letter_opener/1708508975_9987023_e9d40c9/rich.html

It does not affect the existing functionality. But we are getting the above text message on the console.

Note: This issue we are getting while the application running in the docker.

@fgrehm
Copy link
Owner

fgrehm commented May 14, 2024

Hey @jigarbhatt2711! Have you tried setting the delivery method to letter_opener_web as described in the readme?

I haven't used this gem in a while but had to do that in the past back when I was using Vagrant / Docker for my development envs

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