This topic is locked

problem sending mail

2/21/2008 10:27:35 AM
PHPRunner General questions
J
jccanut author

Hi,

I've probleme when I try to send mail from one of my application.
here is the code :
$email="info@site.fr";

$message="Changement de la date de la tâche ".$values["libelle"]." \n Début : ".$values["date_debut_relle"]." Fin : ".$values["date_fin_relle"];

$subject="Cchangement de date sur une intervention";

mail($email, $subject, $message);
An the error from the server :

mail() [function.mail]: SMTP server response: 550 5.1.0 <site Meci> '@' or '.' expected after 'site'
I've just try the code in an other php's page and i've no error.

Can someone help me please?

J
Jane 2/22/2008

Hi,
it's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.