Giter Site home page Giter Site logo

Email improvements about nixnote2 HOT 6 OPEN

robert7 avatar robert7 commented on July 20, 2024
Email improvements

from nixnote2.

Comments (6)

robert7 avatar robert7 commented on July 20, 2024

@MRC01:
great, I'll take a look later.

Actually I don't like the email function as it is now:

  • first it need manual configuration of credentials. Further credential are stored in plain text in config file. This was already raised here: baumgarr#414
  • and I also don't like the idea of sending emails directly from note program. It is bit awkward: you can't change subject and/or modify text (e.g. add intro)

So my idea for improvement is just add one config field, there parameters for external email client can be configured - example for Thunderbird: thunderbird -compose "to='[email protected],[email protected]',cc='[email protected]',subject='dinner',body='How about dinner tonight?',attachment='C:\temp\info.doc,C:\temp\food.doc'" - see thunderbird command line arguments. There should be similar syntax for other popular main clients, even gmail can be scripted someway. (For me I'll be happy with Thunderbird).

Improvement: credentials handled by external client, also some additional text can be easily added and configuration will be easier (no SMTP/user/pwd needed) and later defaults for most often used email clients can be added.

Furher I plan to add function which will print the note in PDF (this is possible already) and automatically email it to Kindle..

from nixnote2.

MRC01 avatar MRC01 commented on July 20, 2024

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

yes. of course. I'll review it soon
I just wanted to open a ticket regarding "email changes" .. where I did put together your changes and my plans :)

from nixnote2.

MRC01 avatar MRC01 commented on July 20, 2024

Suggestion: add this capability to use a separate email client to send email, yet keep the current code. Pick which method to use in Nixnote preferences. While most Linux distros have an email client, people who don't use it and haven't configured it, will need the existing Nixnote code, despite its limitations.

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

Yes. I will leave the existing build client as option (as people may already using it).

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

@MRC01: your changes are merged - thx!
I also created a "develop" branch. So next PRs should probably be directed to this branch.
There are minor changed to the build script build-with-qmake.sh, but you probably already noticed.

from nixnote2.

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.