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
<?php | |
require_once('../lists/admin/PHPMailer/PHPMailerAutoload.php'); | |
//include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded | |
$mail = new PHPMailer(); | |
$body = file_get_contents('contents.html'); | |
$body = eregi_replace("[\]",'',$body); | |
$mail->IsSMTP(); // telling the class to use SMTP |
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/bash | |
# README: A more updated version is on the comments by (ashmna)[https://gist.github.com/ashmna] | |
# See at: https://gist.github.com/allangarcia/938b052a7d55d1652052e4259364260b?permalink_comment_id=4265898#gistcomment-4265898 | |
# this is for tools required | |
brew update | |
brew install ninja | |
brew install cmake |