Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Attachments support #36

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Attachments support #36

wants to merge 8 commits into from

Conversation

samzilverberg
Copy link

No description provided.

@samzilverberg
Copy link
Author

still work in progress

made the pr so you can see already what it kind of looks like and maybe already give suggestions for improvement

@samzilverberg samzilverberg mentioned this pull request Feb 25, 2016
@samzilverberg
Copy link
Author

ready for review now.

note: attachments must be passed in as byte64 encoded strings, this is what mandrill expect (lookup attachments under https://mandrillapp.com/api/docs/messages.html).

I've added this into the readme.

});

it('attachments object', function(done) {
wrappedTransport.sendMail({
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont merge yet, i thought of something that needs to be tested:

i should call sendMail with full details (from, to etc...) and make sure that it doesn't somehow interfere with the attachments logic.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done already.

@christomitov
Copy link

What's the status on this, out of curiosity? Currently I'm pointing to @samzilverberg's repo in my package.json but it would be better if this were merged here so we can have attachment support.

@samzilverberg
Copy link
Author

there, added the assertions i wanted, all worked as expected actually, but the assertions make me sleep better at night! ;)

merge it if you feel good about it

@christomitov
Copy link

@devinus Is this mergeable ? Is it possible to create an npm release with this feature?

var mandrillTransport = require('../');

var packageData = require('../package.json');
var sinon = require('sinon'),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sry for changing the project style, just happened out of habit

@devinus
Copy link

devinus commented Apr 23, 2016

I will review this PR this weekend and merge if acceptable. It's doing the right thing, just concerned about the private API usage. Will investigate further.

@Dezzymei
Copy link

+1

1 similar comment
@jssuttles
Copy link

+1

@mwilliams
Copy link

Any possibility of getting this merged?

@mattgrande
Copy link

@devinus - Did you ever get a chance to review this? Do you know if this still works with the latest nodemailer?

@vjustov
Copy link

vjustov commented Jul 5, 2018

+1

2 similar comments
@tripper54
Copy link

+1

@victor-gabou
Copy link

+1

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

Successfully merging this pull request may close these issues.

10 participants