Scenario:
Error when trying to send SMTP email
The SMTP email works from the PC I’m trying to do it with the robot. I tried it with the following vba code:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = Inputbox("Spefify the FROM: address","VB SMTP","testfrom@mail.com")
objEmail.To = Inputbox("Spefify the TO: address","VB SMTP","testto@mail.com")
objEmail.Subject = Inputbox("Spefify the SUBJECT: address","VB SMTP","Message Subject")
objEmail.Textbody = Inputbox("Spefify the MESSAGE BODY:","VB SMTP","This is the email body")
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = Inputbox("Spefify the SMTP server: name or IP address","VB SMTP")
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
When I try in UiPath I get the following error:
The only difference I see between the vba code and UiPath is the logon (email & password) section in the UiPath activity, but it does not make any difference if I leave it blank or not.
Any ideas?
Steps to reproduce:
Current Behavior:
Expected Behavior:
Studio/Robot/Orchestrator Version:
Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):