I got an error : Connection Test Failed! Here is what we got instead: -3 Temporary failure in name resolution - odoo-11

i am getting this error while configuration of outgoing email server in odoo
Screenshort of the outgoing email server

I think you need to change the SMTP port to 25 and the connection security to TLS (STARTTLS),
but that doesn't enough to send email from odoo, you have to configure your email account too
Navigate to https://myaccount.google.com/
Click on Apps with account access
Than select 'Allow less secure apps'

Please go to Manage your Google Account and select Security.
And turn on 2-Step Verification, after that, you will get the option for App passwords
Now create an App password and use that instead of the password in the odoo email configuration settings

Related

How to create an authorization token for remote login for heroku?

I am trying to access logs from an app. Apparently, the only way to do that is the herkoku client.
I am working remotely. When I do
heroku login -i
Error: Your account has MFA enabled; API requests using basic authentication with email and password are not supported. Please generate an authorization token for API access.
But there is no link provided where or how to get such a token.
And the documentation does not mention the creation of such a token. Only how to store it.
Any ideas?
While logged in to the Heroku web interface, go to "Account settings" (in the menu under your avatar in the top right) and scroll down to "API Key". Generate one if there isn't one already, or click "Reveal" to see the existing one.
Now, re-run heroku login -i, and enter your email as normal, but enter that API key instead of your account password.
The above method works. But: You have to type this password into the CLI. Cutting and pasting does not work.

Strapi returns error code 400 on user registration

Strapi user registration returns error 400 Bad Request every time I try to register a test user, however the user does get created in the Users collection.
I am using the standard Strapi Email plugin (not the Send grid plugin), everytime I register a user, this plugin does not send an email which leads to be unable to confirm the user.
In the above image it returns an 400 Error but the user gets created.
Also, how to send the confirmation email with Strapi standard email plugin.
All auth permissions for Public role have been enabled
How to fix this error and send the confirmation email on new user register?
I also have the same issue, I just turned off the 'Enable email confirmation' on Advanced Settings, then it worked (registration).
So, In Strapi Admin:
Go to Settings -> Advanced settings
Set the field Enable email confirmation to "Off" then click save.
This works for me.
I think it's because you use the default email provider (sendmail). And your computer is not an available smtp server.
So I suggest you to install strapi-email-nodemailer https://www.npmjs.com/package/strapi-email-nodemailer
Then in your admin panel, got to Plugins (menu link) > Email (cog icon) and the select nodemailer provider and set the smtp server you want to use.
If you have trouble to setup correct information I suggest you to check how nodemailer node module work. strapi-email-provider is just a connector to use nodemailer from Strapi.
please check
My problem was because the sender email was misidentified.
The other problem I had was because there was no email configuration.
I installed the strapi-provider-email-smtp package and it was fixed when I made the necessary settings.
this worked for me.

mailgun email configuration with parse.com

I am using parse.com and Mailgun to send emails. But when I tried to send email I see the error that says
"The domain is unverified and requires DNS configuration. Log in to
your control panel to view required DNS
records\\"\n}\",\"data\":{\"message\":\"The domain is unverified and
requires DNS configuration. Log in to your control panel to view
required DNS records\"
I could see that my DNS is not verified in Mailgun dashboard as well.
If I use a custom domain I can do these configurations with the domain provider panel.
But I am using default xxx.parseapp.com as my domain for now.
How to do the setting for this scenario. I couldn't find any place to do the TXT settings in parse.com

How to change SMTP username in mandrill

I am using Mandripp app by Mail chimp.
https://mandrillapp.com
For sending emails using there SMTP settings.
I have a SMTP username which I want to change. But Mandrill is not giving me any option to change my SMTP username. It only gives option to change the Username or password for login account but not for SMTP
Can anyone have idea how to do that?
Thanks
The SMTP username is the same as the account username for login, so you can change that if you want and the SMTP username will also change. With SMTP, no validation actually happens on the username you provide—just the SMTP password (API key) so it doesn't really matter.
If anyone is still having this problem you need to change your contact information through your Mailchimp account.
I had the same problem. Here are the steps to update the username now. You need to do it on Mailchimp (not Mandrill):
Log-in on Mailchimp
Go to Settings > Details
There you have a Account name field, change it and save
Log-in on Mandrill
Go to Settings > SMTP & API Info
There you'll see the updated SMTP Username
Click on Account > Username & Contact info.
There you can choose to change username and/or contact email. As #terrorbox mentioned, changing the username does not matter for external API access as it is not checked.

Microsoft App authentication in MVC 5

I want to authenticate my mvc application by microsoft. I successfully done with Facbook, Google and Twitter, but when i click on Microsoft then the error `We're unable to complete your request
Microsoft account is experiencing technical problems. Please try again later`
is coming.
I successfully created an app and paste the Client ID and Client Secret in my mvc application . But I do not know the real problem
What is the return URL that you specified for the given Client ID and Client Secret? If the site is not running under that specific URL (e.g. is running under localhost whilst you are in dev mode), you can get this error message.
In my case I had my gmail account configured as my primary Microsoft Live account once I changed this to my Hotmail account as the primary account and then created a new app with a new name Client ID and Secret it started working for me.
The gmail account worked signing in as a gmail user on my app Identity Provider being Google to give some background this is the account I used as my Microsoft Account. I suspect my Microsoft account using my gmail user name and password confused the MS identity Provider thus resulting in the error. So avoid using a different Identity Providers credentials to authenticate with a different Identity provider if testing this. One account per Identity provider not associated to other Identity providers.
Since the Google account had been my primary for the other Identity Providers when I logged into the App as this I as essentially I suspect therefore already logged in with my Microsoft account.
Step 1:-
Open Application Registration Portal of Microsoft [https://apps.dev.microsoft.com] where you have Registered your Application.
You need to make change in Redirect URIs
For example :-
The URI which is Registered
URL:- http://localhost:8000
Change to make in URI :-
Just Add :- [/signin-microsoft] at end of URL It works
URL:- http://localhost:8000/signin-microsoft
Finally save your setting and try again it will work.
In my case, it failed when I used my personal Outlook account to login.
Once I switched to an Office 365 account, it started working.

Resources