This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Quick and (very) dirty script to send emails when a user gets a message and is away from HUD | |
from base64 import b64decode | |
from hashlib import sha256 | |
import sqlite3 | |
import datetime | |
import itertools | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#set -x # Enable shell debugging | |
#exec 2> /tmp/sendmail-gcloud-debug.log # Redirect stderr to a custom log | |
# sendmail-gcloud | |
# | |
# Installation instructions - Updated for FreePBX 17 and Debian | |
# Copy the content of this file to /usr/sbin/sendmail-gcloud | |
# | |
# Google Account |