17-07-17 06:37 PM
30-11-21 04:26 PM
11-11-24 09:33 AM
Hi Eric, I'm experiencing similar issues. Even after configuring it as you've suggested, I'm still encountering an error. Could you advise on the next steps to resolve this? Thank you.
11-11-24 09:34 AM
This is the error message
11-11-24 09:53 AM
You will need to have a look at the object itself to determine the error here as a compile error usually refers to an error in one or more of the code stages. Open the object and click the errors button to list the errors (screen below with highlighted errors button) you can then read what stage, page the error occurred and what it is, although its not always clear when it comes to code stages.
11-11-24 10:25 AM
The error is a compiler error on the Initialize page in Object Studio, indicating that the metadata for 'MailKit.dll' cannot be found at line -21 in the top section of the code. How do you advise i fix it?
11-11-24 11:04 AM
looks like you are missing some DLL files, if you go to the asset on the dx Blue Prism Digital Exchange and download the supporting files this will include all the dll files you require. Once downloaded open the zip file and copy all the files inside it to the root folder that blueprism is installed in e.g. C:\Program Files\Blue Prism Limited\Blue Prism Automate
Refresh the object and this should resolve the compile issue.
11-11-24 11:53 AM
Thank you so much Michael! The compile issue is now resolved, but when the process reaches the "Send Message" action, it throws a new error (shown below). I've confirmed that my Gmail login details are correct.
"Internal : Could not execute code stage because exception thrown by code stage: 535: 5.7.8 Username and Password not accepted. For more information, go to
5.7.8 https://support.google.com/mail/?p=BadCredentials a640c23a62f3a-a9ee0ad2dddsm584431266b.90 - gsmtp - 5.7.8 Username and Password not accepted. For more information, go to
5.7.8 https://support.google.com/mail/?p=BadCredentials a640c23a62f3a-a9ee0ad2dddsm584431266b.90 - gsmtp
Stack Trace: at MailKit.Net.Smtp.SmtpClient.<AuthenticateAsync>d__95.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
at MailKit.MailService.Authenticate(Encoding encoding, String userName, String password, CancellationToken cancellationToken)
at Email___POP3_SMTP_IMAP.Send_Message(String Server, Decimal Port, String Username, String Password, Boolean UseSSL, String From, String To, String Subject, String CC, String BCC, String Body, DataTable Attachments, Boolean BodyIsHTML)"
11-11-24 12:44 PM - edited 11-11-24 12:44 PM
11-11-24 01:15 PM
Hi Mohamad, I just did that and it worked. Thank you so much.