Jump to content

Nodemailer Issue

Stentorian
Go to solution Solved by elpiop,

Try this instead

var transport = nodemailer.createTransport("SMTP", {
    service: "hotmail",
    auth: {
        user: config.auth.user,
        password: config.auth.password
    }
});

 

Hello,

 

I have been trying to make a online mini web server using Node for my mum so she can send emails without using the UI of clunky mail clients or websites and I am having an error that I am predicting is coming from Nodemailer. I asked on Nodemailer's github 10 days ago and got no response to my issue so I am coming to the intelligent people of the LTT Forums to help. 

 

Here's the available code I think of that will help you out with solving this: 

Error: https://hasteb.in/umagovoy.yaml

Package.JSON File: https://hasteb.in/zoxujaze.json

App.JS File: https://hasteb.in/mahuliti.php

HTML FIle: https://hasteb.in/inoguxiz.xml

 

Any help will be greatly appreciated! 

 

Many Thanks, 

Ben

Current PC: 

Spoiler

Motherboard: MSI Z390-A PRO

CPU: Intel Core i7-9700K @ 3.60GHz

Memory: 32GB (4x8GB) Corsair Vengeance 

Graphics Card: NVIDIA GeForce RTX 3060 Ti

Boot: Crucial P2 500GB (M.2)

SSD: Crucial BX500 1TB

HDD: Seagate ST2000DM001 2TB

HDD: Seagate Barracuda 4TB

PSU: Gigabyte P750GM 750W

Case: IONZ KZ10

Current Laptop:

Spoiler

Name: Lenovo ThinkBook 14 20SL003JUK

CPU: Intel i7-1065G7 @ 3GHz

Graphics: Intel Iris Graphics

RAM: 16GB DDR4 @ 2667MHz

SSD: 480GB Western Digital M.2

Secondary SSD: 240GB Adata SATA

Other Gear:

Spoiler

Phone: Google Pixel 6 (128GB)

Headphones: Steelseries Arctis 3

Microphone: Blue Snowball Ice

Speakers: Creative T100

Link to comment
Share on other sites

Link to post
Share on other sites

Try this instead

var transport = nodemailer.createTransport("SMTP", {
    service: "hotmail",
    auth: {
        user: config.auth.user,
        password: config.auth.password
    }
});

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, elpiop said:

Try this instead


var transport = nodemailer.createTransport("SMTP", {
    service: "hotmail",
    auth: {
        user: config.auth.user,
        password: config.auth.password
    }
});

 

I figured out another way to do it but I'll mark your response as an answer to help out others. Thanks!

Current PC: 

Spoiler

Motherboard: MSI Z390-A PRO

CPU: Intel Core i7-9700K @ 3.60GHz

Memory: 32GB (4x8GB) Corsair Vengeance 

Graphics Card: NVIDIA GeForce RTX 3060 Ti

Boot: Crucial P2 500GB (M.2)

SSD: Crucial BX500 1TB

HDD: Seagate ST2000DM001 2TB

HDD: Seagate Barracuda 4TB

PSU: Gigabyte P750GM 750W

Case: IONZ KZ10

Current Laptop:

Spoiler

Name: Lenovo ThinkBook 14 20SL003JUK

CPU: Intel i7-1065G7 @ 3GHz

Graphics: Intel Iris Graphics

RAM: 16GB DDR4 @ 2667MHz

SSD: 480GB Western Digital M.2

Secondary SSD: 240GB Adata SATA

Other Gear:

Spoiler

Phone: Google Pixel 6 (128GB)

Headphones: Steelseries Arctis 3

Microphone: Blue Snowball Ice

Speakers: Creative T100

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×