How do I send an email using my ISP server from my localhost with PHP -


i have code:

it keeps showing error: warning: mail() [function.mail]: smtp server response: 550 access denied - invalid helo name (see rfc2821 4.1.1.1). please out...

$headers = 'mime-version: 1.0'.'\r\n';  $headers .= 'content-type: text/html; charset=iso-8859-1'.'\r\n';  $headers .= 'from: me@mydomain.com'.'\r\n';  if(mail($email, $subject, $content, $headers)) {      echo 'status: feedback sent successfully!!!';  } else {      echo 'error: '.mysql_error();  } 


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -