[Pro] MAMP, PHP, Freeway and Forms

Greetings,

I use MAMP on my computer to test sites before full upload.

I have a script that emails my form information. I have used this form on an outside server, and no problems at all.

I installed this same script on my MAMP server and it will not forward the email message. It does give me the confirmed message, so I am not sure why it is not working. I have a theory, that there is a php setting that needs to allow it to send emails. I do not know php well enough to tell it how to send mail.

I need some direction. Thanks for any help.

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Make sure that you have enabled Postfix on your Mac. This is outside
the scope of MAMP, you will need to either google the command-line for
this, or use one of the “Postfix Helper” apps available for your
version of Mac OS to do this. I used one several versions ago, I
believe called Postfix Helper of all things, and it did exactly as it
said on the tin. I needed to do this because I was in a hotel and they
were blocking my email out somehow. Thankfully they were not blocking
the port directly.

Walter

On Jul 9, 2010, at 8:58 AM, sampolfonz wrote:

I have a script that emails my form information. I have used this
form on an outside server, and no problems at all.

I installed this same script on my MAMP server and it will not
forward the email message.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It occurs to me that perhaps this is what is happening on your setup
– if your ISP blocks port 25, you will not be able to send mail
directly from your computer unless you do something tricky and use a
different port.

Here’s more about that particular problem:

http://kb.siteground.com/article/How_to_check_whether_SMTP_port_25_is_blocked.html

Walter

On Jul 9, 2010, at 9:36 AM, Walter Lee Davis wrote:

Thankfully they were not blocking the port directly.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There’s also an app named Mailserve <MailServe for Leopard

that provides a GUI for enabling Postfix as Walter mentioned. Might
be worth a look.

Todd

Twitter: http://twitter.com/XiiroMedia
Skype: toddbrilliant


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,

My regular “Mac Mail” works just fine. Pardon my lack of understanding on this issue…

I want to be able to use the script inside the site folder inside the htdocs folder in MAMP to be able to send the mail. The script is working fine on my GoDaddy server, I just want to be able to test it from my own MAMP setup, to save on upload times (just for the sake of testing a form).

I do not understand much about the terminal level of the mac. I can pursue it if you think it will solve my issue.

Thanks for the help, as always

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On Jul 9, 2010, at 9:17 AM, sampolfonz wrote:

My regular “Mac Mail” works just fine. Pardon my lack of
understanding on this issue…

If you want to send mail from your local machine and receive it on
your local machine - the email is not going out to the world - then
your Mac needs to function as a self-contained mail server.

Todd


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Todd,

Okay. What can I do to make this happen? Would the Mailserve app you mention do the trick for me?

Thanks for the attention.

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On Jul 9, 2010, at 9:26 AM, sampolfonz wrote:

Todd,

Okay. What can I do to make this happen? Would the Mailserve app
you mention do the trick for me?

Yes. The upshot to the app is obviously convenience plus it offers a
lot of settings options, though they may be overkill for your needs.
But if you want to save some $ then using the Terminal is the way to
go and relatively easy. Lots of tutorials out there.

Todd


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Todd,

I’m not real Terminal Savy. I will do more research.

Thanks for the time and advice…

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you upgrade to MAMP PRO it has a built-in email feature, meaning it
enables Postfix for you but it doesn’t have all the features of the
MailServe app.

Todd


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options