We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a26f0 commit 089b7f5Copy full SHA for 089b7f5
1 file changed
examples/sending/transport.ts
@@ -11,6 +11,7 @@ import { MailtrapTransport } from "mailtrap"
11
const TOKEN = "<YOUR-TOKEN-HERE>"
12
const SENDER_EMAIL = "<SENDER@YOURDOMAIN.COM>";
13
const RECIPIENT_EMAIL = "<RECIPIENT@EMAIL.COM>";
14
+const REPLY_TO_EMAIL = "<REPLYTO@EMAIL.COM>";
15
16
const transport = Nodemailer.createTransport(MailtrapTransport({
17
token: TOKEN,
@@ -26,6 +27,7 @@ transport.sendMail({
26
27
address: SENDER_EMAIL,
28
name: "Mailtrap Test"
29
},
30
+ replyTo: REPLY_TO_EMAIL,
31
subject: "Hello from Mailtrap!",
32
html: `
33
<!doctype html>
0 commit comments