Email Form (Contact Us)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wqr786
Forum Newbie
Posts: 13
Joined: Fri Sep 08, 2006 2:47 am

Email Form (Contact Us)

Post by wqr786 »

I've tried the mail() function, but cannot figure out why it is not sending the email. I am running EasyPHP (Apache and MySql installed) and for SMTP I'm using IIS, OS is Windows XP. SMTP is enabled on IIS and working.

If someone could provide me with any clues, or correct working emailing codes for Contact Us Form, which lets users send emails to me through the web, it would be appreciated.
User avatar
gkwhitworth
Forum Commoner
Posts: 85
Joined: Tue Sep 05, 2006 8:28 pm
Location: Wasilla, Alaska

Help....I think.

Post by gkwhitworth »

Ok....I ran into some problems of my own with the glorious "IIS." Check your php.ini file and make sure the SMTP settings are correct. My problem was the server that I was hosting from didn't have SMTP running. So I had to change the php.ini file using the ini_set command.

There isn't too much for us to consult...and you may want to move this to the IIS, Apache section, better chance of someone that knows a great deal of IIS and SMTP will solve it.

--
Greg
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Dynamic IP addresses are blacklisted in most spam checkers. Send through a server that uses a static IP if your computer does not have one.
Post Reply