View Issue Details

IDProjectCategoryView StatusLast Update
0008016mantisbtemailpublic2007-08-02 02:28
Reportercomputabloke Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.0a3 
Fixed in Version1.1.0a4 
Summary0008016: Check Email broken in 1.1.0a3
Description

/admin/check.php doesn't use the new email-queuing system to send the test email, and will always fail.

Additionally, documentation on already-packaged phpMailer and the new send_emails.php CRON technique isn't too great.

Additional Information

Added to Help in Mantis forums: http://www.mantisbt.org/forums/viewtopic.php?t=3112

Instead of using email_send() it should probably use email_store() as follows:

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

TagsNo tags attached.

Activities

Riceball

Riceball

2007-06-03 08:45

reporter   ~0014669

as follows too:
$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.';
$t_email_data->metadata['priority'] = config_get( 'mail_priority' ); $t_email_data->metadata['charset'] = lang_get( 'charset', lang_get_current() );
$result = email_send($t_email_data);

vboctor

vboctor

2007-06-09 12:12

manager   ~0014729

I've used Riceball's patch and also updated the text before the form since it was still referring to the mail() function.