Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring sendmail options

Status
Not open for further replies.

skiflyer

Programmer
Sep 24, 2002
2,213
US
So... I've got IIS 4.0 to work with, and PHP 4.2.3, and I'm going to start sending mail for the first time...

I'm looking at my phpinfo() and realizing, that none of my variables are set...

sendmail_from, sendmail_path, and SMTP

My question is two fold... are those all the variables I need to set?

And, can anyone point me towards a good FAQ or tutorial on how this works?

-Rob
 
Running on NT 4.0 by the way, and I'm totally stuck, I'm just trying to use mail() and I get a server error... I'm guessing it's becqause my ini file is completely unconfigured.
 
On Win32, you only set SMTP and sendmail_from.

"SMTP" is the address or fully-qualified resolvable domain name of your mail server. "sendmail_from" is the sender's email address.

"sendmail_path" is used to tell PHP where the sendmail executable is located on the filesystem of *nix machines.

I assume you have an SMTP server available to use. What error are you getting?
Want the best answers? Ask the best questions: TANSTAAFL!
 
I was getting "Server Error" because my SMTP server wasn't set... now I have things set, and I get a success... however the mail's not showing up. Have the IS people looking into it and making sure it's not just our filter snagging them as junkmail before I get too frustrated.

Oooo-la-la, new functionality, my favorite.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top