Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 开发与实施交流
  4. Odoo邮箱设置失败,SMT440错误,怎么解决?

Odoo邮箱设置失败,SMT440错误,怎么解决?

Scheduled Pinned Locked Moved Odoo 开发与实施交流
4 Posts 4 Posters 2.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dryao
    wrote on last edited by
    #1

    未知错误: 邮件发送失败 通过SMTP发送邮件失败 'None'. SMTPSenderRefused: 440 mail from account doesn't conform with authentication
    我用的是个人邮箱,个人邮箱无法配置么?我代码也修改了

    # smtp_from = from_rfc2822[-1]
           smtp_from = self._get_default_bounce_address()
    
    

    该报错,还是报错,smtp.qq.com,和smtp.aliyun.com都测通了,实际却无法使用.求大神帮助,谢谢了.

    J 1 Reply Last reply
    0
    • D dryao

      未知错误: 邮件发送失败 通过SMTP发送邮件失败 'None'. SMTPSenderRefused: 440 mail from account doesn't conform with authentication
      我用的是个人邮箱,个人邮箱无法配置么?我代码也修改了

      # smtp_from = from_rfc2822[-1]
             smtp_from = self._get_default_bounce_address()
      
      

      该报错,还是报错,smtp.qq.com,和smtp.aliyun.com都测通了,实际却无法使用.求大神帮助,谢谢了.

      J Offline
      J Offline
      jelly
      wrote on last edited by
      #2

      @dryao 我也有类似的问题,但是我使用邮箱设置时测试就无法进行,请问您知道解决方法了吗?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        digitalsatori
        管理员
        wrote on last edited by digitalsatori
        #3

        这是因为国内的公共免费的SMTP服务器不允许 邮件转发(Mail Relay)。也就是服务器认证用户,和发送邮件的From必须是一致。
        你虽然改代码固定成bounce_address了,接下来还要把bounce_address的邮箱地址设置成跟SMTP认账的邮件账号一致。
        如果消息通知的邮件比较多,用这种SMTP服务器也是不合适,会有每日邮件发送数量的限制的。

        【上海先安科技】(tony AT openerp.cn)

        1 Reply Last reply
        0
        • jefferyJ Offline
          jefferyJ Offline
          jeffery
          wrote on last edited by
          #4

          安装模块解决此问题。

          https://github.com/jeffery9/mail_sender

          1 Reply Last reply
          1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Tags
          • Popular
          • Users
          • Groups