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 7785637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:17:16+00:00 2026-06-01T20:17:16+00:00

I have been developing a Web app with the MAMP solution stack (v2.0.5), which

  • 0

I have been developing a Web app with the MAMP solution stack (v2.0.5), which includes:

  • Mac OS X (v10.7.3)
  • Apache v2.2.21
  • MySQL v5.5.9
  • PHP v5.3.6

I have been using the PHP mail() function to send an activation URL to newly registered user accounts:

$body = "Thank you for registering. To active your account, please click on this link:\n\n";
$body .= BASE_URL . 'activate.php?x=' . urlencode($e) . "&y=$a" . "&z=$bs";
mail($trimmed['email'], 'Registration Confirmation', $body, 'From: admin@tester.com');

However, it seems that after a while… this has just stopped, and now I fail to receive any of these these messages to my tester user accounts.

My php.ini file is at: /Applications/MAMP/bin/php/php5.3.6/conf/php.ini

With the default settings:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

It used to work perfectly until recently and has now failed. I haven’t intentionally changed any settings that I am aware of that may have caused this to stop.

After much Googling and reading it seems you have to set up your SMTP server in order to send emails from your localhost to another email address for it to work at all, but I am very positive that it did used to work, I received emails… honestly!

I hope someone can help. Many thanks.

UPDATED-SOLVED:
Basically sorted it. Started trying to use PEAR and the Mail plugin, but found it horrible. Ended up using an external SMTP server and PHPMailer, much better.

Useful Info:
http://www.askapache.com/php/phpfreaks-eric-rosebrocks-phpmailer-tutorial.html
https://orangsetya.wordpress.com/2007/09/12/send-mail-using-smtp-authentication-phpmailer-script

  • 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-06-01T20:17:17+00:00Added an answer on June 1, 2026 at 8:17 pm

    Basically sorted it. Started trying to use PEAR and the Mail plugin, but found it horrible. Ended up using an external SMTP server and PHPMailer, much better.

    Useful Info: http://www.askapache.com/php/phpfreaks-eric-rosebrocks-phpmailer-tutorial.html https://orangsetya.wordpress.com/2007/09/12/send-mail-using-smtp-authentication-phpmailer-script

    Cheers.

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

Sidebar

Related Questions

We have been developing a DB web app which constantly queries an SQL store
So I have been developing a small ASP.NET web app in C# for my
I have been developing an app in VB.NET which requires a control object (for
I have a project (Web Application) which I have been developing in C#/ASP.NET, and
I have been developing web apps (primarily) using php and a bit of python,
I have been developing my web-app using JPA 2.0 implementation EclipseLink 2.2.0. I finally
I have been developing an app for iPad and consuming the Web Service in
I've been developing web applications for 2 years now, and have been into simpler
I have been developing an app in FatFree framework and now I am trying
I've been developing my first web based app for about two months now (I'm

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.