I want to get email from a specific address (gmail) and automatically create issues. And I'm not sure, how to do this.
In youtrack Mailbox Integration Settings I click Configure New Mailbox Server and then I don't know what to choose. What parameters should I use to get emails from gmail address
Protocol:IMAPS
Host:imap.gmail.com
Port:993
Login:mylogin
Password:mypassword
Select SSL key: nothing
Connection timeout:60
Socket timeout:60
But get [AUTHENTICATIONFAILED] Invalid credentials (Failure)
there is 2 step verification on this account - maybe that can be a reason of the error?
Which exactly steps of verification does the account have?
Here you can find a description of mailbox setup parameters: https://www.jetbrains.com/help/youtrack/standalone/2018.1/Mailbox-Integration.html#enable-mailbox-integration
Related
I try to set up the email channel for a bot on the Azure portal using a company email address. The address uses password authentication. When I try to save I receive Unable to save. Unable to validate the given credentials. ID: b8f65400c0bbb04890efdfa2950940d1. Is this supposed to work?
If I use a company test tenant with an email address ending in onmicrosoft.com registration succeeds.
The only difference I see when doing one of the connection tests on https://testconnectivity.microsoft.com/ (Mailbox provisioning test) is that I get a company login page with the company email address and the standard Microsoft prompt with the onmicrosoft account.
There may be another way, but for my organization, we found the same thing and the solution was for us to create an onmicrosoft.com email address to use for the email channel for the bot. It shouldn't actually matter if you only have access to do this in the test tenant; all you're doing is setting up a channel to communicate with the bot, and you can give you bot access to connect to your production tenant if there are functions there you need.
I'm building a prototype web site to show a client, and need to connect to Gmail to access emails. For simplicity (as this is a prototype) I am trying to connect using the email and password for a throwaway Gmail account I created. Full security will come later, when we (hopefullly) get the agreement for the full app.
I'm using Mailkit, and the code is as follows...
ImapClient client = new();
await client.ConnectAsync("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect);
await client.AuthenticateAsync(userName, password);
The first time I tried this from my local machine, the auth failed, and a "Security alert" email was sent to the Gmail account saying that a new device had tried to log in. It gave me the option to check the activity, and confirm that the new device was actually me.
After that, I was able to run the code from my local machine without problem.
Another developer just checked out my changes and tried it on his machine, and got an auth failed exception. Understandable, as his device hasn't been used for this before. However, this time, the Gmail account didn't receive a "Security alert" email, so he had no way of telling Google that his device was to be trusted.
I then deployed the site to a test server, and had the same problem.
Anyone any idea why we don't get a "Security alert" email for the other dev's machine or for the test server? More to the point, any idea how we tell Google to trust these two devices? I don't have the resources to add OAuth to this prototype at this stage.
The Imap log is shown below.
Thanks
Imap log
Connected to imaps://imap.gmail.com:993/
S: * OK Gimap ready for requests from 185.160.182.96 n14mb29765764wrp
C: A00000000 CAPABILITY
S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
S: A00000000 OK Thats all she wrote! n14mb29765764wrp
C: A00000001 AUTHENTICATE PLAIN AG5vd2l0c21pbmUyMDIwQGdtYWlsLmNvbQBIZXl5b3VBbmRtZTEy
S: * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbsNd6RU3LIlgDfhmL9Y7ywYhtagFig_xfuSJCUHD9Eg3XqN8DKlDk3G8jmj2w5viIm5PDC3BS4SVy7iFMB6g1244cnQt1E60EdOTSEpnqDzL6FH2L-ReOAyZ3qkSXZQZs2pIfL2] Web login required.
S: A00000001 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Gmail has this security feature where it requires you to login first via a web browser on the machine before it will let you connect via IMAP.
You might be able to work around this by going to the gmail settings and creating a app-specific password for your app to use.
Also, MailKits FAQ has a section about what settings to change in order to allow “less secure apps” to authenticate. Not sure if you did those steps yet.
Can you also file a feature request for MailKit to add support for Gmail’s [WEBALERT …] response code? From a quick glance, I think that may be something MailKit could parse and emit an event for (not that it would help your app that much in this case, but maybe useful to have anyway?)
I'm having an issue receiving the verification email from DocuSign that is needed to create an account under my master account to connect for use with API. The emails don't appear to be hitting my firewall, nor are they showing up in my email. Does anyone know if these emails are coming from docusign.com, docusign.net, or some other domain?
In Demo emails will come from dse_demo#docusign.net and in PROD it should come from dse#docusign.net. Also please check your Spam/Junk folder if it landing on these folder as per your email server policy.
I want to send emails from a G Suite Google Group address e.g. group#mydomain.com. The account I will be using to send emails is in another G Suite domain, e.g. user#anotherdomain.com. I can verify the access with a confirmation code, but I am required to provide an SMTP account as well. I provide an SMTP username/password on the same G Suite Domain as the group, e.g. smtpuser#mydomain.com:
Now whenever I send an email from group#mydomain.com, the emails always show up as originating from the email I provided for the SMTP username, smtpuser#mydomain.com rather than the group address of group#mydomain.com.
I've struggled with this configuration forever and finally got an answer! You have to make sure the user information provided for the SMTP configuration is also configured to send email on behalf of the group.
So in the example I posted, you need to configure smtpuser#mydomain.com to send email from group#mydomain.com as well as configuring user#anotherdomain.com to send email from group#mydomain.com.
I sure hope this helps save someone time!!
I'm trying to set up a delegated institutional Google Mail to forward e-mails to our JIRA Cloud instance's e-mail address so that they can be turned into JIRA issues. I do not have and cannot get the password for the Google Mail account, and when I try set up the forwarding address in Google, Google sends a confirmation e-mail address to the JIRA e-mail address.
Is there a way to check e-mails sent to jira#myorganization.atlassian.com to recover this confirmation code? If not, how can I do this?
Atlassian does not host mail server. You need to create JIRA email account in your organization mail server (or on any other mail server like gmail) and tune JIRA to connect to the account via IMAP or POP3. Please look here: https://confluence.atlassian.com/display/Cloud/Creating+Issues+and+Comments+from+Email