I have Grails 2.2.1 application. I need to allow user to select their own mail server and send mail. I tried different methods mentioned in other post but none helped. I could change mail config but while sending mail always used old one.
I also tried below code after changing:
pluginManager.getGrailsPlugin("mail").notifyOfEvent(GrailsPlugin.EVENT_ON_CONFIG_CHANGE, grailsApplication.config)
to notify config change. But result was same.
Please if anyone could help resolve this issue.
Related
My company migrated their CRM starting to use Odoo, and then I proceeded to configure the external mail server (gmail), the #catchall parameter, and then define the odoo mail templates.
So far I have no problems, and everything works as I expect, so the mails are correctly and received.
However, I have a problem with viewing the emails ... let me explain.
Sent an email through Odoo, I see it correctly in html format, so by accessing the gmail email account via browser and opening the message, also in this case it is correctly formatted and displayed as html.
However, the recipient of the e-mail upon receipt loses the html formatting and therefore receives the e-mail displaying it in plain-text.
On the gmail settings I have already configured to send messages in html, I tried to disable it and then re-enable it but nothing happens.
Do you have any suggestions or advice?
I also have the same problem. We have tried several configurations both in the Google account and in the server. It only happens with GMail mail. Using any other service does not happen.
There's an answer here that I still can't implement, but it could be of help.
GMail displays plain text email instead HTML
A known reason for the issue was the appending of a footer in Google. Odoo has recently released a fix for all versions from 14.0 onwards: https://github.com/odoo/odoo/pull/108499. However, if they encounter other cases, Odoo Enterprise customers can open a support ticket and users of the Community edition can submit a Github issue.
I am facing an issue with the Cofoundry .NET core CMS.
Basically, I have installed is successfully and able to login via admin panel.
Now issue is, when I am adding more users in the CMS, it does not send emails to newly added user. However, in the admin panel users added successfully.
Please note: I have configured SendGrid plugin and that is working ok, tried by sending custom email.
Not sure, if further settings are required to get the emails working for new users add.
Please let me know If anyone faced the same issue earlier.
Regards,
Vivek Kumar
Firstly you need to ensure Cofoundry is configured to send the mail. The setting you want is Cofoundry:Mail:SendMode, the default value is LocalDrop to prevent you accidently sending debug emails to people, so by default the email will end up in your App_Data directory. You should set this to Send. So your config would look like this:
{
"Cofoundry": {
"Mail": {
"SendMode": "Send",
"DefaultFromAddress": "auto#example.com"
},
},
}
Mail config settings are covered in the config settings docs
If this is not set up then your email will be placed in the mail drop directory, which defaults to "~/App_Data/Emails", so check there to see if the mail behaving in debug mode.
If there was an error sending the mail, then you would see an error prompt in the admin panel, so perhaps next you should check your SendGrid logs to see if the email is being passed through their service - perhaps it is being blocked or sent to spam?
I am not getting admin order confirmation email after the successful payment. I am getting payment notification from sisow but not from website. Customer is receiving confirmation email but not admin. I am new in prestashop and didn't find any solution.
Please suggest me to make it working.
To receive emails as admin you need to enable one module named "Email Alerts". Enable this module and configure this module. You will see all the setting here. Go through that and set it up accordingly. You can add multiple email ids to receive notifications.
Hope this helps you !!! :)
Also, make sure that you have properly configured in settings like:
Advance Preferences -> E-mail
It's highly recommended to use SMTP instead of mail() function.
Install the module "Mail alerts" to your prestashop project.
It solved my problem for the version 1.6.1.5
i think i got the trick : copy all emails in modules/mailalerts/lang.
should have the same in EN and YOUR LANG.
Also copy in /themes/same_path
I am using Magento 1.9.0.1 and using SMTP Pro Magento SMTP Email free extension I have configured it in right way before days ago my email was working good. But now after creating new order, invoice and after opening a order detail page and click on send email tab it's giving the message The message has been sent. and also after order opening it's showing message the invoice email was sent. Can anybody tell me why this happening?
I have tried the bellow things at my end.
1) I have checked all back-end settings.
2) Disabled extensions.
I had the same issue.
For me, it was the problem, that I had an own module overriding the Mage_Core_Model_Email_Template Class (send method).
Instead I had to override the Aschroeder_SMTPPro_Model_Email_Template Class and use its send method for my modifications, not the code of the send method of the core class.
Maybe you're having a similar issue or it may lead you to the bug?
I'd like to set the SMTP envelope sender to a different value per message in some grails code, distinct from the message From: address, which I want to be the same for each email.
This is to do VERP-like bounce tracking.
I can't see a way to set this in an asynchronousMailService.sendMail call. Is there?
As it stands there is a pull request for the Grails mail plugin to add support for this. There is also a blog post which talks about this specific feature. If you need this feature you can always download the forked version of the plugin.