Last modified by SuperUwe Trueggelmann on 2025-05-26

From version 5.10
edited by SuperUwe Trueggelmann
on 2023-01-25
Change comment: There is no comment for this version
To version 8.2
edited by SuperUwe Trueggelmann
on 2025-05-26
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -StartPage.WebHome
1 +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.cmpConnectRegDB.connectRegDB())
6 + def sqlConnection = new Sql(services.cmpConnectDB.connectRegDB())
7 7  
8 8   String strCurRecCol = "firstname"
9 9   int intRecCount=0
... ... @@ -687,14 +687,18 @@
687 687  
688 688   #end
689 689   #if( $xcontext.strFormStatus == "SendEmail" )
690 + Preparing message
690 690   #set($email_to = "${xcontext.strEmail}")
691 691   #set($email_subject = "CEC Registration - confirmation required to proceed")
692 692   #set($email_from = "cec_noreply@cecocert.com")
693 693   #set($email_text = "$xcontext.strEmailBody")
695 + Creating mesage
694 694   #set ($message = $services.mail.sender.createMessage($email_from, $email_to, $email_subject))
695 695   #set ($discard = $message.addPart("text/plain", ${xcontext.strEmailBody}))
698 + Sending message
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
701 + Checking for error
698 698   #if ($services.mail.sender.lastError)
699 699   {{error}}$exceptiontool.getStackTrace($services.mail.sender.lastError){{/error}}
700 700   #end
... ... @@ -709,7 +709,7 @@
709 709   #set ($status = $statuses.next())
710 710   {{warning}}
711 711   I am sorry, but there was a problem with sending you your confirmation e-mail!
712 - The data you entered has most likely already been stored in our database, and will not need to be entered again.
716 + The data you entered has likely already been stored in our database, and will not need to be entered again.
713 713   Hence, please do not try entering the information again but instead send an e-mail to contact@cecocert.com informing us about the problem.
714 714   As the subject line, please enter "CEC Registration - e-mail problem".
715 715   In the body of the e-mail, please simply provide your name and that of your company.