Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Website, DB, & Software Developers

Showing Original Post only (View all)

Aquavit

(488 posts)
Wed Mar 19, 2014, 11:09 PM Mar 2014

Some kind of MAMP/sendmail/PHP issue [View all]

I'm trying to test a website that I am developing using MAMP, PHP 5.3, and sendmail on Mac OS X 10.5.8. My php script is using $_SERVER['PHP_SELF'] to collect form data via POST. When I submit test input, the page reloads as expected, but it doesn't send the form to my email as expected.

I haven't done anything to the default httpd.conf that came with MAMP, and I've only uncommented line 566 (the UNIX sendmail config line) in php.ini. I manually launched sendmail via console, and it seems to have started without issue.

If I've gotten everything configured correctly in MAMP, and my sendmail is working correctly, and there's not a bug in my php script, I should be able to send my form data to email right? I'm not extremely proficient with php, but I'm pretty sure the script I've written should be good to go. Is there anyone with more experience with this than me who can help me get this sorted out?

3 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Latest Discussions»Retired Forums»Website, DB, & Software Developers»Some kind of MAMP/sendmai...»Reply #0