Hello kh99,
Thanks again for your answer ...
I still have the same problem ... when I clic on run task ... everything works fine (i can see the log now)
But if vbulletin does the job automatically I cannot see the log and I do not receive the emails.
This is the script I have:
PHP Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.2.0 Patch Level 3
|| # ---------------------------------------------------------------- # ||
|| # Copyright Š2000-2012 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!is_object($vbulletin->db))
{
exit;
}
// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################
vbmail_start();
$evioa = "zero477@hotmail.com";
$sujeto = "Este es el email bueno";
$mensaje = "este es un mensaje para probar la funcion email send";
vbmail($evioa, $sujeto, $mensaje);
$emails .= iif($emails, ', ');
$emails .= $userinfo['username'];
vbmail_end();
// if ($emails)
//{
log_cron_action('', $nextitem, 1);
//}
?>
Do you see any errors?
Thanks again,
Eddie