View Issue Details

IDProjectCategoryView StatusLast Update
0004480mantisbtadministrationpublic2004-09-12 08:27
Reporterljonesfl Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0rc1 
Fixed in Version0.19.0 
Summary0004480: admin/check.php - Check email failing.
Description

Using php 4.3.4 on windows 2000 w/Apache 2.0.48. Argosoft mail server.

Check email was returning:
Could not instantiate mail() function.
Uppon reviewing the server logs it turns out that it did not like the "From: " field in the message header.
Excerpt from server log file:
"550 User unknown <From: administrator@xxxx.com>"

As you can see, it was considering From: as part of the name field.

Additional Information

I fixed it by changing line 400 in admin/check.php
to:

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

from:
$result = email_send( config_get( 'administrator_email' ), 'Testing PHP mail() function', 'Your PHP mail settings appear to be correctly set.', 'From: ' . config_get( 'administrator_email' ) . "\n" );

TagsNo tags attached.

Relationships

child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

thraxisp

thraxisp

2004-09-05 08:47

reporter   ~0007441

fixed in CVS.

Removed the attempt to change the from address since it doesn't work as advertised.