GithubHelp home page GithubHelp logo

Attachment Support about mailmerge HOT 4 CLOSED

awdeorio avatar awdeorio commented on August 12, 2024
Attachment Support

from mailmerge.

Comments (4)

awdeorio avatar awdeorio commented on August 12, 2024

Great idea! Any suggestions on how to specify the attachments in a template template email? Do you know if native sendmail format (the template is based on that) has support for attachments that I could mimic?

from mailmerge.

bexelbie avatar bexelbie commented on August 12, 2024

I do not know if sendmail supports them. I suspect they will need to be encoded/built. This link seems to indicate it isn't that challenging: https://stackoverflow.com/questions/3362600/how-to-send-email-attachments

As for inclusion, can we add an Attachments: at the top after To, From, etc.?

from mailmerge.

awdeorio avatar awdeorio commented on August 12, 2024

I suppose that adding anAttachments: header could work. On the up side, you could specify a filename using jinja templates. On the down side, it would diverge from the standard email format that is universal, e.g., works with sendmail.

Another approach could be a command line switch to mailmerge. For example, mailmerge --attachment photo.jpg. However, a weakness to this approach would be that you couldn't include a different attachment for different email addresses using the template.

from mailmerge.

awdeorio avatar awdeorio commented on August 12, 2024

Closed by PR #32 thanks to @seshrs

from mailmerge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.