Comments (6)
After doing some testing, I have learned that the malformed link is caused by the Mustache template rendering engine and not the parse server. It's actually not a "malformed" link, but just an html encoded version, and it still works in the browser. However, for plain-text emails (i.e. html templates are not configured) this is a problem, and the link will not work because the email client does not recognize it as such. This is something I will need to fix.
from parse-server-mailgun.
Hi Chris,
Thanks for the heads up. You're the first dev to report this issue, but I can imagine that more parse developers will experience the same problem as soon as they upgrade their app. I will have to dive into the parse server codebase to find out what's going on. When I do, I'll let you know.
from parse-server-mailgun.
I think I found the issue. On the dev server, I had the public server URL set to https:// , where only http was configured on the dev server, and there was no fallback to http, which meant that the public html link wasn't reachable online.
Changing the public server link to http fixed the issue.
So ... I assume this same behaviour would occur with any incorrect public server address. Not sure if a malformed link being created as a result is the most helpful haha, but that may be a separate issue...
Also, not sure at this point if it was a result of something in parse-server or the mailgun adapter.
Moral of the story: Get your public link correct ..... https or otherwise. :)
from parse-server-mailgun.
Nicely done. Cheers
from parse-server-mailgun.
I've updated the email templates. {{link}} => {{{link}}}
The extra curly brace prevents the html escaping. Problem solved :)
from parse-server-mailgun.
from parse-server-mailgun.
Related Issues (20)
- Not able to send emails... HOT 5
- BCC field not working in extras HOT 2
- Mailgun Integration With Swift/Parse HOT 1
- An appName, publicServerURL, and emailAdapter are required for password reset and email verification functionality. HOT 4
- Error: 'to' parameter is missing HOT 1
- How to modify pages like email_verification_success.html and invalid_link.html ? HOT 1
- How to redirect user to the website after successful email confirmation? HOT 1
- can't open attached files HOT 1
- Mailgun Adapter Not Sending Emails HOT 1
- Link in text email is URL-encoded HOT 3
- Email Confirmation and Password Reset Link HOT 1
- Question about parse-server-mailgun... HOT 13
- Quick question... HOT 9
- Security issue for v2.4.8 HOT 1
- An appName, publicServerURL, and emailAdapter are required for password reset and email verification functionality. HOT 2
- Mailgun working but cant connect to app for password reset. HOT 1
- Email subject templating
- Support eu-mails HOT 1
- Mailgun TLS 1.0/1.1 deprecation on March 8, 2021
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse-server-mailgun.