pulb / mailnag

An extensible mail notification daemon
GNU General Public License v2.0
253 stars 32 forks source link

User script #194

Closed JosephHenley closed 4 years ago

JosephHenley commented 4 years ago

Hi, Can you tell me where to find some info on what the info passed to the user script looks like. I'd like to write a script using it. Thanks! Joe Henley

pulb commented 4 years ago

Hi, as the plugin decription says, mailnag passes the mail count to the script, followed by accountname, sender and subject for every mail. Example: scriptname.sh 1 GmailAccount1 abc@example.net News

Hope this helps.