Also, try to use a local email address first. Possibly it gets sent, but the remote server blocks the email as spam. You can check that by having the email sent to your local user, and check if it arrives there. HTH On Mon, 04 Dec 2006 16:53:19 +0100, Jochem Maas wrote: > Janet Smith wrote: >> I wasn't really sure where to start looking, but I think I have enough >> information that I can go and look at how we have things set up. I will >> try to provide more information as I find it. > > chances are that the following function is being used. > > http://php.net/mail > > you should really make sure sending email from the cmdline works before > digging deeper into php - it maybe your sendmail (or alternative tool) itself > is borked (in which case php won't be able to use it to send any email!). > > smtp and smtp_port are ini settings that are only valid for windows, > I have no idea if setting them in a *nix php installation will cause problems or not. >> >> Thanks >> >>>>> Jochem Maas <jochem@xxxxxxxxxxxxx> 12/4/2006 10:42 AM >>> >> Janet Smith wrote: >>> We have an application using PHP. If users have forgotten their >>> password, they click on the link 'Forgot Password' and enter this >> e-mail >>> address. This is suppose to send their new password to the e-mail >>> address provided. We can not get the e-mail to be sent. I have >> changed >>> the php.ini file to include the SMTP, the sendmail_from and the >>> sendmail_path. Does anyone have any suggestions as to what else I >> need >>> to look at? >> >> what is the error? >> what is the code that tries to send the email? >> what are the relevant php.ini settings set to? >> what is your OS, php version, etc? >> do you have a net connection? >> can you send email from the cmdline? >> >> give us this info and maybe we can provide a solution. >> >> other than that I can only suggest looking at the moon - it won't >> solve >> the problem, and I don't think the moon has a 'look at me' >> requirement, >> but it is nice to do. >> >>> Thanks >>> >>> Jan Smith >>> Programmer Analyst >>> Indiana State University >>> Terre Haute, Indiana >>> Phone: (812) 237-8593 >>> Email: jsmith7@xxxxxxxxxxxxxxxxxx >>> >>> >> ******************************************************************************************* >>> This email, and any attachments, thereto, is intended only for use >> by >>> the addressee(s) named herein and may contain privileged and/or >>> confidential information. If you are not the intended recipient of >> this >>> email, you are hereby notified that any dissemination, distribution >> or >>> copying of this email, and any attachments thereto, is strictly >>> prohibited. >>> >> ******************************************************************************************* >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php