Internal mailing system plugin for Grails - grails

Is there any internal mailing plugin for Grails? I want the registered users on my system and send mail to each other internally - not using a third party systems such as Gmail or Hotmail .
Is there something like that? Even if it is developed by java.

I haven't tried it myself, but this might do the job (assuming you are fine with an internal messaging system instead of real emails):
https://grails.org/plugin/grails-direct-messages
https://github.com/kaleidos/grails-direct-messages

You can use the grails mail plugin but configure it to use your own mail server.
You can use the company exchange server or run your own server using the Apache James Project or a multitude of other mail server application.

Related

ActiveMQ plugin for Grails taking over SSL connections?

I'm using the ActiveMQ plugin for Grails (2.4.x) and it's messing with SSL connections. By messing with SSL connections I mean it's not allowing a client browser to connect to the Grails application using SSL.
Any attempt to connect to the SSL port (no matter what it's set to) for the web application results in ERR_SSL_PROTOCOL_ERROR being reported by the browser.
If I disable the plugin SSL works just fine.
I've reviewed the plugin source code and I don't see anything in there that should be doing this.
I'm at a complete and total loss and it's driving me mad. I'm not sure what other information I can provide to assist others in helping me but I'm hopeful that someone out there can point me to some kind of ActiveMQ setting that I can use to disable this odd behavior.
The included libraries from the plugin are as follows:
activemq-broker-5.10.1.jar
activemq-client-5.10.1.jar
activemq-jms-pool-5.10.1.jar
activemq-openwire-legacy-5.10.1.jar
activemq-pool-5.10.1.jar
activemq-spring-5.10.1.jar
As it turns out this is because Active MQ detects if the "Bouncy Castle" security provider is available on the classpath and will add it into the java.security.Security providers in the second position when it creates the broker.
Unfortunately there isn't an option within Active MQ to disable this feature, and it was discussed briefly in the JIRA and determined this wouldn't ever be an option.
Since this project also uses the crypto:2.0 plugin for Grails it was loading the Bouncy Castle security provider for the JVM. As a standalone this would be fine for Active MQ to do this, but when embedded into Tomcat this was causing issues with SSL. Not sure why exactly the Bouncy Castle provider wasn't handling SSL TLS correctly, but adding the following to BootStrap.groovy removes it from the providers and fixes the issue.
java.security.Security.removeProvider('BC')
In this project we are using ActiveMQ within the virtual machine and have no need for any additional security providers for Active MQ to use for SSL connections since it won't be using them anyway.

grails server push

I've been evaluating grails server push technologies, and I keep coming across the grails atmosphere plugin, but it doesn't seem like it is actively being developed. I've also seen the grails events push plugin. Is there a standard plugin that is being used for server push in grails? Is it one of these or another one all together?
The Grails events push plugin is the recommended one.
(I am the creator of Atmosphere).

grails plugin to get gmail attachment

I am working on a grails project and i need a plugin to extract an email attachment from a Gmail account.
My colleague said something about Java Mail API but i am not actually sure about how to integrate the api with grails.
Is there any other plugin or workaround to extract an email attachment from a gmail account?
Thanks.
While not specific to extracting attachments from GMail, the Grails Routing plugin would definitely be worth evaluating. It integrates Apache Camel into your Grails services and controllers and provides a very easy way to create routes. You can then add the following dependency to your grails-app/BuildConfig.groovy file:
// replace x.x.x with version used by the Grails Routing plugin
runtime("org.apache.camel:camel-mail:x.x.x")
In the documentation for the Mail component you will an example of grabbing attachments from GMail and there is also this blog entry by Mr Haki that shows an example using the older Grails Camel plugin (Routing plugin supercedes it).
While I haven't used Camel for this purpose, I have used it on a few projects and would recommend it as a possible solution. It is a very powerful integration tool and can really make it very easy to do some pretty complicated things.

Experience using the SugarCRM Outlook Plugin Across two hosted solutions?

We are looking to migrate a client from a locally supported version of MS Office (including Outlook) to a hosted version. this won't be the "web-based verison" of Outlook-- but moving to a hosted provider that provides remote access to the Window/Office environment.
We are looking to maintain the connection with the SugarCRM Outlook plugin. The client is currently using Sugar Professional hosted by SugarCRM.
What changes to the SugarCRM Outlook plugin need to be made to bridge between two hosted versions?
Like the Impossible Mission team, Sugar will disavow any outlook plug-in operation beyond a stand alone desktop. However, if the computer in question allows each individual to have their own profile in a remote desktop session (with something like Windows 2008 R2). I don't see how you would have any problems. Just don't tell Sugar I said anything, they think their the only ones in here!
If it's just an ordinary hosted Outlook (accessed with e.g. Remote Desktop), you properly only need to install (with admin rights) the Sugar outlook plugin on the hosted environment/outlook and configure it like before.
The Sugar outlook plugin is a client-side plugin, so if you are able to install it on the hosted environment, it should work fine.
I don't think the Outlook Plugin will work with the web-based version of Outlook.

How to retrieve email from email server using IMAP?

I'm developing managing email server using vb.net and asp.net
i need sample or open source component to retrieve emails from my email server (get new messages - all mesgs - delete msg - copy msg - etc ) using IMAP Protocol.
CodeProject has a couple you might find useful.
You can use this open source project: http://mailsystem.codeplex.com
.NET Framework doen't include imap4 support yet.

Resources