Number of parameters in call statmenet is different from function
SendCyc Cycle_Fields("RCYC_USER_07").Value, strTo, strSubject
in function you have 2 more parameters StrCC and StrComment
Also use this format for SendMail
SendMail recipientAddress, EmailServer, subject, body of email,,TEXT/HTML
I don't think you can add To and CC... only To will work. So if you have multiple recipients, add all those email address separated by ; into a variable and pass to match recipientAddress param
Provide your server address as next param. you can find it in Site Configuration settings.
SendCyc Cycle_Fields("RCYC_USER_07").Value, strTo, strSubject
in function you have 2 more parameters StrCC and StrComment
Also use this format for SendMail
SendMail recipientAddress, EmailServer, subject, body of email,,TEXT/HTML
I don't think you can add To and CC... only To will work. So if you have multiple recipients, add all those email address separated by ; into a variable and pass to match recipientAddress param
Provide your server address as next param. you can find it in Site Configuration settings.