Marak / Marak/node_mailer

got 503 smtp error

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
385
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Hello,

just trying your lib, I can't even send a mail...

Got the error:

{ stack: [Getter/Setter],
  arguments: undefined,
  type: undefined,
  message: '503 sender not yet given\r' }

Here is my test file :

var email = require("mailer");
email.send({
  host : "localhost",              // smtp server hostname
  port : "25",                     // smtp server port
  to : "somewhere@free.fr",
  from : "root",
  subject : "node_mailer mémé test email",
  body: "Hello! This is a test & bière of the node_mailer."
},
function(err, result){
  if(err){ console.log(err); }
});

(Ubuntu, email server on localhost is exim).

regards,

Mickael

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SMTP send path used by require("mailer") and reproduce the supplied test against localhost Exim. Trace how the from value "root" is sent and how the 503 response is handled; done when the example sends successfully or the cause is identified as an Exim configuration issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.