---
title: "Comment by Winston H. Muijs on \"How to Build a Contact Form with JavaScript and NodeMailer\" | Hashnode"
description: "Hi Victory, i really enjoy your work, time and energy to make great articles on your blog. I would buying you a cup of tea but you don&#39;t have a paypal optio"
url: "https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/62778cc0dc122f5a4f21f851"
---

[Discussion](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72)

Comment [How to Build a Contact Form with JavaScript and NodeMailer](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72)

[Winston H. Muijs](https://hashnode.com/@Winstonhenri)

[May 8, 2022](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/62778cc0dc122f5a4f21f851)

Hi Victory, i really enjoy your work, time and energy to make great articles on your blog.

I would buying you a cup of tea but you don't have a paypal option, so that have to wait :). i have a question about the nodemailer with js. If i try the code, the only email adres that works in the browser is the EMAIL that i set in the env. file. How can i make the code work so it accepts other adresses? Have a great day. Winston

ps.

Other email adresses give the following response: **'553 5.7.1 < -------@gmail.com>: Sender address rejected: not owned by user 3@7316314'** in the terminal.

if any one wants to participate and help, so please!

Thanks!

[Victoria Lo](https://hashnode.com/@victoria)

[May 9, 2022](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/62778cc0dc122f5a4f21f851#reply-6278dc5a766c7b81844fa0ed)

Hi [Winston H. Muijs](https://hashnode.com/@Winstonhenri), so the sender email can only be one but the receiver email can be multiple, comma-separated.

Please refer to the Nodemailer documentation [here](https://nodemailer.com/message/). Hope that helps! Cheers!

[Winston H. Muijs](https://hashnode.com/@Winstonhenri)

[May 9, 2022](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/62778cc0dc122f5a4f21f851#reply-6278fe3840d9ad96a278934d)

Hi Victory, i changed sender to from in my code in my mail const - and that did the job. Thanks for the help !! 🫖👍🏻[Victoria Lo](https://hashnode.com/@victoria)
