This file contains 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/bash | |
# Documentation can be found on either of following blogs (with mirrored content): | |
# https://pindertek.net/2018/07/04/sendmail-free-mailgun/ | |
# https://craigphicks.github.io/2018/07/04/sendmail-free-mailgun/ | |
# NOTE: root permission required to write to /var/log. | |
# Choose another log location if that will not be suitable. | |
Logfile=/var/log/sendmail-dummy.log | |
if [[ $EUID -ne 0 ]]; then |
This file contains 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
--- | |
title: Installing HEXO | |
tags: | |
- Software | |
categories: | |
- Hexo | |
comments: true | |
date: 2018-05-14 00:00:00 | |
--- |
This file contains 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/bash | |
mgmail() | |
( | |
dflt_to="xxx@gmail.com" | |
dflt_froma="xxx@example.com" | |
dflt_sub="notice from admin" | |
dflt_text="default text" | |
mailgun_domain="example.com" | |
keyfile="./privatekey.txt" |
NewerOlder