-
Notifications
You must be signed in to change notification settings - Fork 64
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
Ability to include attachments #69
Comments
Here is a start (the code to encode source stream or file into base64 chunk data): var encodeStreamForEmail = function(source, callback){ var encodeFileForEmail = function(sourceFileName, callback){ Still have to look into header's, mime types, etc... |
I'm not sure if and how node_mailer handles attachments but Nodemailer which is beneath node_mailer used for the transport supports any kind of attachments (files, streams, strings) |
I tried to use attachments as demonstrated in the https://github.com/andris9/Nodemailer example using this node_mailer(Marak's) but I got this error: Cannot call method 'replace' of undefined. Does anyone know how to include attachments using node_mailer. I chose node_mailer over Nodemailer because it supports use of templates so I'd prefer to send attachments with node_mailer |
It would be great if you could attach files to the emails that are being sent. Looking at sample PHP code from ( http://webcheatsheet.com/PHP/send_email_text_html_attachment.php ) this might not be difficult to achieve. Will look into it more and post back what I find.
The text was updated successfully, but these errors were encountered: