Project

General

Profile

email notifications (end of file reached)

Added by Åke Forslund over 9 years ago

Hi,

I've seen plenty of issues like this but no real resolution that works for me.

Our IT-department have moved our mail from the in-house servers to office365 and as they flicked the last power switch yesterday I now have to migrate to the office365 smtp-server. the difference between the servers seem to be that the office365 smtp server doesn't want any login so I removed that from my site config, it now looks like this:

default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: outlook.office365.com
      port: 25

but this leaves me with the "... (end of file reached)"
If I add user_name and password I don't get the end of file reached message but instead I get (504 5.7.4 Unrecognized authentication type )

If I add domain keyword as some have suggested I still get (end of file reached)

My system info is

Environment:
  Redmine version                          2.0.3.stable.10343
  Ruby version                             1.8.7 (i486-linux)
  Rails version                            3.2.6
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  no plugin installed

What is causing this behavior? Is user_name always required?

Where can I find a list of supported authentication methods?

If anyone has a good solution I'd be a very happy user!

Best regards
/Åke