I have a problem when I try to use the mail plugin in grails. The ones I've searched in Google are mainly for Grails version 2 mail plugin.
I have tried to setup using
compile 'org.grails.plugins:mail:2.0.0.RC6'
in my buildConfig.groovy
and
sendMail {
to "xxxxxx#gmail.com"
from "........#yahoo.com"
subject "This is a test mail"
text "Hello, This is a test mail, how are you?"
}
in one of my controllers functions
When I try to run it, MailConnectException occurred. Have I missed any mail plugin configurations for grails 3 ? or do i have to add something into application.groovy like grails 2 in this site http://grails.asia/grails-mail-plugin-example?
I figured it out myself in fact I need to put the mail configuration into application.groovy like in grails 2. And the MailConnectionException is due to high security in Email, therefore, what I did was to set it to allow apps to connect to mail. This is available in security options of Mail system.
Related
Using Drupal 9.2.7 and Webform 6.1.2, I got the webform and html email working well on my dev machine. I am running WSL2 on Windows, and using Mailhog to validate the emails without an SMTP server. All looked good.
I copied the project to my test domain on A2Hosting and the emails come through as plain text.
I then installed Mail System and Mime Mail thinking that might be the problem. Mail hog shows nice emails in either the html or text version, but when sent from A2Hosting I see the text version and raw html in the same email. My email client (eM Client) say the email is in html format.
Unfortunately I do not have another place I can test this. Could Mailhog be hiding a configuration problem on my part or is there a chance A2Hostings mail system is mucking it up?
The solution turned out to be quite simple. I removed Mime Mail and Mail System, installed SMTP module, pointed it at an email account in my domain, and everything worked just as expected.
I installed Sylius using the documentation:
http://docs.sylius.org/en/latest/book/index.html#installation
Everything seems to work fine as you can see there:
http://sylius.krown.ch/app_dev.php/en_US/
Laurence
4567
Except with emails. I just want to enable default emails, as described there. Unfortunately no email is sent my the website after an order confirmation for example.
I have several projects installed in my server, including Symfony projects. Usually emails work just fine
How can I enable emails for my Sylius projects?
check your config_dev.yml if you have disabled mail delivery for dev environment:
swiftmailer:
disable_delivery: true
In http://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems#Input_interfaces it says, that Mantis allows Input via mail.
I checked config_defaults_inc.php for associated settings, but could not find them. How can I allow my users to send issues to my MantisBT instance?
You will have to install the EmailReporting plugin to enable this feature. You can download the plugin from https://github.com/mantisbt-plugins/EmailReporting
Installation of the plugin is straightforward, but configuration can be done only from the plugin page. Please make sure that you read the README before using the plugin.
If you are using MantisHub (MantisBT as a Service), email reporting is included as part of the gold and platinum plans:
http://www.mantishub.com/
You can find the documentation of the feature at:
http://support.mantishub.com/hc/en-us/articles/204273585-Using-Email-Reporting
I wanted to use the DocShare plugin so I installed the ECF SDK in Eclipse Luna and tried adding my google account using the File->New->XMPPS and added my google account information to log in but I get the error "Container Connect" has encountered an error.
Do i need to include anything except my email address in the field for User-ID?
I would love any help on this issue as I cannot for the life of me figure out how to get it working.
BTW, I also tried adding the details of my account into the XMPP dialogue with the same result.
EDIT: I just realized that I also need to enter a port with my email address but I have almost no knowledge of ports and have no idea what port to assign.
Allowing "Less Secure Apps" in my google settings did the job. Am now connected to my Google Account through Eclipse. Recieved an email that asked me to allow this.
So I've been running CF9 on Linux for a while and using CFMail to send email through a client's Exchange 2010 server for quite a while.
We're attempting to migrate to CF10 on Win2008, IIS7.5. Everything is set and ready to go except I can't get CF10 to verify the mail connection? I've got both mail settings (CF9 and CF10) set the exact same way and can view them open side by side and verify they're identical. However, while the CF9 verifies successfully the CF10 system fails??
I tried sending through CFMail tags while specifying the server credentials and see this in the CF10 log:
"javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client"
What does this mean? I know my authentication credentials are correct because I'm able to connect in CF9.
I've turned off all firewalls and still nothing. So, I then tried installing CF10 on my Mac laptop. It, too, will not verify the mail connection!
Is there a known problem with CF10 connecting to an Exchange mail server?
Any ideas?
I "solved" this.
I could find little online and received no comments to this thread. No combination of settings I tried would work and I have no access to the client's mail server. The person who runs that server couldn't run a lemonade stand so no help there.
Then I stumbled across this page. Nothing to do with ColdFusion but seemed like a similar issue.
Recent changes in the JavaMail API has changed certain authentication
defaults and sometimes will create an authentication error with some
Exchange Server environments dependent on the configuration.
I'd never put much thought into CFMail because it was always drop dead simple and simply worked. Focusing on this link's Resolution 2 (ie replace the mail.jar with an older version). I wondered if CF used JavaMail and if I could downgrade CFMail? I cracked open CF's mail.jar file and found that CFMail does, indeed, use the JavaMail API. So, I then checked the ColdFusion docs to see if any new features were added to CFMail between CF9 and CF10. None.
So, I swapped out the mail.jar file from my CF9 install to CF10 and restarted. Boom! Everything worked immediately. As far as I can tell I've had no compatibility issues to report.
Swapping the mail.jar did not work for me. However, adding the following to JVM arguments
-Djava.net.preferIPv4Stack=true
worked for me. Please refer to the following article
Java Mail mystery - SMTP blocked?
posted by another user