Changes for page X1000 - Contact Registration Form
Last modified by SuperUwe Trueggelmann on 2025-05-26
From version 7.3
edited by SuperUwe Trueggelmann
on 2025-05-26
on 2025-05-26
Change comment:
There is no comment for this version
To version 5.1
edited by SuperUwe Trueggelmann
on 2022-12-29
on 2022-12-29
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 - Main.WebHome1 +StartPage.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.cmpConnectDB.connectRegDB()) 6 + def sqlConnection = new Sql(services.cmpConnectRegDB.connectRegDB()) 7 7 8 8 String strCurRecCol = "firstname" 9 9 int intRecCount=0 ... ... @@ -693,7 +693,6 @@ 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) 697 697 #set ($mailResult = $services.mail.sender.send($message)) 698 698 ## Check if the message was created properly and if we have permissions to send emails 699 699 #if ($services.mail.sender.lastError) ... ... @@ -702,34 +702,15 @@ 702 702 ## Check if the mail we tried to send has failed to be sent 703 703 #set ($statuses = $mailResult.statusResult.getAllErrors()) 704 704 #if ($statuses.hasNext()) 705 - 706 - {{warning}} 707 - Something has gone wrong! Please do not try again! 708 - {{/warning}} 709 - 710 710 #set ($status = $statuses.next()) 711 - {{warning}} 712 - I am sorry, but there was a problem with sending you your confirmation e-mail! 713 - The data you entered has likely already been stored in our database, and will not need to be entered again. 714 - Hence, please do not try entering the information again but instead send an e-mail to contact@cecocert.com informing us about the problem. 715 - As the subject line, please enter "CEC Registration - e-mail problem". 716 - In the body of the e-mail, please simply provide your name and that of your company. 717 - If possible, please copy and paste the error message shown below in red into the e-mail, below your name and that of your company. 718 - We are sorry for the inconvenience! 719 - {{/warning}} 720 - 721 721 {{error}} 722 722 Error: $status.errorSummary ($status.state) 723 723 $status.errorDescription 724 - {{/error}} 725 - 726 - #else 727 - {{info}} 728 - An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}. 729 - Please check your inbox and click on the link to confirm your e-mail address! 730 - The process will only continue after you have confirmed your e-mail address. 731 - {{/info}} 708 + {{/error}} 732 732 #end 710 + An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}. 711 + Please check your inbox and click on the link to confirm your e-mail address! 712 + The process will only continue after you have confirmed your e-mail address. 733 733 #end 734 734 735 735 {{/velocity}}