Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reorder the docs to put events before methods

  • Loading branch information...
commit 9f5134c8817a59079e7b6fed68c5f1537ff83589 1 parent 6efb5a0
@aredridel authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 doc/api.markdown
View
16 doc/api.markdown
@@ -148,14 +148,6 @@ message data.
received will be sent. Defaults to `false`. Call `accept()` to accept the
message or `reject()` to reject it.
-### smtp.MessageStream.accept()
-
-Accepts the message, so the SMTP daemon will return a 2xx response.
-
-### smtp.MessageStream.reject()
-
-Rejects the message, so the SMTP daemon will return a 4xx/5xx response.
-
### Event: accept
Emitted when the message is accepted.
@@ -163,3 +155,11 @@ Emitted when the message is accepted.
### Event: reject
Emitted when the message is rejected.
+
+### smtp.MessageStream.accept()
+
+Accepts the message, so the SMTP daemon will return a 2xx response.
+
+### smtp.MessageStream.reject()
+
+Rejects the message, so the SMTP daemon will return a 4xx/5xx response.
Please sign in to comment.
Something went wrong with that request. Please try again.