RUN AS LOCALSYSTEM USER.
1.Provide the Toemail address in the parameter 'EmailTo' where the mail need to be sent. the datatype should be a string.
2.Provide the From Email address in the parameter 'EmailFrom' from which the mail to be send. the datatype should be a string.
3.Provide password for from email in the parameter 'password'. the datatype should be a string. you shouldn't give the actual password for the From Email address instead you should give the password you created in the app password in your Gmail Account for the mail. if you don't know how to create App password then checkout the below website to learn how to create App Password for mail purpose
https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882
Comments