Try hard coding the call to the mail ( )  function  at line 710, see if that works.
 
replace

$result = mail( $t_recipient, $t_subject, $t_message, $t_headers );

with

$result = mail( "youremailaddress", $t_subject, $t_message, $t_headers );

If it does then try and see what's happening to the $t_recipient variable on it's way in and out of the method

Thing is this should

-----Original Message-----
From: mantisbt-help-admin@lists.sourceforge.net [mailto:mantisbt-help-admin@lists.sourceforge.net]On Behalf Of Eric Gavaldo
Sent: Wednesday, September 17, 2003 4:16 PM
To: mantisbt-help@lists.sourceforge.net
Subject: Re: [Mantisbt-help] email not working !

Thank you for the tip... I tried this but unfortunately it still does not work :(
I tried to change the address in something simpler (without '-') like egavaldo@salemioche.com but it has the same behaviour
Thanks for your great support ! :)
Eg\\*

Brian Uniacke wrote:

In the core\email_api.php at line 737

I've changed the following method to just return the $p_string varibable.

Can't remember why I did it but perhaps this will solve your problem as the string that is being complained about passes through this method. And .... Mine works!!

# clean up LF to CRLF

function make_lf_crlf( $p_string ) {

//$t_string = str_replace( "\n", "\r\n", $p_string );

return $p_string;

//return str_replace( "\r\r\n", "\r\n", $t_string );

}

# --------------------

# Check limit_email_domain option and append the domain name if it is set

-----Original Message-----
From: mantisbt-help-admin@lists.sourceforge.net [mailto:mantisbt-help-admin@lists.sourceforge.net]On Behalf Of Eric Gavaldo
Sent: Wednesday, September 17, 2003 3:33 PM
To: mantisbt-help@lists.sourceforge.net
Subject: Re: [Mantisbt-help] email not working !

Yes this is working fine :)) received the mail correctly.
Hum... so what does it mean ?

Brian Uniacke wrote:
check if this works from the same directory as the mantis mail file
 

<?php

mail("eric.gavaldo@trusted-logic.fr","Testing", "This is a test");

?>

-----Original Message-----
From: mantisbt-help-admin@lists.sourceforge.net [mailto:mantisbt-help-admin@lists.sourceforge.net]On Behalf Of Eric Gavaldo
Sent: Wednesday, September 17, 2003 3:04 PM
To: mantisbt-help@lists.sourceforge.net
Subject: Re: [Mantisbt-help] email not working !

Yes because actually the complete message I get is:

SYSTEM WARNING: mail() : SMTP Server Response: 501 Bad address syntax
PROBLEMS SENDING MAILS TO: eric.gavaldo@trusted-logic.fr
...
I

which is my own email address which is working well has this response prove it ;)
Thx anyway,
Eg\\*



Brian Uniacke wrote:
Just guessing but maybe that error message you are getting is because you
have made a mistake in the email address of the people you are trying to
send mail to (via BCC), rather than any error in your mail setup. Are you
_sure_ your profile info is correct?

  
-----Original Message-----
From: mantisbt-help-admin@lists.sourceforge.net
[mailto:mantisbt-help-admin@lists.sourceforge.net]On Behalf Of Eric
Gavaldo
Sent: Wednesday, September 17, 2003 2:45 PM
To: mantisbt-help@lists.sourceforge.net
Subject: [Mantisbt-help] email not working !


Hi there !
When I'm reporting a bug or something, the email couldn't be sent.
Mantis is returning me this message:

SYSTEM WARNING: mail() : SMTP Server Response: 501 Bad address syntax

But I do not understand why:

I have this configured in the C:\Windows\php.ini file (under XP):

       [mail function]
       ; For Win32 only.
       SMTP = smtp-biot ;this is my smtp server that I can ping

       ; For Win32 only.
       sendmail_from = eric.gavaldo@trusted-logic.fr

and here is my mantis conf:

	# set these values to match your setup
	$g_hostname      = "localhost";
	$g_port          = 3306;         # 3306 is default
	$g_db_username   = "root";
	$g_db_password   = "";
	$g_database_name = "defect_tf4t";

	# select the method to mail by:
	# 0 - mail()
	# 1 - sendmail
	# 2 - SMTP
	$g_phpMailer_method		= 2;

	# This option allows you to use a remote SMTP host.
	# Name of smtp host, needed for phpMailer, taken from php.ini
	$g_smtp_host			= 'smtp-biot';

	# --- email variables -------------
	$g_administrator_email  = 'eric.gavaldo@trusted-logic.fr';
	$g_webmaster_email      = 'eric.gavaldo@trusted-logic.fr';

	# the "From: " field in emails
	$g_from_email           = 'noreply@example.com';

	# the "To: " address all emails are sent.
	# Actual users are emailed via the bcc: fields
	$g_to_email             = 'eric.gavaldo@trusted-logic.fr';

	# the return address for bounced mail
	$g_return_path_email    = 'eric.gavaldo@trusted-logic.fr';


I'm getting crazy at this point. No idea :((
Help please !

Eg\\*





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mantisbt-help mailing list
Mantisbt-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-help
    



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mantisbt-help mailing list
Mantisbt-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-help

.

  
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mantisbt-help mailing list Mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mantisbt-help mailing list Mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mantisbt-help mailing list Mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help