Comments (5)
@nerakhon @cleever since I got no reply on that, I solved it using the parse-server-mailgun package, which allows setting the subject as well as templates for your verification and reset emails.
from parse-server-simple-mailgun-adapter.
I think the same.
It would be great if we could be able to do the following type of configuration in email adapter.
Eg.:
emailAdapter = {
module: emailModule,
options: {
fromAddress: process.env.EMAIL_FROM,
domain: process.env.EMAIL_DOMAIN,
apiKey: process.env.EMAIL_API_KEY,
// Verification email subject
verificationSubject: 'Aenean ornare arcu sed pharetra faucibus %appname% - Phasellus semper magna nec aliquam rutrum. ',
// Verification email body
verificationBody: Lorem ipsum dolor sit amet %email% amet %appname%\n\n Maecenas mi sem, commodo vitae rutrum ac, aliquam ut diam.:\n%link%',
// Password reset email subject
passwordResetSubject: 'Proin fermentum libero eu tempus hendrerit. %appname%',
// Password reset email body
passwordResetBody: 'Lorem ,\n\nDuis eu turpis ac mauris lacinia faucibus %appname%.\n\nNam vulputate tortor odio, a mattis nulla auctor vel.:\n%link%'
}
from parse-server-simple-mailgun-adapter.
Definitely +1 on my side as well.
Actually it would be more useful if a template for the email could be used, given the usual expectation is to send html emails to the users.
So If we could provide a template somewhere outside the source of parse server that could be used to send the nice branded emails would be really useful.
from parse-server-simple-mailgun-adapter.
Great @majidhassan! Thank you!
The parse-server-mailgun package helped me a lot!
from parse-server-simple-mailgun-adapter.
This adapter is really just a most basic version of a mail adapter, almost like a proof of concept. There are many more versatile mail adapters available for Parse Server.
from parse-server-simple-mailgun-adapter.
Related Issues (20)
- How to install?
- ver resend verification email HOT 1
- verification email does not work (password reset does) HOT 4
- Email verification whenever user edits account HOT 2
- Tutorial HOT 4
- Mailgun send multiple emails instead of 1 HOT 1
- Put updates to user field initiate a new confirmation email HOT 1
- Parse: Email verification issue
- What To Put as Mailgun Public Server URL HOT 1
- Action required: Greenkeeper could not be activated 🚨 HOT 1
- Support new api key? HOT 1
- Server.js / AWS HOT 5
- how to request resend verification email without parse cloud code ? HOT 1
- How to Add this HOT 1
- how to configure simple-mailgun-adapter
- Reciever email address is "undefined" in mail body HOT 2
- Emails not getting delivered HOT 12
- Customize pages HOT 3
- Specific instructions on how to add mailgun adapter... HOT 3
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-simple-mailgun-adapter.