Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

error downloading emails in you sample client

Featured Replies

Hi , i am inmiddle of implementing the 360 works email plugin in my solution, however when i try to fetch the mailboxes i get an error message in the log "You must specify a valid inbound server"

 i did enter all my server info , and not sure what i am missing, please can someone help me work this out. 

You must run EmailConnectIMAP (or POP, depending on usage) before running EmailListMailboxes. Please ensure EmailConnectIMAP is connecting successfully by checking EmailConnectIMAP's returned value. If it is "ERROR" run EMailLastError and see what's wrong with your EmailConnectIMAP call.

  • Author

did that get the same error message , how can i rectify that?

get this error message now "Couldn't connect to host, port: imap.gmail.com, 143; timeout 30000"

can someone please help , cant seem to work this out

  • Author

Hi, 

i am trying to implement your email plugin into my solution, however, when wanting to fetch mailbox lists for my gmail account i get an error message " Couldn't connect to host, port: imap.gmail.com, 143; timeout 30000" , how do i fix that so that my email plugin should work properly , please can somebody help me out with this, thanks.

Can you copy and paste your EmailConnectIMAP script step? Please ensure to delete private data from the string (if any).

  • Author

If ( InboundServer::type = "imap" ; 
    EmailConnectIMAP( InboundServer::host ; InboundServer::username ; InboundServer::password ; "ssl=" & InboundServer::ssl) 
)

it is in a set varaible, just doesnt want to copy and paste

What is your InboundServer host set to? I see in the error you're trying to connect over port 143 (which is invalid). Google only allows you to connect over SSL / TLS which uses port 993. Try changing your port to 993.

I merged your additional thread into this one. Please refrain from making multiple threads for the same issue.

  • Author

thanks for your response, but where do i set the port #, my inbound host is set to imap.gmail.com:username?

  • Author

hi, i am trying to test your plugin first in the sample client however even their i get errors downloading the emails, when i fetch the messages i get an error "Please select an inbound mailbox first", what have i excluded please can someone help me?

Inbound host should be: imap.gmail.com:993

But again, let me reiterate - you do not need to create a new topic for the same error.

  • Author

hi, thanks for your response, i am sorry for reiterating just wasn`t sure if i posted in the right place .

i did as you advise changed the port to 993, i managed to download the mailboxes in my solution, however now i ran again  into the same problem when i try to fetch teh messages i get an error ''Please select an inbound mailbox first"

where have i now gone wrong , what am i missing now?

 

That error means that your EmailConnect connect didn't run successfully. Something is wrong with your connection credentials. You should be error checking the output of EmailConnect(SMTP | IMAP | POP | Amazon). If it fails it'll return "ERROR". Then run EmailLastError to get the specific error and provide that to me. Ideally if that gets an error you need to exit the script as the rest definitely won't be successful.

  • Author

how do i run the emaillasterror, where do i see the results

  • Author

Thnaks Caleb, did as you said but getting an empty dialog box, where am i going wrong again?

Can you PM me a copy of your script to take a look at?

  • Author

Screenshot001.jpg

The EmailLastError function needs to be called after the function that failed and returned "ERROR", not in a separate script.

  • Author

getting the same error, and diialog box is empty, see attached script

Screenshot001.jpg

H,

In my initial message on EmailLastError I said to set it to a variable or just use it in a dialog. When you set $error to EmailLastError you're clearing it out, so remove the "Set Variable [ $error; Value: EmailLastError]" step and see what comes of it.

  • Author

oh , i am sorry didn`t get you, did as told however still empty dialog message

As I said earlier, you need to run EmailLastError after the function that is failing. In your Set Value [ $result; Value: ... ] in the screenshot you're running EmailConnect with the rest of the information, can you isolate EmailConnect from the rest into it's own set value and after that run the error check? You need to run the error check after the failing function.

  • Author

i am not getting it, to me it seems that it is failing when it ensures a valid server is selected, it doesn`t even seem to get till the emailconnect, am i missing something?

You definitely are missing something. As I mentioned on the phone a couple weeks back we do offer consultation services to help integrate the Email plugin into your solution. You can send us a proposal for a quote here: http://www.360works.com/services/estimate/

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.