SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    PHP Otaku Gibb's Avatar
    Join Date
    Jul 2004
    Location
    Texas
    Posts
    454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Nothing happens when attemping mail()

    Howdy all, I'm trying to determine why my forgot password script doesnt do anything when i'm trying to send the email.

    PHP Code:
    mail ($email'Subject Line'$body'From: webmaster@example.com'); 
    I get no errors returned at all, and everything seems to have ran ok (my echo's all show valid data before i use the mail function), but no email ever gets sent.

    Everything seems fine in my servers PHP settings
    Quote Originally Posted by phpinfo
    sendmail_from me@localhost.com
    sendmail_path /usr/sbin/sendmail -t -i
    SMTP localhost
    smtp_port 25
    The sendmail function is located there, cause i've checked that to be sure.

    Anybody have any idea what could cause this?
    Last edited by Gibb; Nov 23, 2004 at 16:31.


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
  •