Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.send() callback called multiple times #24

Closed
mathisonian opened this issue Sep 24, 2014 · 1 comment
Closed

.send() callback called multiple times #24

mathisonian opened this issue Sep 24, 2014 · 1 comment

Comments

@mathisonian
Copy link
Contributor

Hi, thanks for the library!

I'm occasionally having issues with the callback to the send function multiple times. This is a problem because it breaks, for example, async.parallel().

I'm running version 0.2.5. To reproduce send an email with an unauthorized sending address, this will call the callback with error

{ status: 422,
  message: 'Sender signature not defined for From address.',
  code: 400 }

but then will also call the callback with

{ status: 404,
  message: 'Unsupported Request Method and Protocol',
  code: -1 }
@mathisonian
Copy link
Contributor Author

Actually this may just be because of my testcase setup -- I'm raising an exception and its getting caught in the try/catch that is surrounding the callback...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant