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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:45:10+00:00 2026-05-23T11:45:10+00:00

I used to be able to send email using the simple mail() in PHP

  • 0

I used to be able to send email using the simple mail() in PHP although since I have upgraded to the latest PHP I am unable to send emails.

When I look at the email log I get the following:

Jun 29 21:14:49 Johns-MacBook postfix/pickup[26503]: 384B6246803: uid=70 from=<_www>
Jun 29 21:14:49 Johns-MacBook postfix/master[26709]: fatal: open lock file pid/master.pid: unable to set exclusive lock: Resource temporarily unavailable
Jun 29 21:14:49 Johns-MacBook postfix/cleanup[26680]: 384B6246803: message-id=<20110629201449.384B6246803@example.com>
Jun 29 21:14:49 Johns-MacBook postfix/qmgr[26504]: 384B6246803: from=<_www@example.com>, size=351, nrcpt=1 (queue active)
Jun 29 21:14:49 Johns-MacBook postfix/local[26683]: 384B6246803: to=<ben@example.com>, relay=local, delay=0.02, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "ben")
Jun 29 21:14:49 Johns-MacBook postfix/cleanup[26680]: 3C318246805: message-id=<20110629201449.3C318246805@example.com>
Jun 29 21:14:49 Johns-MacBook postfix/qmgr[26504]: 3C318246805: from=<>, size=2033, nrcpt=1 (queue active)
Jun 29 21:14:49 Johns-MacBook postfix/bounce[26684]: 384B6246803: sender non-delivery notification: 3C318246805
Jun 29 21:14:49 Johns-MacBook postfix/qmgr[26504]: 384B6246803: removed
Jun 29 21:14:49 Johns-MacBook postfix/local[26683]: 3C318246805: to=<_www@example.com>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 29 21:14:49 Johns-MacBook postfix/qmgr[26504]: 3C318246805: removed
  • 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-23T11:45:11+00:00Added an answer on May 23, 2026 at 11:45 am

    To fix the fatal: open lock file pid/master.pid: unable to set exclusive lock: Resource temporarily unavailable problem:

    Have a look at your php.ini file and make sure that you can see this line:

    sendmail_path = sendmail -t -i
    

    or

    sendmail_path = /usr/sbin/sendmail -t -i
    

    It shouldn’t have any quotes around it and that there is not semi-colon (;) before it. If it’s not there or different, change it to match one of the line above.

    If that doesn’t help, have a look at http://switch.richard5.net/2006/08/19/fatal-open-lock-file-pidmasterpid/ and see if that helps. Since you’ve updated PHP, I doubt that postfix is the problem but you never know.

    Also:

    You may have postfix configuration issues. It’s trying to deliver using the local relay. If the e-mail your trying to send to isn’t one on the local server, you might want to check your /etc/mailnames and in /etc/postfix/main.cf check myhostname, mydomain and myorigin.

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

Sidebar

Related Questions

I would like to be able to send e-mails with PHP mail() containing the
I have a webform where I am using TPL to send email in the
I used to be able to open a new buffer in Emacs quickly using
I'm used to using Telerik Grids and I'm able to display them in an
In phone7 development, being able to send an email requires the use of the
I had used the Intent code for sending Email , I was able to
I used to be able to do the following in Preview 3 <%=Html.BuildUrlFromExpression<AController>(c =>
I used to be able to right click Folders in my project and click
I used to be able to do this to create an exported HTML page
As of SQL Server 2005, you used to be able to open a flat

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.