Coder Social home page Coder Social logo

Problem sending email about thermeq3 HOT 6 CLOSED

autopower avatar autopower commented on August 22, 2024
Problem sending email

from thermeq3.

Comments (6)

autopower avatar autopower commented on August 22, 2024

Its just a renamed variable, you can use any loginname here. If not working can you please send me log?

from thermeq3.

bilbolodz avatar bilbolodz commented on August 22, 2024

I'm afraid that you are wrong. These variable is also used as a "source email address".
Log from nsm.py:
2017/10/10 16:52:00 [DEBUG] Error during sending email. Error code: (501, '<bilbo_thermeq3>: sender address must contain a domain', 'bilbo_thermeq3')

bilbo_thermeq3 = my user name for auth

from thermeq3.

autopower avatar autopower commented on August 22, 2024

everything after Error code: comes from server, so IMO mail server needs domain
If auth fail, log contains: [DEBUG] Authentication error during sending email. Typically server needs SSL not TLS

from thermeq3.

bilbolodz avatar bilbolodz commented on August 22, 2024

Yes that's correct. Your are using from_addrs variable for:

  1. Login to server:
    mailer.py: server.login(eq3_setup.from_addr, eq3_setup.from_pwd)
  2. Send mail message:
    mailer.py: server.sendmail(eq3_setup.from_addr, str_to_list(eq3_setup.to_addr), message)

in first case from_addr needs to be mailhost username
in second from_addr needs to be email address "send from"

It should be two different config variables as it was used to.

from thermeq3.

autopower avatar autopower commented on August 22, 2024

Clear, will be fixed.

from thermeq3.

autopower avatar autopower commented on August 22, 2024

Fixed. If needed, reopen.

from thermeq3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.