Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6155721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:29:00+00:00 2026-05-23T20:29:00+00:00

Background: Hi, I’m using PHP 5.3 on a Windows 7 machine as a part

  • 0

Background:
Hi, I’m using PHP 5.3 on a Windows 7 machine as a part of the WAMP server package. I’ve been trying to get my PHP code to send a verification email to newly registered users, but I’ve stumbled upon a problem that is the mail()-function. As you probably know, the mail()-function is really basic, and doesn’t use SMTP Authentication. Since I’m only using this platform while developing my web application, and don’t know where it’ll run in the end, I should probably prepare for having to use SMTP Authentication.

The problem:
After a few Google searches it seems like the only widely used method is PEAR’s Mail package. Now, I don’t know if I’m stupid or if it really has to do with the language barrier (English isn’t my mothern tongue), but even after being on PEAR’s website and reading about what it is, I still don’t understand it completely.
So, there is this PEAR Package Manager which “installs” whatever PEAR package you want, right? How exactly does it do that? Is it simply extracting PHP code into some folder, for me to include later in my .php files? Does it alter any default PHP stuff (like functions) that I should be aware of?
I mean, if I never include any PEAR libraries in my code, will the code run like PEAR would never have been “installed”? If not, is there any significant performance issues I should be aware of (like a default PHP function taking longer to execute now that PEAR is installed)? What about vulnerabilities for some kind of injection (like SQL Injection)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:29:02+00:00Added an answer on May 23, 2026 at 8:29 pm

    PEAR “installs” just download and extract the PHP code to a directory in the include path.

    PECL on the other hand downloads, compiles and delivers the executable extension.

    On a sidenote, you probably don’t want to use PEAR Mail, SwiftMailer is regarded as the best ATM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background I'm trying to implement a simple web server part as a web interface
Background I've recently been a part of a project where twisted was used. We
BACKGROUND: Co-worker Adam has been using Google refine to process database downloads with much
Background: At my company we are developing a bunch applications that are using the
Background I am writing and using a very simple CGI-based (Perl) content management tool
Background I am trying to create a copy of a business object I have
Background I have been asked by a client to create a picture of the
Background: My organization uses Microsoft .Net (3.5) with SQL Server 2005 as back end.
Background: I have a website that has been built with ASP.NET 2.0 and is
Background: I have created sample windows application for learning to implement localization. My each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.