Question

Problem to download document attached in email using Action Email Connect

  • 18 January 2023
  • 20 replies
  • 306 views

Badge +1

Hello everyone.

The idea for this bot is make the connection to the email using the action Email Connect and then download the document attached for the unread email for determinate emails address.

But, I have a error in the line 3.

Can, please help me to find a solution for this problem:

Currently I did the connection to my email. Until the line 2, work fine, the connection is successful



but in the line 3 I received the error with the following message “The provided connection details are invalid”

somebody have idea, what more I need to do or change in my configuration

Thanks.


20 replies

Userlevel 5
Badge +10

@Fatima 6238 

 

Title

Unable to loop through emails

Summary

**Applicable to A360.x**

Cannot loop through emails and get it to pull the variables - subject, message, etc

Cause

Key Mapping was missing and Email disconnect had to be removed from the loop

Resolution/Workaround

  1. Create custom variables for Email subject and Message ( as per requirement)

image.png
       2.Map these variables to the custom created variables

To Map :

  1. Under Loop action Select mapped variables -> Add variable mapping
  2. Enter the Key Value and map it to the desired variable from the drop down list
  3. Verify the key and mapped variable from table
  4. Add the string variables in Message box to display the results expected Under "enter message to display" choose the variable that has to be displayed

image.png

image.png

Additional Information

Disable/Delete the Email Disconnect from loop or keep it outside the loop

Userlevel 5
Badge +10

@Fatima 6238  seems wrong port 

 

Read Gmail messages on other email clients using POP

You can open your messages from Gmail in other mail clients that support POP, like Microsoft Outlook.

Step 1: Make sure POP is the best way to read your emails

IMAP and POP are both ways to read your Gmail messages in other email clients.

IMAP can be used across multiple devices. Emails are synced in real time.

POP can only be used for a single computer. Emails aren't synced in real time. Instead, they're downloaded and you decide how often you want to download new emails.

Step 2: Set up POP

First, set up POP in Gmail

  1. On your computer, open Gmail.
  2. In the top right, click Settings Settings and then See all settings.
  3. Click the Forwarding and POP/IMAP tab.
  4. In the "POP download" section, select Enable POP for all mail or Enable POP for mail that arrives from now on.
  5. At the bottom of the page, click Save Changes.

Next, make changes on your email client

Go to your client, like Microsoft Outlook, and check these settings.

Incoming Mail (POP) Server

pop.gmail.com

Requires SSL: Yes

Port: 995

Outgoing Mail (SMTP) Server

smtp.gmail.com

Requires SSL: Yes

Requires TLS: Yes (if available)

Requires Authentication: Yes

Port for TLS/STARTTLS: 587

If you use Gmail with your work or school account, check with your administrator for the correct SMTP configuration.

Server timeouts Greater than 1 minute (5 is recommended)
Full Name or Display Name Your name
Account Name, User Name, or Email address Your email address
Password Your Gmail password
Badge +1

Thanks, I follow your intructions, but the error continue.

I did your steps but not work yet.

Userlevel 5
Badge +10

@Fatima 6238  : so you verified that IMAP access is enabled and also below imap server information and port correct in your configuration ?

 

Step 1: Check that IMAP is turned on

  1. On your computer, open Gmail.
  2. In the top right, click Settings Settings and then See all  settings.
  3. Click the Forwarding and POP/IMAP tab.
  4. In the "IMAP access" section, select Enable IMAP.
  5. Click Save Changes.

Step 2: Change SMTP & other settings in your email client

Use the table below to update your client with the correct information. For help updating your settings, search your email client's Help Center for instructions on setting up IMAP.

Incoming Mail (IMAP) Server

imap.gmail.com

Requires SSL: Yes

Port: 993

Badge +1

@Fatima 6238  Hello, did you manage to solve the problem?

Badge +1

@Fatima 6238  : so you verified that IMAP access is enabled and also below imap server information and port correct in your configuration ?

 

Step 1: Check that IMAP is turned on

  1. On your computer, open Gmail.
  2. In the top right, click Settings Settings and then See all  settings.
  3. Click the Forwarding and POP/IMAP tab.
  4. In the "IMAP access" section, select Enable IMAP.
  5. Click Save Changes.

Step 2: Change SMTP & other settings in your email client

Use the table below to update your client with the correct information. For help updating your settings, search your email client's Help Center for instructions on setting up IMAP.

Incoming Mail (IMAP) Server

imap.gmail.com

Requires SSL: Yes

Port: 993

 

 

Thanks @rbkadiyam, I requested help with this, with the team support. I will let know you if I can fix this problem.

 

 

Badge +1

@Fatima 6238  Hello, did you manage to solve the problem?

Not yet, I am waiting the support from the team support to change the configuration in my mail account.

Thanks for check my problem, I will let you know if I can fix this problem.

