November 30, 201510 yr 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.
November 30, 201510 yr 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.
November 30, 201510 yr 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
November 30, 201510 yr 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.
November 30, 201510 yr Can you copy and paste your EmailConnectIMAP script step? Please ensure to delete private data from the string (if any).
November 30, 201510 yr 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
November 30, 201510 yr 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.
December 1, 201510 yr Author thanks for your response, but where do i set the port #, my inbound host is set to imap.gmail.com:username?
December 1, 201510 yr 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?
December 1, 201510 yr 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.
December 2, 201510 yr 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?
December 2, 201510 yr 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.
December 2, 201510 yr http://static.360works.com/plugins/EMAILPLUG/documentation.html#EmailLastError You could do Set Variable [ $error ; EmailLastError ] and then show a dialog with $error or just show a dialog and use EmailLastError.
December 3, 201510 yr Author Thnaks Caleb, did as you said but getting an empty dialog box, where am i going wrong again?
December 3, 201510 yr The EmailLastError function needs to be called after the function that failed and returned "ERROR", not in a separate script.
December 3, 201510 yr 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.
December 3, 201510 yr Author oh , i am sorry didn`t get you, did as told however still empty dialog message
December 3, 201510 yr 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.
December 3, 201510 yr 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?
December 3, 201510 yr 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