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

[Feature Request] Attachments #43

Open
pedropaulosuzuki opened this issue Apr 12, 2021 · 3 comments
Open

[Feature Request] Attachments #43

pedropaulosuzuki opened this issue Apr 12, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@pedropaulosuzuki
Copy link

Hey! First of all, I think we can all agree that this library is great! Thanks for that mate!

One thing that would greatly improve the deno-smtp experience is being able to simply send attachments directly from the client.send method as an array. The attachments could be an object in the base64 + MIME type format, or something similar. I don't know how feasible it would be, but I think it could greatly enhance the deno-smtp experience.

Example:

await client.send({
    from: my_email,
    to: your_email,
    subject: "My title",
    content: "My content",
    attachments: [attachment_1, attachment_2, attachment_3]
  });

Thanks for reading!

@manyuanrong manyuanrong added the enhancement New feature or request label Apr 15, 2021
@Bettelstab
Copy link

Hi all! Does anybody know how one would send attachments with the current version? Is it possible?

@Bettelstab
Copy link

I started working on this, but I'm struggling to get the original code running. I'll start a draft PR anyways soon.

@Bettelstab
Copy link

#56

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

No branches or pull requests

3 participants