• use "Send Mail task" for sending mails or you can use ActiveX script task too

    for correcting error in ActiveX script task, you have to enter the entrypoint property

    refer attached image, pls