Wasp emailSender.send set CC recipients

Using the Wasp emailSender.send method, I can specify the from and to email addresses. Is it also possible to include CC recipients?
1 Reply
kapa.ai
kapa.ai4mo ago
Hi @Suchitk. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but based on the provided knowledge sources, the emailSender.send method in Wasp does not currently support the CC (Carbon Copy) recipients feature. The method accepts an object with the following fields: from, to, subject, text, and html. There is no mention of a CC field. Here is the structure of the object that the send method accepts:
const info = await emailSender.send({
from: {
name: "John Doe",
email: "[email protected]",
},
to: "[email protected]",
subject: "Saying hello",
text: "Hello world",
html: "Hello <strong>world</strong>",
});
const info = await emailSender.send({
from: {
name: "John Doe",
email: "[email protected]",
},
to: "[email protected]",
subject: "Saying hello",
text: "Hello world",
html: "Hello <strong>world</strong>",
});
For more details, you can refer to the Wasp documentation (https://wasp-lang.dev/docs/advanced/email#javascript-api). If you need this feature, I would recommend reaching out to the Wasp team directly via their Discord (https://discord.gg/rzdnErX) or email at [email protected] to request this feature. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Suchitk, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Want results from more Discord servers?
Add your server