dwightjack / grunt-nodemailer

Grunt wrapper for Nodemailer
MIT License
9 stars 4 forks source link

Fatal error: Error occured: connect ECONNREFUSED 127.0.0.1:25 #19

Open sashberd opened 8 years ago

sashberd commented 8 years ago

After I`d updated to version 1.0.0.0 I got next error each time Fatal error: Error occured: connect ECONNREFUSED 127.0.0.1:25

I revert to 0.3.0, the problem was fixed.

Is there any global problem or I should change something in my settings or properties

dwightjack commented 8 years ago

Hi can you post the task configuration object?

Mr-Chilly commented 8 years ago

I've had the same, installed 0.3.0 and everything is fine... here's the config:

nodemailer: {
            options: {
                transport: {
                    type: 'SMTP',
                    options: {
                        service: 'Gmail',
                        auth: {
                            name: 'b2g test email',
                            user: 'b2gtestemail@gmail.com',
                            pass: 'donkeycheeks1'
                        }
                    }
                },
                recipients: '<%= emailadds %>'
            },
            dist: {
                src: ['email-templates/dist/*.html']
            }
        },

Windows 10 / Node 5.6.0 - if that helps!

dwightjack commented 8 years ago

Hi I've updated the plugin to Nodemailer 2.x in version 1.1.0 (https://github.com/dwightjack/grunt-nodemailer/releases/tag/1.1.0)

Let me know if that fixes the bug

sashberd commented 8 years ago

Sorry for such huge delay. Was not on this company project. The issue is still exists event with version 2.x.

sashberd commented 8 years ago

untitled This is how it looks like

StevenX911 commented 6 years ago

Let me know if that fixes the bug

askdesigners commented 6 years ago

it's 2018 and I still get this error ;)

KevsRepos commented 2 years ago

Its 2021 and the error is still there!

dwightjack commented 2 years ago

@KevsRepos as I wrote on the project's readme, I am not longer maintaining this project. Feel free to contribute with a PR to fix this issue.