adamcooke / staytus

💡 An open source solution for publishing the status of your services
http://staytus.co
MIT License
2.17k stars 285 forks source link

Mail config #290

Closed kevin-decker closed 3 years ago

kevin-decker commented 5 years ago

Working on getting our instance setup & I'm running into an issue with the mail setup. We have an Exchange environment but utilize IMAP not SMTP - is it possible to use IMAP with this? If so how would we be able to configure the platform to not require a username/password/authentication since we would give this anonymous access to send mail. Thanks for the help in advance!

I, [2019-05-13T12:50:23.859981 #4357] INFO -- : [519d6ceb-c5d4-41ca-8413-eb19f4830502] Completed 500 Internal Server Error in 5091ms (ActiveRecord: 19.0ms) F, [2019-05-13T12:50:23.861231 #4357] FATAL -- : [519d6ceb-c5d4-41ca-8413-eb19f4830502] F, [2019-05-13T12:50:23.861310 #4357] FATAL -- : [519d6ceb-c5d4-41ca-8413-eb19f4830502] Net::SMTPAuthenticationError (504 5.7.4 Unrecognized authentication type ): F, [2019-05-13T12:50:23.861366 #4357] FATAL -- : [519d6ceb-c5d4-41ca-8413-eb19f4830502] F, [2019-05-13T12:50:23.861413 #4357] FATAL -- : [519d6ceb-c5d4-41ca-8413-eb19f4830502] lib/staytus/email.rb:40:in deliver' [519d6ceb-c5d4-41ca-8413-eb19f4830502] app/models/subscriber.rb:41:insend_verification_email' [519d6ceb-c5d4-41ca-8413-eb19f4830502] app/controllers/pages_controller.rb:59:in subscribe_by_email' [519d6ceb-c5d4-41ca-8413-eb19f4830502] app/controllers/application_controller.rb:20:inset_time_zone'

tb582 commented 5 years ago

Ran into a similar issue - try https://github.com/adamcooke/staytus/issues/262#issuecomment-429914061