Hello Team,
we are trying to send Token Based email from a separate application which reference OpenDental. and for that we are using
OpenDentBusiness.EmailMessages.SendEmail method. we are facing this error-
The host does not support SSL connections.
While from OpenDental, we are able to send token based mail.
FYI- we have also tried with Enable/Disable Use SSL option.
Please help us to resolve the same.
Send Mail Via Token-The host does not support SSL connections
Re: Send Mail Via Token-The host does not support SSL connections
Do you get the same error when UseSSL is set to false for the EmailAddress?
Re: Send Mail Via Token-The host does not support SSL connections
Yes, with setting UseSSL to false, still facing the same error.
Re: Send Mail Via Token-The host does not support SSL connections
Are you attempting to send these emails with Gmail? Beyond the tokens for the email address, The Open Dental program also has to authenticate with Gmail. If your application is referencing OpenDentBusiness to call the SendEmail method, it would not be able to authenticate as Open Dental. This may be causing the emails to fail.
- jordansparks
- Site Admin
- Posts: 5769
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Send Mail Via Token-The host does not support SSL connections
Notice in line 482 that this method does an insert to the db. That's not allowed. You cannot ever call a method in Open Dental which alters the database (which means most methods). I'm unclear how you are "referencing" Open Dental, but we have been working hard lately to block all such action. Even if you somehow get it to work, it's very likely that we will intentionally throw up obstacles very soon. If you need to send email from your app and you want a record placed into Open Dental, then your only option is to use the API. It doesn't look like we have such a method in the API, but we are happy to add it if you decide you want it. That handles the record getting inserted into the database, but it does not handle the actual sending of email. I would think that would be done from your own app.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com