Changes

From SME Server
Jump to navigationJump to search
143 bytes added ,  12:59, 21 December 2016
Line 113: Line 113:     
Because the SME mail server is fussy you may find it easier to force some settings in the Rocket.Chat DB before trying to register:
 
Because the SME mail server is fussy you may find it easier to force some settings in the Rocket.Chat DB before trying to register:
 +
 +
You can set your SMTP host as localhost or mail.yourdomain.com
    
  mongo
 
  mongo
Line 118: Line 120:  
  db.rocketchat_settings.update({"_id" : "SMTP_Host"}, {$set: {"value":"mail.yourdomain.com"}})
 
  db.rocketchat_settings.update({"_id" : "SMTP_Host"}, {$set: {"value":"mail.yourdomain.com"}})
 
  db.rocketchat_settings.update({"_id" : "From_Email"}, {$set: {"value":"admin@yourdomain.com"}})
 
  db.rocketchat_settings.update({"_id" : "From_Email"}, {$set: {"value":"admin@yourdomain.com"}})
  quit
+
  exit
    
Restart Rocket.Chat to be sure:
 
Restart Rocket.Chat to be sure:
    
  service rocketchat restart
 
  service rocketchat restart
 +
 +
You should now be able to register a new account and get a confirmation email
    
===Errors===
 
===Errors===

Navigation menu