Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

error downloading emails in you sample client


This topic is 3278 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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. 

Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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?

Posted

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?

 

Posted

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.

Posted

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

Posted

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

Posted

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

Screenshot001.jpg

Posted

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.

Posted

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

Posted

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.

Posted

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?

This topic is 3278 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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