Referring to messaging documentation, I want to send email for order/activity confirmations from my app
Each order/activity confirmation email will be have parameters like "name", "order_id" and so on and will be unique for every email
Example of email:
TypeScript
Hi {{first_name}},
Your order has been confirmed
Order Details:
Id: {{order_id}}
Date: {{order_date}}
Reference: {{order_reference}}
Thank you,
ACME Company
- How do I setup my Message with params/variables? (I see option to create Message in dashboard, but how should I format the params/variables?
- How do I pass those params/variables in the SDK while sending Email?
https://appwrite.io/docs/products/messaging/send-email-messages
TL;DR
Developers are looking to insert parameters like "name", "order_id" in email body.
Solution:
1. To set up messages with parameters, format them as shown in the example email.
2. Pass the parameters in the SDK while sending the email according to the documentation provided at "https://appwrite.io/docs/products/messaging/send-email-messages".Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...