mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-11 10:40:29 +00:00
17 lines
350 B
PHP
17 lines
350 B
PHP
|
<?php
|
||
|
|
||
|
$smtp = "smtp.gmail.com";
|
||
|
$sender = "info@tiddlywiki.com";
|
||
|
$recipient = "info@tiddlywiki.com";
|
||
|
$subject = "Test Report";
|
||
|
|
||
|
ini_set("SMTP", $smtp);
|
||
|
ini_set("smtp_port", "465");
|
||
|
ini_set("sendmail_from", $sender);
|
||
|
|
||
|
echo $message = "Total : " . $_POST["total"] . " Failures : " . $_POST["failures"];
|
||
|
|
||
|
echo mail($recipient, $subject, $message);
|
||
|
|
||
|
?>
|