Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello KK,
I am trying to create a Cron job and decided to run a test using this:
Code: Select all
<?php require_once('kt-admin/cms.php'); ?>
<cms:php>

$msg = "This is a simple message";
$msg = wordwrap($msg,70);
mail("ampaw.boateng@adamsghana.com","My subject",$msg);

</cms:php>
<?php COUCH::invoke(); ?>


It's however not working. Its only works when I remove the Couch management bit.
Code: Select all
<?php
$msg = "This is a simple message";
$msg = wordwrap($msg,70);
mail("ampaw.boateng@adamsghana.com","My subject",$msg);
?>


Can you please help me out what I could be doing wrong? Thank you
Update: I switched to PhpMailer and everything is working now. Thank you
2 posts Page 1 of 1