ICalendar smtp settings

0
I have integrated ICalendar in mendix 5.6.0 within my application,but I get errors that I think are derived from my smtp settings. I am trying to send outlook invites to clients, by adding a google account to the smtp settings, but it doesn't work,it executes the java call but it doesn't get any response back or sometimes it gets (Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1). I therefore tried as well to use an office 365 account but it looks like office 365 doesn't support ssl but only tls,and from what I understood i can't set icalendar to use tls. could someone tell me if I need to edit something in the Icalendar java action Appointment_SendNotification in order to make it work,or if I am doing something wrong,or if I should use another widget to do this?
asked
1 answers
3

The ICalendar module hasn't been upgraded in a while, the latest (and only) version has been released two years ago in may 2012.
That would explain why you would probably run into some issues with that module.

Recently I have been working with this module, and I have it working in Mx5 and it has communicated with both office 365 and gmail.

The setting useSSL is a bit confusing, as you can see in the Java code it does not enable SSL. The boolean will enable TLS. So the name of the attribute is incorrect.
That is probably why gmail is not working for you, when using gmail over TLS it requires you to use port 587

If you try a different port for gmail it should work, or by checking the box use SSL you should be able to configure it to authenticate with office 365.


I will also work with our appstore team to make sure that my latest Mx5 version gets published to the appstore.

answered