Badge

 

@Fatima 6238  Hello, did you manage to solve the problem?

Not yet, I am waiting the support from the team support to change the configuration in my mail account.

Thanks for check my problem, I will let you know if I can fix this problem.

Hi Fatima,

Were you able to come up with a solution to the problem above? I am experiencing the same currently and unable to make the customer believe that the connection details might be wrong or invalid.

Due to the fact that the bot passes the Email connection line successfully and having trouble at loop command, I cannot force them to give me the true information for incoming emails. If I had got the error in connection line, I would have asked for the correct connection details for email server.

So, if you already handled the issue, please do let us know about how you managed it.

Thanks for your answer in advance.

 

Userlevel 3
Badge +9

Hello everyone.

The idea for this bot is make the connection to the email using the action Email Connect and then download the document attached for the unread email for determinate emails address.

But, I have a error in the line 3.

Can, please help me to find a solution for this problem:

Currently I did the connection to my email. Until the line 2, work fine, the connection is successful



but in the line 3 I received the error with the following message “The provided connection details are invalid”

somebody have idea, what more I need to do or change in my configuration

Thanks.

Hi @Fatima 6238 ,

Mainly if you are connecting a Gmail account with email server you have to keep in mind below steps: 

  1. Check whether IMAP is enabled or not inside your Gmail account general settings, if not then you can enable then and there.
  2. After that you need to “ON” the 2SV and create a App password for your account and pass that App password in the password section in the connect action.
  3. If you did the above steps and it is showing an error of connection failed then you need to contact you Internal IT network team as the connection might be getting blocked in the firewall.

I hope my solution helps for your problem.

Userlevel 5
Badge +9

@Fatima 6238 ,

Check  the protocol you are using  and set it up according you need if you are using pop3 or imap  as above team have mentioned.

If you are using imap

address:  imap.gmail.com

and port 993

 

if you are using pop3 

pop.gmail.com

and port 995

Select the protocol in your bot properly.

 

HTH

Regards

Userlevel 3
Badge +10

Hello @Fatima 6238 did you find a solution?

Badge +1

Currently I face this issue as well, anyone have any solution?

Userlevel 3
Badge +10

Currently I face this issue as well, anyone have any solution?

if you connect your mail via pop3, did you try imap?

and are you sure you have the connection? you can try by telnet command on commandprompt to use if u have connection to your email

Badge +1

Currently I face this issue as well, anyone have any solution?

if you connect your mail via pop3, did you try imap?

and are you sure you have the connection? you can try by telnet command on commandprompt to use if u have connection to your email

For pop3 is okay but error in Action Loop Command Line

Badge +1

Currently I face this issue as well, anyone have any solution?

if you connect your mail via pop3, did you try imap?

and are you sure you have the connection? you can try by telnet command on commandprompt to use if u have connection to your email

For pop3 is okay but error in Action Loop Command Line

From my side have problem with IMAP, how can I do it?

Userlevel 3
Badge +10

@ly.watanak  Can you try using with imap? i once had this issue too, probably the action in the loop you use does not let you with connection pop3, but it may need imap.

Can you have imap hostname and port number from the company u work at?

if u can reach outlook, you can get the port and imap hostname by yourself

Badge +1

@ly.watanak  Can you try using with imap? i once had this issue too, probably the action in the loop you use does not let you with connection pop3, but it may need imap.

Can you have imap hostname and port number from the company u work at?

if u can reach outlook, you can get the port and imap hostname by yourself

Currently I have issue with IMAP

Badge +1

@ly.watanak  Can you try using with imap? i once had this issue too, probably the action in the loop you use does not let you with connection pop3, but it may need imap.

Can you have imap hostname and port number from the company u work at?

if u can reach outlook, you can get the port and imap hostname by yourself

Currently I have issue with IMAP

 

Userlevel 3
Badge +10

@ly.watanak  Can you try using with imap? i once had this issue too, probably the action in the loop you use does not let you with connection pop3, but it may need imap.

Can you have imap hostname and port number from the company u work at?

if u can reach outlook, you can get the port and imap hostname by yourself

Currently I have issue with IMAP

 

probably you have a problem with email hostname, you dont have the authority to connect that with imap

can you write this (inside “”)on command line “telnet smtp.office365.com 587” enter what does it say? 

Badge +1

@ly.watanak  Can you try using with imap? i once had this issue too, probably the action in the loop you use does not let you with connection pop3, but it may need imap.

Can you have imap hostname and port number from the company u work at?

if u can reach outlook, you can get the port and imap hostname by yourself

Currently I have issue with IMAP

 

probably you have a problem with email hostname, you dont have the authority to connect that with imap

can you write this (inside “”)on command line “telnet smtp.office365.com 587” enter what does it say? 

Ah see, thank you let’s me try then.

Reply