Email configuration troubleshooting in localhost website - orchardcms

I simply added the following SMTP details:
What's wrong with my configuration then?
Why is that I can't receive any new emails on my gmail account.
Please help me with these. Thank you.

I recently came across this issue. Specifically for Gmail I had go to my Google Account Settings and first enable 2-Step Verification. Once that was enabled I could create 'App Passwords'.
This creates a custom password for login and bypasses the 2-step verification. Copy and paste that in your password for login.
The reason this did not work for me even without 2-Step verification enabled is because it was presenting the application originally with a Captcha to solve.

Related

Unable to setup Custom Scan using Web Security Centre Google Account Authentication in GCP

I am trying to setup Web Security Centre for my Google AppEngine App.
I tried using Google as well as Non-Google Account for Authentication where I provided Username and Password but it errors out saying
Could not sign in using the provided username and password
I tried below things:
Tried creating a test account vikash-security#gmail.com (in compliant with google naming convention) in my gmail and using the same for authentication. (this user had same domain name as my company's)
Created a test user with different domain name and used it for the authentication.
Both the above users have access to my Google App.
Both of the way did not work and throws the same error. Can anyone help me out with the same?
Google enforces a real name policy on G+ accounts. Your test account may be blocked from G+ if the name does not look real. at [1]. It will only work if the Google account you provided should have been G+ verified (with proper G+ setup), but still need to retry after the first failed attempt and it eventually will work.
There are few issues related to this and if this is a bug it will be resolved soon.
I raised this concern with the Google support team and got to know that there was issue from their end and they got this fixed and now my web security custom scan is working with non-google authentication.

How can I have Google Cloud Security Scanner log into my app?

I ran Google Cloud Security Scanner against my Google App Engine app. I asked it to authenticate against a "Non-Google Account" -- in other words, user-name/password fields in my webapp. However, I get back the message "Could not sign in using the provided username and password" each time.
(I tried it several times, specifying different user-agents and credentials and against two variants of my login page; and of course confirming that the credentials work when typed in manually. I have the necessary Editor-level permissions on the Google Cloud project.)
What do I need to do to get the Scanner to authenticate?
Here's what the docs say about Non-Google account authentication:
Note that support for login forms is still in development, and may not
work out-of-the-box with your system. If you have confirmed your test
account is able to login manually, but not in Cloud Security Scanner,
use the feedback option within the tools to request support.
One possible workaround is to create a simplified alternative login form for the purposes of using the scanner if it's unable to work with the current one.

App Passwords From Outlook.com

I'm creating an application that uses an email account that I created to send emails. This application is open-source and therefore anyone who looks at the source code will see the username and password and be able to log into my account. I enabled two-factor authentication to circumvent this problem, but I quickly realized that my application would not be able to log into my account.
So, essentially I need to make it so my application can log into my account whilst everyone can see the credentials, but make it so no one else can log in. Does this make sense? If I set up an app password, will that password only work when used with that app or can someone use it on outlook.com for example? Thanks for any help!
Oh, and another option is to make the application closed-source and obfuscate and compress and obfuscate but I've never dealt with securing .NET code so I'm not confident enough in my abilities to make it so users couldn't deobfuscate and reverse the application.

Why am I getting "Web Login Required" message while connecting to Gmail via IMAP?

I'm trying to connect and retrieve a list of message headers from Gmail via IMAP.
I'm getting a response from Google with "Web Login Required" and then a URL to continue the sign-in via the web interface. Log: http://hastebin.com/odufaducew.vhdl
Why does this happen? How to handle this case? I'm using the MailCore2 lib for iOS if that helps at all.
You can enable access for less secure apps in this page Google - Less secure apps
Choose enable and try again!
As legoscia points out, this happens when the login is done using a password and considered risky. The best option seems to be to avoid storing and using user's passwords for Gmail and instead switch to Oauth2. Is this app a mail user interface or are you using IMAP as an API? (Perhaps, https://developers.google.com/gmail/api/ would be more appropriate?)

Configuring IIS smtp with gmail

I am using Windows Server 2012. I followed following URL for configuring IIS smtp
http://blogs.technet.com/b/yashgoel-msft/archive/2012/10/26/configuring-outgoing-email-settings-in-sharepoint-with-gmail-smtp.aspx
Now my problem is my email are stuck in queued folder, I feel like as I have 2-step verification in gmail account is getting reject. So I change password in my smtp to application specific password. But still same problem.
So now I wanted to know what can be the problem. Is there any tool from which we can say that smtp of gmail is rejecting email.
Hope somebody can help me over here
I found the issue, actually my network team had block 25 port on our network.

Resources