Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
gripfly

Fetching new mails | Sending mails via Telegram

Recommended Posts

Posted · Original PosterOP

Hi

 

Recently I found out that it is possible to send messages like notifications to my Telegram account using a bot: http://www.bernaerts-nicolas.fr/linux/75-debian/351-debian-send-telegram-notification#h2-telegram-notification-script

What I wonder now, how can I automatically let local incoming mails forward to Telegram?

 

In the article are following two examples for commands that probably would be useful for my case:

# telegram-notify --question --title "File content display" --text "/tmp/log.txt" 

# telegram-notify --text "Result is available in the embedded document" --document "/tmp/result.log"

 

Just changing the path to the mbox file doesn't work, since I can not open it on my phone. As well it is not really great since I would see all messages and not just the newly received ones.

So, I guess I need to save each new incoming mail as a text file and then send it?

 

I personally would favor to be able to use the first command, so I do not have to download any file and get all as a text message right away.

How would I do that?

Link to post
Share on other sites

Never heard of the software until I read this just now. 

It is possible someone may know, its hard to say. Please be patient. 

I suggest you bump the topic, but you can only do this once every 24hrs.

 

 

-= Topic moved to Programs, Apps and Websites =-

This may get better results for you.


Tech News Posting Guidelines - READ BEFORE POSTING | Community Standards | Forum Staff

LTT Folding Users Tips, Tricks and FAQ | F@H Contribution | My Rig | Project Steamroller

 

Spoiler

 †  

 

Character is like a Tree and Reputation like its Shadow. The Shadow is what we think of it; The Tree is the Real thing.  ~ Abraham Lincoln

You have enemies? Good. That means you've stood up for something, sometime in your life.  ~ Winston Churchill

Docendo discimus - "the best way to learn is to teach" ~ Benjamin Jantz

 

I am a StarCitizen are you? My ships: Aegis Eclipse, Aegis Sabre, Aegis Gladius, Aopoa Nox, KI P52 Merlin, KI P72 Archimedes and the RSI Constellation Aquila.

 

My Phones are a Nokia Lumia 925 with WM10 and a Microsoft Lumia 950 XL with WM10 running the Fast Ring insider updates. Broke :(

Samsung Note 9 and a Samsung S9+

 

About Myself:   https://linustechtips.com/main/profile/229093-sansvarnic/?tab=field_core_pfield_46

 

 CHRISTIAN MEMBER 

 

 

Link to post
Share on other sites
Posted · Original PosterOP
On 7/7/2020 at 5:46 AM, SansVarnic said:

Never heard of the software until I read this just now. 

It is possible someone may know, its hard to say. Please be patient. 

I suggest you bump the topic, but you can only do this once every 24hrs.

 

 

-= Topic moved to Programs, Apps and Websites =-

This may get better results for you.

Thank you for moving the thread to a better place.

 

Consider this another Bump.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×