--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
great, your code will help me, actually haraka is the first of my looking, a little complex for me, thank you for let me know these problems.
在 2011-5-6 上午2:43,"Matt" <hel...@gmail.com>编写:
Nice work - good to see someone else working on SMTP too.I will note this is missing a bunch of things that you have to do for SMTP outbound, but are implemented fully in Haraka's deliver plugin, please feel absolutely free to use any code you need from there: https://github.com/baudehlo/Haraka/blob/master/plugins/queue/deliver.js(off the top of my head: retrying upon a lot of failure cases [*], mixing up MXs of the same priority, trying all A records for an individual MX, trying for an A record if the MX returns no data...).Also your line based socket approach assumes a line isn't split across packet boundaries, which will break it. Won't happen very often with SMTP, but you never know.Matt.
[*] Though this kind-of requires a disk-backed queue, so you may not wish to add that in.
On Thu, May 5, 2011 at 2:28 PM, jason.桂林 <gui...@gmail.com> wrote:
>
> I have just spent some time to learning SMTP, and write a simple program which allows you sendma...
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.