【发布时间】:2015-02-27 11:25:09
【问题描述】:
我正在尝试配置 Spring XD 的邮件接收器以将消息发送到 Outlook 帐户。这是我的流定义:
stream create outlookMailSink --definition "http | mail --to='\"email@address.com\"' --host=outlook.office365.com --subject=payload+' world'" --deploy
我正在使用这个 shell 命令进行测试:
http post --data Hello
我收到以下错误消息:
Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:84)
我在 Spring XD 文档和互联网搜索中对此进行了调查,但我还没有找到可行的解决方案。谁能帮我解决这个问题?
【问题讨论】: