NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TimR

Pages: 1 [2]
16
E-Mail - Ask For Help / download all message issue
« on: April 05, 2018, 04:36:12 PM »
I'm trying to download all messages (even previously downloaded ones), from gmail.  However after the first time I download the email, it becomes invisible to my download client.  Also I've noticed that if I set the OptionsDelete=1 property, it is basically ignored (or is something more required to delete the message?). I'm not sure if it is a gmail issue or something else is going on.  Here is my code for downloading email:

      ThisEmailReceive.Server = POPServer
      ThisEmailReceive.Port = POPPort
      ThisEmailReceive.User = Username
      ThisEmailReceive.Password = Password
      ThisEmailReceive.OptionsDelete = 1
      ThisEmailReceive.OptionsDontSaveAttachments = 0
      ThisEmailReceive.OptionsDontSaveEmbeds = 1
      ThisEmailReceive.attachmentPath = CLIP(IncomingDirectory) & '\'
      ThisEmailReceive.SSL = POPRequiresSSL
      if ThisEmailReceive.SSL
        ThisEmailReceive.SSLCertificateOptions.CertificateFile = ''
        ThisEmailReceive.SSLCertificateOptions.PrivateKeyFile = ''
        ThisEmailReceive.SSLCertificateOptions.DontVerifyRemoteCertificateWithCARoot = 1
        ThisEmailReceive.SSLCertificateOptions.DontVerifyRemoteCertificateCommonName = 1
        ThisEmailReceive.SSLCertificateOptions.CARootFile = '.\CaRoot.pem'
      end
      ThisEmailReceive.Decide(NET:EmailDownload)
      ThisEmailReceive.Ask(NET:EmailDownload)

Ideas?

17
Web Server - Ask For Help / Re: creating a guid using string theory
« on: October 24, 2013, 06:14:31 PM »
If using MSSQL you can also use this statement to generate a guid.

select newid()

Off topic a bit, but I'm hoping if I write it down I may actually remember it when I need it.

18
Web Server - Ask For Help / Re: Logout form embed code
« on: October 17, 2012, 09:10:23 PM »
One example is in web3.app and it appears to work as advertised (if you don't want to logout, you don't get logged out)

19
Web Server - Ask For Help / Re: Secwin and connecting to a SQL Database
« on: February 16, 2012, 04:34:50 PM »
Ahh, I misunderstood, your question.  You have to set the owner string for the secwin tables in the global embeds after the "Program Setup" before the "Secwin - initialize".  I have a different owner string for the other tables in my app, so that's why I answered incorrectly.

20
Web Server - Ask For Help / Re: Secwin and connecting to a SQL Database
« on: February 15, 2012, 11:52:00 AM »
This probably isn't much help, but I'm using secwin and mssql and it is working. I set the owner string before the parent call to Processlink.

21
Web Server - Ask For Help / Nettalk 6.18 and Secwin compile error
« on: February 08, 2012, 06:11:12 PM »
I sent an email regarding this, but didn't get a response (it may have been eaten by the spam filter), so thought I'd re-post it here.

There appears to be a problem, in the netweb.tpw file on line 10815.  There are quotes around %SecwinCtrlsDisplayProcedure that are causing compile errors.  Is is currently like this: 

loc:SecwinProcedure = '%SecwinCtrlsDisplayProcedure'

but I believe it should be like this:

loc:SecwinProcedure = %SecwinCtrlsDisplayProcedure

It currently generates the closingScripts routine like this

ClosingScripts  Routine
  data
Rtn_SecwinProcedureName         string(252)
  code
    do SetFormAction
    if p_web.GetSessionLevel() = ds_Supervisor
      Rtn_SecwinProcedureName = 'Employers'
    end

    if p_web.GetSessionLevel() = ds_Supervisor
      loc:SecwinProcedure = ''Employers'' <--------------Here is the problem generated source code line.
    else
      loc:SecwinProcedure = ''
    end

One final thing of note I entered 'Employers' as the "Secwin friendly name" on the Security tab.

22
Web Server - Ask For Help / Re: Single Insert Form and Chaining
« on: February 03, 2009, 02:29:00 PM »
Here is the code for the save button

button type="button" name="save_btn" id="save_btn" value="Save" class="MainButton" onclick="document.Entry_frm.action='indexpage'; document.Entry_frm.target='_self'; dsb(Entry_frm,save_btn,'save_btn','','');" title="Click on this to Save the form" >Save</button>


23
Web Server - Ask For Help / Re: Single Insert Form and Chaining
« on: February 02, 2009, 08:22:31 AM »
Not currently, as then the postupdate code gets skipped.

24
Web Server - Ask For Help / Re: Single Insert Form and Chaining
« on: January 30, 2009, 10:00:18 AM »
Almost forgot, Why does the postupdate and validateall routines get skipped if something is entered into the "URL on Save:" field in the template?

25
Web Server - Ask For Help / Re: Single Insert Form and Chaining
« on: January 30, 2009, 09:13:57 AM »
The URL is Fully Qualified.

  Desired System Overview:  Someone at a call center enters the data into their own web site/database. Another person does some QA on it, submits it to my web server (nettalk a single page)  saves the record and finally is redirected back to a page on the call centers server (address is supplied in Posted data to my server)

I read the data like this (to prefill form):
IF p_web.IfExistsValue('FirstName')
    p_web.StoreValue('FirstName')
End

I'm fairly certain my terminology is off, and that I'm definately learning as I go.  So if I'm doing something incorrectly or you have a better way to accomplish them I'm open to ideas. 

Thanks,
Tim

26
Web Server - Ask For Help / Single Insert Form and Chaining
« on: January 29, 2009, 05:02:44 PM »
I have a (memory) form that that gets prefilled by another web site.  When the user clicks on the save button it is supposed to insert several records and then return to an external page that is in one of the posted fields. 
With IE7 this works, however with IE6 it is not working.  Instead the beginning of the supplied address (i.e. www.whatever.com) is dropped and www.whatever.com/somepage.asp becomes www.myserveraddress.com/somepage.asp.  Which fails.

I looked at trying to use the "Chain_to" variable or setting the "URL on Save" and it then navigates correctly, but then ceases to go thru the PostUpdate and ValidateAll routines, which is where I write the records and validate the record.  Why does it do that?

Am I doing something wrong, or thoughts on how to get this to work will be greatly appreciated.

27
Web Server - Ask For Help / Posting Data from another web page
« on: December 10, 2008, 10:44:21 AM »
I've a client that is trying to post some information from their web site into my Web app.  I can see the data that they are posting, however none of it appears on my webpage when it opens.  Is there something special I have to do have so that their web page will prefill in data?

28
Web Server - Ask For Help / Conditionally choose form path
« on: November 07, 2008, 11:23:44 AM »
I want to setup an order form that will allow users to create an order for numerous accounts.  If the user is entering a possibly duplicate account (i.e. name/address) I want to warn them of this condition and then give them the option to place the order under the existing account or to just create a new account.

I don't know how to conditionally ask a question and then go to one of two web pages, any help would be much appreciated.

FYI: Unfortunately I can't use a browse with a lookup for accounts(client constraint).

Pages: 1 [2]