SMTP unrecognized authentication type with Office 365

Hi,

Net::SMTP.start(smtp[:address], smtp[:port], ‘localhost’, smtp[:user_name], smtp[:password], smtp[:authentication])
rescue Exception => e

Has been patched as above in my current version but still get the same.

Error: 504 5.7.4 Unrecognized authentication type with smtp.office365.com.

Anyone have any ideas?

「いいね!」 1