Replies: 5 comments 5 replies
-
|
Hi @ewo68 - in v1.39.8, I added a tool to test email configurations. Could you update to that version and try this out? It should reveal where the issue is... |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hello, thank you for your feedback.
I am in version 1.39.7
In the documentation it tells me to go to ./bin.pwpush console
Otherwise it doesn't work. By connecting to ./bin/raise console when I do the test I get this error.
And yet I made sure to PWP__MAIL__RAISE_DELIVERY_ERRORS=true
I am docker under Synology
Here is the SMTP information.
]
THANKS
Cordialement,
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
thank you for your comeback. I installed version 1.39.8, and enabled PWP__MAIL__RAISE_DELIVERY_ERRORS=true
But when I run for example the command
I made a short video so you can see the error. Will try it after the SSH command
Video :
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
oh yes the test mailer passed :
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
sorry I did not understand "output of Settings.mail.mailer_sender?"
I think this is it
***@***.***:~# docker exec -it <ID> bash
PasswordPusher:/opt/PasswordPusher$ ./bin/rails console
Password Pusher Version: 1.39.8
Loading production environment (Rails 7.1.3.2)
irb(main):001> Rails.application.config.action_mailer.smtp_settings
=>
{:address=>"smtp.fr",
:port=>25,
***@***.***",
:password=>"mdpusersmtp",
:authentication=>"plain",
:enable_starttls_auto=>true,
:open_timeout=>10,
:read_timeout=>10}
irb(main):002>
Test error 500 result production.log
PasswordPusher:/opt/PasswordPusher/log$ head production.log
# Logfile created on 2024-04-09 12:29:49 +0000 by logger.rb/v1.5.3
E, [2024-04-09T12:32:45.090612 #15] ERROR -- : [b6cd2cbb-6634-498a-a15f-ece78e2daaa6]
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 21:
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 22: <p>
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 23: <%= _('You can confirm your account email by') %>
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 24: <%= link_to _('by clicking this link'), ***@***.***, confirmation_ token: @token) %>
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 25: <%= _('or by copying and pasting the following URL into your browser:') %>
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 26: </p>
[b6cd2cbb-6634-498a-a15f-ece78e2daaa6] 27:
result test testmail
irb(main):001> ***@***.***").deliver_now
=> #<Mail::Message:332460, Multipart: false, Headers: <Date: Tue, 09 Apr 2024 12:35:04 +0000>, <From: ***@***.***>, <To: ***@***.***>, <Message-ID: ***@***.***>>, <Subject: Test Email from Password Pusher>, <Mime-Version: 1.0>, <Content-Type: text/plain>, <Content-Transfer-Encoding: quoted-printable>>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, although all the values are entered for SMTP, when I create a user I do not receive the email. If I go to "Didn't receive confirmation instructions?" after typing the email I got an error 500.
Would you know how to troubleshoot this?

Thanks
Beta Was this translation helpful? Give feedback.
All reactions