check_auth_continue: 504 5.7.4 Unrecognized authentication type (Net::SMTPSyntaxError)

I have a simple script that send mails through gmail smtp server in ruby, now I have to move the script to a microsoft exchange server and I keep getting the above error, please I need help thanks,

I have tried the below from irb and it fails with the above error too:

Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain','Your Account', 'Your Password', :login)

Answers


Based on google, you have to enable basic authentication to use your script:

http://social.technet.microsoft.com/Forums/da-DK/exchangesvradmin/thread/0abab2e0-e8ca-4e07-a095-ca4f55015884


Need Your Help

Styling and js event issues on rotated div in IE?

html css internet-explorer text-rotating

I've rotated a div, which looks fine and functions properly in Chrome & Firefox. However in IE (v9.0.8112.16421), the style & click event only appear to be applied to the area of the div w...

for loop with several vars (arrays) to change each run

batch-file for-loop batch-processing var

How do i get different vars changed in a for loop with every run?