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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:24:08+00:00 2026-05-26T03:24:08+00:00

Although this has been asked before, due to the fact that no satisfactory answer

  • 0

Although this has been asked before, due to the fact that no satisfactory answer was provided, I thought I’d bring up that subject once again.

So: how can I get PHP’s mail function to work on a Mac (I am using OS X Lion) using XAMPP?

Currently, I have the following php.ini configuration:

[mail function]
; For Win32 only.
SMTP = smtp.server.xts
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com
sendmail_from = user@server.xts

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

So… why does it still not work and how can I fix it?

  • 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-26T03:24:09+00:00Added an answer on May 26, 2026 at 3:24 am

    I needed this myself, and found the answer at:

    http://mabblog.com/blog/2011/09/lion-smtp-postfix-relay-and-dreamhost/

    I won’t repeat the instructions, but the basic idea is that Lion’s sendmail command is simply a wrapper for postfix. So in order to enable sendmail, you have to configure postfix to relay mail to an external mail server that you are authorized to use.

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

Sidebar

Related Questions

I can't find any useful answer for this question, although it has been asked
Although this question have been asked and answered before, including on this website, I
I'm sure this has been asked before but I'm not even really sure what
I know that different versions of this question has been asked in the past,
It looks like this question has been asked before, here and in other places
I know this has been asked countless times before, and they all seem to
this question has been asked before in stackoverflow: setting order of attributes It's really
I know this question has been asked before but I have a design question
I don't know if this exact question has been asked, if so I am
Although this has been discussed many times here in Stackoverflow, I couldn't get the

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.