Email sending failed using “send SMTP mail message” activity, getting given error “The handshake failed due to an unexpected packet format” message. I have tried using all the options in the secure-connection property.
I am having valid client SMTP server name and port to send email, but still getting error.
I have tested same smtp server details using VBA code and its working fine.
sMailServer = “mpsmtp2.kkr.com” 'Not just any old smtp
sMailFromAddress = “email@example.com”
sMailToAddress = “firstname.lastname@example.org”
Set ObjMessage = CreateObject(“CDO.Message”)
sToAddress = “email@example.com”
sSubject = “Subject”
sBody = “MailBody”
ObjMessage.subject = sSubject
ObjMessage.From = sMailFromAddress
ObjMessage.To = sToAddress
'ObjMessage.cc = sCCAddress
ObjMessage.TextBody = sBody
ObjMessage.Configuration.Fields.Item(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2
ObjMessage.Configuration.Fields.Item(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = sMailServer
ObjMessage.Configuration.Fields.Item(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 25
'More info: http://msdn.microsoft.com/en-us/library/ms
Could you please share a sample xaml file, to understand which all property i need to select in send email SMTP activity.
Added all values to mandatory properties but still getting error.
Any idea about given “ObjMessage.Configuration.Fields.Item(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2” value where needs to set in UiPath SMTP activity.
@aksh1yadav @ddpadil team, could you please help Jaikee Soni
SMTP does not required much details. make sure your server is stopping to use mail schema.
if you configure outlook on your machine then you can use Send outlook Mail Message activity.
it will automatically pick up all details from your local outlook configuration file.
Please give a try if you can.
Thanks for the updates.
Please find the screen shot of SMTP activity from my end. Please check and let me know if any correction required.
Do any changes need to be required at SMTP server side. Please let me know so i can asked the client to makes such changes.
while giving LOGON email and password, i’m getting from Assets so it will be variables as email and password. Is it a problem?
Because while doing that i’m getting error saying that Authentication is too weak etc…