fluent-plugin-mail icon indicating copy to clipboard operation
fluent-plugin-mail copied to clipboard

Office365 not supported

Open jigetage opened this issue 6 years ago • 4 comments

Hi, when I use Office365 to send email, I encountered an error like this: "error_class: Net::SMTPAuthenticationError, error_message: 504 5.7.4 Unrecognized authentication type [BJXPR01CA011.CHNPR01.prod.partner.outlook.cn]"

Here is my config:

  host smtp.partner.outlook.cn # Change this to your SMTP server host
  port 587 # Normally 25/587/465 are used for submission
  user ***@***.com # Use your username to log in
  password ****** # Use your login password
  enable_starttls_auto true # Use this option to enable STARTTLS
  enable_tls false
  from ***@***.com # Set the sender address
  to ***@***.cn # Set the recipient address
  subject ' SERVICE ERRORS ()'
  message Total Service Staging error count: %s\n\nPlease check environment ASAP
  message_out_keys count # Use the "count" field to replace "%s" above

Is it because Office365 is not supported?

Could you help me to fix this problem? Looking forward to you reply. Any response would be highly appreciated.

jigetage avatar Oct 10 '19 03:10 jigetage

Does anyone have the same problem as described above?

ddsultan avatar Nov 20 '19 08:11 ddsultan

@jigetage, as it turns out that you need to specify authtype login, and the login and password should be of type string

ddsultan avatar Nov 20 '19 09:11 ddsultan

@jigetage, as it turns out that you need to specify authtype login, and the login and password should be of type string

thanks for your advice, i'll try it out.

jigetage avatar Nov 27 '19 01:11 jigetage

@jigetage, as it turns out that you need to specify authtype login, and the login and password should be of type string

Same problem, same solution :-) Thanks for posting this! :-)

cpina avatar Feb 09 '21 14:02 cpina