zoukankan      html  css  js  c++  java
  • 【异常】553 Mail from must equal authorized user

    1 详细异常打印

    2019-08-12 14:54:42,178 ERROR org.apache.camel.processor.DefaultErrorHandler: Failed delivery for exchangeId: ID-cdh4-39223-1565591676886-0-549. Exhausted after delivery attempt: 1 caught: org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
    ; message exceptions (1) are:
    Failed message 1: com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
    org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
    ; message exception details (1) are:
    Failed message 1:
    com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1829)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1368)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:886)
        at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:416)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:355)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)
        at org.apache.camel.component.mail.MailProducer.process(MailProducer.java:44)
        at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)
        at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)
        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
        at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
        at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)
        at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)
        at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
        at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:109)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
        at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
        at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
        at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
        at org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:189)
        at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:121)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    

    2 错误原因,自己的smtp中的邮箱设置写错了

    自己的手机号@163.com 写成了 qq.com 导致了邮箱验证错误的问题  
  • 相关阅读:
    windows系统pycharm终端更改为git bash
    python 连接mysql数据库操作
    selenium 鼠标,键盘操作
    selenium定位,操作元素
    python读取csv,Excel,Txt,Yaml 文件
    Jmeter 学习 搭建(1)
    接口测试
    UnitTest+HTMLTestRunner实战
    HTMLTestRunner.py 文件,已修改完成
    UnitTest + HTMLTestRunner
  • 原文地址:https://www.cnblogs.com/QuestionsZhang/p/11373134.html
Copyright © 2011-2022 走看看