--- T L <[EMAIL PROTECTED]> wrote: > *Here's the code for the main page.* > > $subject="My Business Circle Invitation"; > $headers = "From: My Business > Circle<[EMAIL PROTECTED]>\r\n<[EMAIL PROTECTED]> > "; > $headers.= "Content-type: text/html; charset=us-ascii"; > $body = ""; > $body .= '<table width="100%"><tr><td>Hi</td></tr>'; > $body .= '<tr><td>You can catch me at My Business Circle</td><tr>'; > $body .= '<tr><td>'; > $body .= "<br>Link to Login: <a href=' > http://mybusinesscircle.startlogic.com/signup.php' target = '_blank' > >LOGIN</a><br><br><strong>Regards:</strong><br>My Business Circle<br> > <img src='http://mybusinesscircle.startlogic.com/images/logo.gif' border='0' > /></td></tr></table>"; > > //@mail($email, $subject, $body, $headers); > > if (@mail($mem_email, $subject, $body,$headers)){ > header("Location: emailextrator_plaxo.php?m=s"); > //echo("done"); > exit; > } else { > header("Location: emailextrator_plaxo.php?m=f"); > //echo("doneasdfasdf"); > exit; > }
First of all, I would not use the @ before a function since this suppresses any errors which might help you to diagnose the problem. Most of the time PHP hands off an email to the SMTP (mail server) without generating an error, however. Have you made a simple test script to see if your server is configured to send email using the PHP mail() function? When defining headers for email, you want each line to end in a \r\n but it looks as if you don't have this after $headers.= "Content-type: text/html; charset=us-ascii"; James
