Comments (13)
can you try 0.8.5? i was able to get it to work for me.
from emailjs.
Just tried 0.8.6 and the same issue with ECONNREFUSED
from emailjs.
do you pass in {ssl:true}
or {ssl:true, port:465}
?
what is the exact error that is returned, and when does it return (upon connecting to the server or sending your first email to the server) ?
from emailjs.
Even I'm getting same error when {ssl: false} and I could successfully send mail through mail server via command line (telnet server-name 25).
Please let me, if any one solved this issue.
Thanks
Mahesh
from emailjs.
i've been testing emailjs lately on many different email servers and still haven't run into this one (works with gmail, outlook, zimbra).
does this error happen when running on linux, mac or windows? what email server are you connecting to?
i'ld like to fix it, but will need to replicate it on my end or get more details on this one...
from emailjs.
Its with outlook SMTP server on Windows 7.
from emailjs.
is this with smtp.live.com or a private smtp server?
from emailjs.
sorry, forgot to mention those details in previous message. Its private (corporate) mail server.
from emailjs.
if you uncomment the following line, you'll get output from every exchange with the SMTP server.
https://github.com/eleith/emailjs/blob/master/smtp/client.js#L9
this output might help greatly in narrowing down the root cause.
from emailjs.
Much appreciated for your support and effort to resolve the problem.
from emailjs.
can not reproduce
from emailjs.
Hi, i'm using emailjs on a windows maschine and i get folling error:
uh oh { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
{ [Error: connection encountered an error]
code: 5,
previous:
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' },
smtp: undefined }
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
My settings are:
"mail": {
"user": "[email protected]",
"password": "password",
"host": "smtp.gmail.com"
}
server.send({
text: "test email",
from: "[email protected]",
to: "[email protected]",
//cc: "else [email protected]",
subject: "testing emailjs"
}, function (err, message) {
console.log(err || message);
});
No matter which settings i have. With ssl or not, with an different port or with the default port. Do you think it is an issue on node js side? Do i need some more settings or an running mail server?
from emailjs.
have you tried to turn on debug mode in smpt.js? that would output some more detail console that can give clues as to where this might be going wrong.
from emailjs.
Related Issues (20)
- Error Typing... HOT 6
- Can attachments be delivered using http addresses? HOT 1
- test suite fails under node 18 HOT 2
- SMTPClient stuck (race condition?) HOT 15
- Deno Support HOT 6
- Error [ERR_REQUIRE_ESM] - Remix HOT 6
- SMTPClient stuck on same error message HOT 2
- 27 errors when building with @tsconfig/node18-strictest HOT 2
- Can we deliver bulk email using single connection? HOT 7
- Emails is not sent if used Iphone HOT 1
- error - ./node_modules/emailjs/email.js:1:0 Module not found: Can't resolve 'fs' HOT 1
- Please tell me how to embed images in email.js what is cid:unique identifier ?? HOT 3
- how to embed image in HTML to shoot an Gmail via email.js
- TextEncoder is not a constructor error in nextjs server side api
- office 365
- Minor vulnerability: Password leaks in error when authorization/authentication fails HOT 3
- Typescript error HOT 9
- Compatibility with Node 20: NodeJS.Timer vs NodeJS.Timeout HOT 1
- Proxy support
- The send method doesn't return to invoke the callback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emailjs.