A Test E-mail bug of check.php (1.1.0a2)

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
graham
Posts: 1
Joined: 13 Mar 2007, 14:47

A Test E-mail bug of check.php (1.1.0a2)

Post by graham »

I found a bug in check.php (1.1.0a2) and need some fix.
which is

$result = email_send( config_get_global( 'administrator_email' ), 'Testing PHP mail() function', 'Your PHP mail settings appear to be correctly set.');

it shound cannot work properly on 1.1.0a2

and I did the following modify to fix it.

$t_email_data = new EmailData;

$t_email_data->email = config_get_global( 'administrator_email' );
$t_email_data->subject = 'Testing PHP mail() function';
$t_email_data->body = 'Your PHP mail settings appear to be correctly set.';

$result = email_send($t_email_data);

for your reference
Post Reply