2,525
questions
0
votes
1
answer
27
views
Sending email upon document creation in firebase with cloud function
I'm currently building a flutter app that allows users to request meetings with others. When one user requests another user, the requested user should receive an email saying they got a request. when ...
0
votes
1
answer
28
views
Nodemailer - Emails send but i do not recieve them
I am working on a project that uses nodemailer, when i submit the form, i get a 200 sucess and no errors from nodemailer but i don not recieve the email in my mail.
import nodemailer from "...
0
votes
1
answer
26
views
How do i have my mailer.js to send OTP code to email and not on my terminal?
I created a school result portal and when signing up it keeps sending the OTP to my terminal and not to the email I use. Also, once I finished registering and input the OTP from the terminal my ...
0
votes
0
answers
19
views
Nodemailer timed Out Error: connect ETIMEDOUT 64.233.184.109:587 errno: -4039,
Error in sending Email through Node mailer.
Everything in the code is right but it is giving error of timedOut
I am aready using App Password generated by google account
Below is my function
The Host ...
0
votes
0
answers
16
views
Nodemailer queryA ETIMEOUT with AWS SES
So I am confused as my code works; as it does send about 100+ emails before it produces the following error:
Error: queryA ETIMEOUT email-smtp.us-east-1.amazonaws.com
at QueryReqWrap.onresolve [as ...
0
votes
0
answers
40
views
Sending data from form
i have a problem sending data from my form to mail. I use nodemailer and gmail. After implementing all necessary tokens,app pass, port...est. Its always fail to send it in production but in localhost ...
0
votes
0
answers
14
views
Nodemailer SMTP auth cliendId, privateKey using google application default serviceAccount
Is there a way to retrieve clientId and privateKey for the OAuth nodemailer from the google application default instead of getting it from the service key json file?
Since applicationDefault doesn't ...
0
votes
0
answers
23
views
Nodemailer - Yahoo SMTP - replyTo breaking
When I try to include a 'replyTo' address in the Nodemailer mail config object that's anything other than the same address as the 'from' address I get the the following error: '550 Request failed; ...
-1
votes
0
answers
32
views
How to host a Node.Js application in a Hostinger shared hosting
How to host a Node.Js application in a Hostinger shared hosting
I want to host a node.js application in a Hostinger shared hosting.
and i heard that i can use SSH to host a Node.js application to ...
0
votes
0
answers
18
views
Nodemailer not working with firebase cloud function
Hi so I've been trying to send an email with a cloud function but it's not working, although it doesn't return an error. I've tried to tweak things here and there but it just seems to not send an ...
1
vote
0
answers
77
views
How to send pdf attachment file as a buffer or stream?
I'm trying to send a pdf attachment file from a form directly to an email
I'm runinng nodemailer on nextjs 14 server side
according to nodemailer doc the content property can be any of this types ...
0
votes
1
answer
48
views
How to send an email using the Outlook Send Email API with Mail Composer(Nodemailer)?
We have a use case where users can send emails through our platform by integrating their Gmail and Outlook accounts. We've added an option for users to obtain a token from Google and Outlook for ...
1
vote
1
answer
64
views
Access new refresh_token for OAuth2 (nodemailer with Gmail API)
I'm using Next.js with typesript and 'googleapis' library for one of my apps and I need to handle Nodemailer with Gmail API. It requires OAuth2 to work.
When I setup the 0Auth2 from google cloud ...
0
votes
0
answers
20
views
Express nodemailer custom headers not getting set in the email which is being sent to the reciever user
I have a backend application built with Express.js, and I'm using Nodemailer to send emails. I need to set custom headers in the emails so that I can later read my inbox and group those emails ...
0
votes
0
answers
39
views
Nodemailer not working in nextjs say's Module not found: Can't resolve 'stream'
Module not found: Can't resolve 'stream' https://nextjs.org/docs/messages/module-not-found
Import trace for requested module
https://nextjs.org/docs/messages/module-not-found
Import trace for ...
0
votes
0
answers
31
views
Error sending confirmation email: Error: Missing credentials for "PLAIN"
I am working with node.js and tried sending email via Nodemailer but I'm getting this error:
Missing credentials for "PLAIN" I have a function for registering also with successful ...
0
votes
1
answer
23
views
Nodemailer contact us form
const transporter = nodemailer.createTransport({
service: "gmail",
auth: {
user: "[email protected]",
pass: "password",
},
});
app.post("/api/send", (...
0
votes
2
answers
43
views
Denied access to s3 URL
I have a node function where I'm attaching a pdf from a s3 URL and I keep getting a 403 error. This happens in the program as well as the browser. Here is the Nodemailer function I'm trying to attach ...
-1
votes
2
answers
104
views
Next.JS Getting a 500 Server Error When Trying to Submit my Form with Nodemailer
api/email.ts
import { type NextRequest, NextResponse } from 'next/server';
import nodemailer from 'nodemailer';
import Mail from 'nodemailer/lib/mailer';
export async function POST(request: ...
0
votes
0
answers
102
views
Error: wrong version number when using Nodemailer with mail.com SMTP server
I'm trying to set up Nodemailer to send emails through the mail.com SMTP server, but I'm encountering the following error:
Error: AC650000:error:0A00010B:SSL routines:ssl3_get_record:wrong version ...
0
votes
1
answer
38
views
ReactJS Nodemailer not sending email
Trying to figure out how to send emails using ReactJS and Nodemailer.
In my client folder, I have App.js which looks like this:
import "./App.css";
import { useState } from "react";...
0
votes
0
answers
39
views
Angular How to open Email as Draft (preferrably in Outlook)
We have here a frontend implemented with Angular.
Now a new requirement arisen: the frontend application should generate an Email based on HTML Templates, fill it with some data from database, add an ...
0
votes
1
answer
52
views
Nextjs with nodemailer error 535 5.7.8 Error: authentication failed:
I'm trying to configure sending an email via a form on Nodemailer. But I have this error: code: 'EAUTH',
response: '535 5.7.8 Error: authentication failed: ',
responseCode: 535,
command: 'AUTH PLAIN'
...
0
votes
0
answers
59
views
How to Ensure Email Template Compatibility Across Different Email Clients, I am using Nodemailer, ejs in a Node.js Application?
Context:
I'm working on a Node.js backend application using the MERN stack with TypeScript. I use Nodemailer for sending emails, and I initially used EJS for my email templates. However, I encountered ...
0
votes
0
answers
22
views
Nodemailer not working after hosting on aws with nginx server.got error "error : {code: "EAUTH", command: "API"}"
in my NextJS project, the nodemailer is configured as a server component. it works fine locally but not after being deployed in AWS with Nginx.
The folder structure is src/app/api/mail/route.ts
I'm ...
0
votes
2
answers
29
views
Cannot loop an array in a handlebarsjs template
For some reason I cannot loop through the items array to display in my order confirmation email template the items, quantity and price of the customer order.
Any ideas what I'm I doing wrong? I've ...
0
votes
0
answers
358
views
Setting up Resend and React Email in a Remix project. Error - Dynamic require of ‘stream’ is not supported
I'm having trouble finding much info on setting up React Email and Resend in Remix. I want to set up a forgot password page that sends the user a token to their email.
Code from my forgot password ...
0
votes
1
answer
87
views
How to export a xlsx file from frontend (react) to backend (express), and then send it to email?
So, I needed a function to convert data from an array containing arrays of objects into a sheet, and managed to do so with the xlsx lib. Now I need to send it appended to an email and it worked fine ...
0
votes
0
answers
30
views
How can i get the mail and the attachments with node?
I am making a small application using node and the imap-simple and nodemailer library. I need that when I click on the download button, the email is downloaded in .eml format, which it already does, ...
1
vote
0
answers
90
views
Nodemailer Sending Email hangs with a ETIMEDOUT and at Resolved but eventually sends email
So I have this one problem with an app I am building using Nodemailer to send email to an SMTP server (or gmail) and I am getting a weird problem.
TL;DR: The email does get sent but it's rare. Other ...
0
votes
0
answers
16
views
Connection refused error when trying to send an email using nodemailer
I am trying to send a mail from node using nodemailer. I tried to send using ethereal for testing, but i keep getting connection refused error.
const createAutoEmail = require("../functionLib/...
0
votes
0
answers
36
views
Why is my identity on AWS SES seems to still be using the old API instead of V2 for sending emails?
I'm trying to upgrade the email-sending code to use SESv2 instead of v1, but it only works on my local machine; when I push the (supposedly working) changes to production, it doesn't work and I still ...
0
votes
0
answers
26
views
Closing connection to the server using "destroy" - Nodemailer in Next JS
Error
[2024-06-12 05:14:48] DEBUG [1NjbSBCk1vc] Resolved smtp.gmail.com as 142.250.102.109 [cache miss]
[2024-06-12 05:16:48] ERROR [1NjbSBCk1vc] Connection timeout
[2024-06-12 05:16:48] DEBUG [...
0
votes
0
answers
55
views
Contact Form in NextJS using Google Workspace
I have an account on google workspace and I'd like to add to my website a contact form. Could anyone gave me a tip how could I do that correctly? I'mthinking of using Google API and Nodemailer but I ...
0
votes
0
answers
82
views
NestJS Server-Sent Events (SSE) connection doesn't close automatically and subsequent requests fail silently
I'm building a feature where the frontend sends a POST request to /mailer/inform with an array of email addresses. This triggers sending individual emails to those addresses. I'm using Server-Sent ...
0
votes
0
answers
46
views
js file working in local environment but not working in browser environment
I have a js file that will take submitted data from a form and send it to my gmail. I wrote the JS code and executed the file using node in git bash, and it sends the email correctly with the ...
0
votes
1
answer
49
views
nodeMailer sends email when asked by one module, but not another
I am trying to send two sorts of emails from my website:
a randomly generated password sent to a user who asks for one (from module PayAsYouLike), and
a get-in-touch form that sends the email to my ...
0
votes
1
answer
55
views
Error While Sending email using Nodemailer & Google
I am utilizing Nodemailer with Gmail sign-in functionality. I have already configured my Service Account key and enabled the Gmail API in my Google Account. However, when I attempt to send an email ...
1
vote
1
answer
67
views
I need to have multiple contact forms on a website using Node.js
I am creating a website for a restaurant where there will be multiple contact forms.
I am using Node.js with Express and Nodemailer dependencies to send the forms. I have my main contact form in the ...
0
votes
0
answers
49
views
Nodemailer is not working on DigitalOcean production, but work in local development . Using MailTrap , can't receive mail why
I check all of our .env file . There is nothing wrong I using MailTrap port 2525 .
And On DigitalOcean I use PM2 . Please tell me appropriate answer. I search all of the other but not satisfy and not ...
0
votes
0
answers
56
views
Create one nodemailer test account and hold it in a module global
I have a nodejs application. One of the modules is for the mail transporter. I'd like to create a mail test configuration one per launch and store it (in global) so it can be reused.
However, during ...
0
votes
1
answer
85
views
Email not delivering in production but delivering in development
I can send mail while in development but mails are not delivered after I deploy to vercel. I have checked that the environment variable there are correct. i am using node js for my backend and react ...
0
votes
0
answers
124
views
Nodemailer sends SMTP emails locally but not on vercel production build
thanks in advance for the help. I'm having issues with nodemailer and my SMTP email that I connected to a contact form. When I was using gmail with an app password, it worked on both my local and ...
0
votes
0
answers
21
views
Nodemailer does not show icalendar in any email client
I have an web app based on appointment booker. User come to website select appointment and create appointment for himself.
When appointment created we send email to customer and website owner ...
0
votes
0
answers
70
views
Enable SMTP in Outlook for Nodemailer to work
I'm having hard time figuring out how to have Nodemailer working with Outlook account. I keep getting Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://...
0
votes
1
answer
45
views
Nest can't resolve dependencies of the MailService (?)
I created a mail module that will be used to handle sending emails, but after setting to up, I keep getting an error message when I tried starting the app:
Nest can't resolve dependencies of the ...
1
vote
0
answers
38
views
sending password reset using nodemailer in a react application
Everything ive seen on password resets with react is at least two years out of date what am i doing wrong. the following code is everything associated with the password reset and the error im getting ...
0
votes
0
answers
90
views
500 Error: Hostname/IP Does Not Match Certificate's Altnames When Using Nodemailer to Send Email to GMAIL
The contact form works seamlessly locally but encounters a 500 internal server error when deployed on the A2Hosting server.
Live Website
Form functionality
The form allows users to submit their name, ...
0
votes
0
answers
31
views
Email Tracker using NodeJs ; outlook adds the src in blockedurl tag of img
I am writing code to track whether the email sent via nodemailer was open or not by the receiver.
The problem is ; on the recivers inbox the transperent image becomes :
img data-imagetype="...
0
votes
0
answers
49
views
Why google app password doesn't let me login
I am trying to send some email using Google app password that I generated from my google account and the following code :
const transporter = nodemailer.createTransport({
pool: true,
host: 'smtp....