Send email from shell

Started by epicavic, December 26, 2017, 03:29:19 PM

Previous topic - Next topic
Hello guys,

Does anyone know what are the options for sending emails from opnsense shell ?
I have a script which checks opnsense logfiles and i would like to receive notifications with script output via email from opnsense

Regards,
Viktor

+1

I have an action script to find new devices in Lan and i would like to get an E-Mail Notification

Quote from: shell on January 25, 2018, 10:50:07 PM
+1

I have an action script to find new devices in Lan and i would like to get an E-Mail Notification

Perhaps you could use this Python script: https://gist.github.com/Mausy5043/0f7fa43ba35cf68e2756b7bfe1419146

All that is required for this is a Gmail account and an App-specific password (see: https://support.google.com/accounts/answer/185833?hl=en).
:-D  Hobbyist programmer since 1986