September 09 2010 08:32:03 login.png register.png lostpassword.png

Navigation
bullet.gif Home
bullet.gif Downloads
bullet.gif Web Links
bullet.gif Forum
bullet.gif News Categories
bullet.gif Directory - Get Listed!

bullet.gif Submit A Ticket
bullet.gif Search
bullet.gif Guestbook (Traditional)
bullet.gif Contact Us
bullet.gif Sign-up/Newsletter
bullet.gif Photo-Guestbook (NEW)

bullet.gif Virtual Store/Mall
bullet.gif Play Mini-Golf
bullet.gif Select Videos
bullet.gif FAQ

bullet.gif XML Sitemap
Subscribe to updates

Events
<< September 2010 >>
Su Mo Tu We Th Fr Sa
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Locations of visitors to this page


Test your Internet connection speed at Speedtest.net

Take The Global Broadband Speed Test...FREE!
(I DID!)

News Ticker


TimeLife.com


SMTP or Localhost?
NetworkShould you use SMTP or localhost in your Php.ini file?

This is a common problem, and one in which I had myself. I couldn't for the life of me figure it out. I read everything until I was blue in the face, but still couldn't get my WAMP server to send email from within my web applications.

My problem, like so many have had came from having three php.ini files...one in which I didn't realize even existed, and why I don't use WAMP Server anymore nor do I really recommend using. XAMPP is much better, and more like how a real server should be configured--yet I really don't recommend using XAMPP for production or to go live with, but only for testing purposes and/or to use it to create a copy of your real server be it local or remote.

If you are just getting started either one would be fine, but don't get hooked on them or rely on them too much, but rather use them to learn from then you can build your own server later with the knowledge you gained from using a server that is packaged together. If you read the documentation on PHP's website you will also see that they do not recognize the packaged programs as legitimate, but discourage you from using them.

OK, back to the question at hand. Some CMS (Content Management Software) applications work better with one than the other, and sometime during the installation will recommend one over the other, so please toke note. In fact, PHP-fusion will not send mail other than using SMTP if you are running Windows. If they don't, do some research and find out which one is best. Most will tell you straight-up that SMTP is better by default unless you are running a Linux system which has its own "Sendmail" program built into the server, then of course, you would choose the sendmail option.

I don't use either one, which is more out of personal choice than anything. I chose to use the PHPMail() function as I run a mail server along-side of my web-server that sends and receives the mail as sort of a gateway for all of my mail programs running on my system. I do this mostly for security reasons. In my PHP.ini file I put "localhost" for my "Mail Function" section instead of my SMTP mail server. If I ever wanted to change it all I have to do is substitute localhost with my ISP's mail server: mail.abc.com and switch off my mail server.

Regardless of which one you use you need to experiment first to find out what runs best for your system. If you don't want to bother with having a mail-server/gateway set-up (which you would probably need if you set it to localhost), then I would recommend just using the SMTP setting for everything, including your PHP.ini file and just leave it alone.

Hope this helps some. Good luck!

Comments
#1 | mbt on July 02 2010 22:29
Bow Wow Pow Wow "Look lady, mbt on sale I don want to hear anymore putrid excuses. buy ugg cardy This is the third time that your mutt has trotted across my ugg cardy boots property line into my backyard," Nick pointed out, ugg cardy grey tired of his new neighbor is excuses. alexander wang shop And God was she ugly - almost as ugly as her rotten puma shoes for women little mutt who for some reasonshy.
#2 | hicell on July 22 2010 03:30
you may notice the interlacing problems. mbt shoes shopMOD formatschina mbt shoes jordan shoes china jordan shoes shop The application deinterlaces video by default mbt shoes storebrand shoes blogto make the output video with better visual experience
#3 | hicell on July 22 2010 03:31
you may notice the interlacing problems. mbt shoes shopMOD formatschina mbt shoes cell phone from china jordan shoes shop The application deinterlaces video by default mbt shoes storebrand shoes blogto make the output video with better visual experience
#4 | hanlyone on September 09 2010 02:55
mage to PDF Converter converts image files to PDF document to read with Adobe Reader. JPEG, PDF Creator,Word to PDF,Excel to PDF,Image to PDF GIF, TIFF, PNG, BMP all popular picture formats are supported.
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
This Page in French This Page in German This Page in Spanish This Page in Japanese This Page in Greek This Page in Italian




Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
What is your favorite Browser?















You must login to vote.
Forum Threads
Newest Threads
No Threads created
Hottest Threads
No Threads created
Shoutbox
You must login to post a message.

06/09/2010 19:04

06/09/2010 08:26

04/09/2010 12:22

04/09/2010 12:21

04/09/2010 12:21

04/09/2010 12:20

04/09/2010 12:15

04/09/2010 12:14

04/09/2010 12:11

01/09/2010 17:17