SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict einSTein's Avatar
    Join Date
    Aug 2006
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Failed To Connect

    Warning: Failed to Connect in c:\apache\htdocs\gp1\abs.php on line 54
    Code PHP:
    echo $messagem;
    $mailto = $empmail ; 
    $mailfrom = "admin@speedjobs.org" ; 
    $subject = "Job Matching" ;
    mail( "to: $mailto", "Subject: $subject", "message: $messagem", "From: $mailfrom" );----> ERROR IN THAT LINE

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2007
    Location
    Ukraine
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It seem you are using mail function a wrong way
    PHP Code:
    mail($email$subjectmessage); 
    You can add headers like from and reply to, but this may fail on some hostings like yahoo

    .


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •