Would it be possible for OpenDentBusiness.EmailMessages.SendEmailUnsecureWithSig() and SendEmailUnsecure() to be changed from private to public? so that it can be accessible by third party app.
In the latest OpenDental version 21.1 and 21.2 they are marked as private.
private static void SendEmailUnsecureWithSig(EmailMessage emailMessage,EmailAddress emailAddressFrom,X509Certificate2 certPrivate) {
}
and
private static void SendEmailUnsecure(EmailMessage emailMessage,EmailAddress emailAddress,NameValueCollection nameValueCollectionHeaders,bool hasRetried=false,params AlternateView[] arrayAlternateViews) {
}
Make SendEmailUnsecure method as public
Re: Make SendEmailUnsecure method as public
OpenDental won't make that change. You have to use reflection to get the method you want. It's a pain and not a very elegant solution, but OpenDental doesn't want to budge on that.