Last modified by SuperUwe Trueggelmann on 2025-05-26

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

Summary

Details

Page properties
Content
... ... @@ -146,7 +146,7 @@
146 146   strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n"
147 147   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
148 148   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "Please click the below link to confirm your e-mail address:" + "\r\n"
149 - strEmailBody = strEmailBody + "https://cecocert.com/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome"
149 + strEmailBody = strEmailBody + "https://cecocert.com/xwiki/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome"
150 150   strEmailBody = strEmailBody + "?em=" + strEmail + "&cc=" + strConfCode
151 151   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "If you do not confirm your e-mail address within 24 hours, the information you entered will be deleted!"
152 152  
... ... @@ -687,18 +687,17 @@
687 687  
688 688   #end
689 689   #if( $xcontext.strFormStatus == "SendEmail" )
690 - Preparing message
690 + ## Preparing message
691 691   #set($email_to = "${xcontext.strEmail}")
692 692   #set($email_subject = "CEC Registration - confirmation required to proceed")
693 693   #set($email_from = "cec_noreply@cecocert.com")
694 694   #set($email_text = "$xcontext.strEmailBody")
695 - Creating mesage
695 + ## Creating mesage
696 696   #set ($message = $services.mail.sender.createMessage($email_from, $email_to, $email_subject))
697 697   #set ($discard = $message.addPart("text/plain", ${xcontext.strEmailBody}))
698 - Sending message
698 + ## Sending message
699 699   #set ($mailResult = $services.mail.sender.send($message))
700 700   ## Check if the message was created properly and if we have permissions to send emails
701 - Checking for error
702 702   #if ($services.mail.sender.lastError)
703 703   {{error}}$exceptiontool.getStackTrace($services.mail.sender.lastError){{/error}}
704 704   #end