ivaldi / brimir

Email helpdesk built using Ruby on Rails and Zurb Foundation
http://getbrimir.com
GNU Affero General Public License v3.0
1.38k stars 299 forks source link

Don't send mail #378

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi! I have followed this post https://thehungrycoder.com/ruby-on-rails/integrate-sparkpost-in-your-rails-app.html to integrate SparkPost in Rails, but when I created or updated ticket then no email was sent.

This is my configs: http://imgur.com/2cwpvSn http://imgur.com/ycWIplT

frenkel commented 7 years ago

Brimir overwrites the settings in that last config screenshot. You should configure an email address using the interface (button in the top bar).

ghost commented 7 years ago

Hi! I have configured an email address in Settings, but when I still didn't receive email

http://imgur.com/N1VnTiR http://imgur.com/a/7NEda

frenkel commented 7 years ago

Your screenshot shows the email address is not verified, which means that emails sent to that address do not end up in Brimir. Either manually verify it using something like this in the Rails console: EmailAddress.update_all verification_token: nil or make sure the mail is configured correctly to end up in Brimir.

ghost commented 7 years ago

Thank you, It's work But by default, the sending email address is XXX@ (in my case it is: support@my.rodex.io) Can I change it to support@rodex.io? I have tried modify: config.action_mailer.default_url_options = { host: 'rodex.io' } but it don't work

frenkel commented 7 years ago

That is probably an old ticket, it remembers the associated address. For new tickets it should switch to the default one (see email settings default column).

ghost commented 7 years ago

Thank you very much!