Yassaaa
Explore posts from serversNeed help with creating mail templates with dynamic data and sending it
Issues Encountered:
1. When trying to display the email HTML in the page's body, I get warnings like "missing required prop".
2. In the server console, I get the following error:
I am using Pinia for state management and want to pass the data from the Pinia states to the email template and send it with Nodemailer. The checkout store has a
formData
state that contains all the relevant data about the customer like name, email, phone, address, etc.
I would appreciate any guidance or suggestions on how to resolve these issues and successfully combine sending emails with Nodemailer and creating email templates with Vue-Mail.6 replies
useFetch help - not working/fetching data
well I found out that the data I get from the api is already a JS object (i think?) and when I specify the uuid of the map or the agent and then requst the
displayName
or splash
etc... then it works but there seems to be a problem for when I want it to fetch all the data from the api (all the maps or agents) and not only 1 map or agent.
When I useFetch all tha agents/maps instead of one it does not show me anything.
When I try to parse it I get 500 "[object Object]" is not valid JSON
now I am confused why its not working when I want to get the whole list of agents/maps10 replies
useFetch help - not working/fetching data
I tried reading it but it did not really help. But I did find out that the useFetch is actually working but I believe its returning the data as a string because when I outputed
agents
i got everything as a string. but when I try to access values within the data i cant because its undefined. soo yea
I got it working with the regular fetch for now10 replies