When trying to give the body of an email I have the following code…
system.net.sendEmail(smtpProfile="SendInBlue", fromAddr="notification@ticketingsystemfyp.com", subject="Request Submission Confirmation", body="Hello," + self.session.props.auth.user.firstName + ", your Request ID is" + self.getSibling("lblHidden").props.text + ". Your request was submitted at " + now(0) + ".", html=1, to= self.session.props.auth.user.email)
and I am receiving the following error…
Error running action ‘component.onActionPerformed’ on UserPage@D/root/Button: Traceback (most recent call last): File " ", line 8, in runAction TypeError: cannot concatenate ‘unicode’ and ‘int’ objects
Blockquote
Is there something wrong with the syntax?