I am trying to run this code in order to send the report to the intended email recipients. However i receive this error message.
Access is denied.
Set objCDO = Server.CreateObject("CDO.M
objCDO.To = strTo
objCDO.From = strFrom
Set objCDO = Nothing
How to fix this error? Please advise. Thank you.