I have a weird bug - it's driving me a bit crazy!
If I configure the 'Email settings' page as follows, OSQA sends emails just fine.
However, if I substitute in a different address -
I am CERTAIN this address and password are OK, I can log into Gmail with them. I have checked and POP is enabled for the address.
Does anyone have any ideas why OSQA is objecting to this address? If not, does anyone know how I can start to debug the problem?
-- UPDATE -- I can connect to another mail client (specifically, OSX's inbuilt Mail) and send emails just fine from there with the okfn.wdmmg login credentials.
So it seems like it's just OSQA and this particular Google login that's the problem...
This is not an OSQA issue, but rather something about what Gmail allows and doesn't allow. Gmail is very particular about SMTP sender authentication. If you want to choose an arbitrary email address for the sender, then you will need to find another SMTP host besides Gmail.
answered 08 Sep '10, 09:17
Note: I had big problems with port 465. Gmail's help says you can use 465 but for me, even though it connected, it didn't work. Using Port 587 worked for me.
answered 24 Oct '10, 13:09
hi I am also having same kind of problem.SMTP work for one domain(gmail.com) and not working for another domain(live.com).I tried all way i could.But i am unable to succeed on it.If anyone had the same problem please let me know how to configure it successfully.Waiting for response.Thanks in advance.
the ERRROR is
/bitnami/apps/osqa/forum/utils/mail.py TIME: 2014-04-08 04:13:32,344 MSG: mail.py:create_and_send_mail_messages:122 Email sending has failed: Connection unexpectedly closed: [Errno 1] _ssl.c:1363: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
I've noticed that if I enter an invalid password in Email settings, OSQA doesn't throw an email when I try to send a validation email. It says 'A message... was sent to your address'.
Would it be better if this waited for a receipt, and displayed a failure message if the server rejects the SMTP information?
Also, please could you tell me where the failure messages do get logged, so I can try to work out what's going on?
answered 08 Sep '10, 13:22