can't find nuxeo-features/nuxeo-platform-notification/ 7.3
I'm trying to get notification working so i've downloaded nuxeo-features/nuxeo-platform-notification from GitHub but i'm getting some errors when launching mvn clean install , also i can't find a release for 7.3 version. i wonder if notifications code is still in nuxeo-platform-notification bundle or it's in a new location (bundle) . The below class is a Javamail working example
i can't find a release for 7.3 version
I don't understand; are you looking for the 7.3 release tag in GitHub?
You should better look at https://github.com/nuxeo/nuxeo/blob/release-7.3/nuxeo-features/nuxeo-platform-mail/nuxeo-platform-mail-test/src/test/java/org/nuxeo/ecm/platform/mail/test/TestServer.java
https://github.com/nuxeo/nuxeo/tree/release-7.3 is the Git tag corresponding to the 7.3 release. https://github.com/nuxeo/nuxeo/tree/7.3-SNAPSHOT corresponds to the 7.3-SNAPSHOT artifacts. Those artifacts are deprecated since 7.4 release and may be purged at any time, as well as the branch being deleted.
nuxeo-platform-mail
, i mean is it possible to use a test class or i have to replace mail.from
… with static values in java classesOther tests, like
org.nuxeo.ecm.platform.mail.test.TestServer
, have hardcoded values and thus require being edited for testing some specific case/environment. Note that the hardcoded configuration may stand in the XML contributions/extension points of the test.
It's a very good idea to reuse the tests for qualifying an issue.
If you confirm the issue, we'll need a reproduction case/code to work on it.
- the service is tested by Unit Tests with an embedded "mock" server,
- the effective email sending is tested by Functional Tests with a remote mock server,
- the main online email providers are finally manually tested.
If you have an issue specific to a given provider and account, then yes you will have to modify the existing tests in order to reproduce your issue.
Note https://developers.google.com/gmail/oauth_overview > The outgoing SMTP server, smtp.gmail.com, requires TLS. Use port 465, or port 587 if your client begins with plain text before issuing the STARTTLS command.
As for your errors, some logs or error screenshots would be needed.