nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
857 stars 145 forks source link

250 Message queued as abcdef error #73

Closed EasonWang01 closed 7 years ago

EasonWang01 commented 7 years ago

when I remove the auth block from nodemailer the last issue gone,not sure is it about TLS. but then I encounter this,no error and no email been send. Is there are something I need to setting up?

thanks for reply.

2016-11-20 11:01:06] INFO: SMTP Server listening on [::]:2525
[2016-11-20 11:01:24] INFO: [ucg1SAcpjIHD] Connection from [127.0.0.1]
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 220 easonwang-mbp.local ESMTP Welcome to My Awesome SMTP Server
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] C: EHLO easonwang-mbp.local
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 250-easonwang-mbp.local Nice to meet you, [127.0.0.1]
250-8BITMIME
250-SMTPUTF8
250-SIZE 10485760
250-XCLIENT NAME ADDR PORT PROTO HELO LOGIN
250 XFORWARD NAME ADDR PORT PROTO HELO IDENT SOURCE
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] C: MAIL FROM:<@test.com>
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 250 Accepted
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] C: RCPT TO:<@hotmail.com>
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 250 Accepted
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] C: DATA
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 354 End data with <CR><LF>.<CR><LF>
Content-Type: multipart/alternative;
 boundary="----sinikael-?=_1-14796396832100.8395863515748523"
From: @test.com
To: @hotmail.com
Subject: =?UTF-8?B?6Ki75YaK5oiQ5Yqf4pyU?=
Message-ID: <1fb99cf4-627d-a3c9-af20-922aac3bffba@test.com>
X-Mailer: nodemailer (2.6.4; +https://nodemailer.com/;
 SMTP/2.7.2[client:2.12.0])
Date: Sun, 20 Nov 2016 11:01:23 +0000
MIME-Version: 1.0

------sinikael-?=_1-14796396832100.8395863515748523
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

6Ki75YaK5oiQ5Yqf5LqG
------sinikael-?=_1-14796396832100.8395863515748523
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGI+5oGt5Zac5oKo4pyUPC9iPg==
------sinikael-?=_1-14796396832100.8395863515748523--
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] C: <773 bytes of DATA>
[2016-11-20 11:01:24] DEBUG: [ucg1SAcpjIHD] S: 250 Message queued as abcdef
[2016-11-20 11:01:24] INFO: [ucg1SAcpjIHD] Connection closed to [127.0.0.1]
mleczek commented 7 years ago

Here you'll find answer for your question:

NB! this module does not make any email deliveries by itself. smtp-server allows you to listen on ports 25/24/465/587/etc using SMTP protocol and that's it. Your own application is responsible of accepting and delivering the message to destination.

EasonWang01 commented 7 years ago

I was using nodemailer for deliveries,not using smtp-server itselt.

pranshu-07 commented 7 years ago

@EasonWang01 This is just a SMTP server to validate SMTP commands and queue mails at your end. You need a MTA in order to send a mail.

I recommend you https://github.com/zone-eu/zone-mta by @andris9 itself for deliveries.

Let us know here, if you have any more issues in this.

noelenwenede commented 7 years ago

Just seen this and I need help on same issue.

How can I connect my smtp server to the running instance of zone-mta?

The messages are still being queued by my smtp server but not going out.