Changes for page X1000 - Contact Registration Form
Last modified by SuperUwe Trueggelmann on 2025-05-26
From version 5.12
edited by SuperUwe Trueggelmann
on 2023-01-25
on 2023-01-25
Change comment:
There is no comment for this version
To version 7.3
edited by SuperUwe Trueggelmann
on 2025-05-26
on 2025-05-26
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 - StartPage.WebHome1 +Main.WebHome - Content
-
... ... @@ -3,7 +3,7 @@ 3 3 import groovy.sql.Sql 4 4 5 5 String strDBTable = "\"regUser\".\"newUser\"" 6 - def sqlConnection = new Sql(services.cmpConnect RegDB.connectRegDB())6 + def sqlConnection = new Sql(services.cmpConnectDB.connectRegDB()) 7 7 8 8 String strCurRecCol = "firstname" 9 9 int intRecCount=0 ... ... @@ -693,6 +693,7 @@ 693 693 #set($email_text = "$xcontext.strEmailBody") 694 694 #set ($message = $services.mail.sender.createMessage($email_from, $email_to, $email_subject)) 695 695 #set ($discard = $message.addPart("text/plain", ${xcontext.strEmailBody})) 696 + #set ($discard = $services.mail.smtp.starttls.enable, true) 696 696 #set ($mailResult = $services.mail.sender.send($message)) 697 697 ## Check if the message was created properly and if we have permissions to send emails 698 698 #if ($services.mail.sender.lastError)