Search

Servers and Services > SMTP

Sometimes you may need to send email using PHP, so you will need to configure and run SMTP. An easy way to get SMTP running is to use the configuration tool built into MAMP PRO.

MAMP

  • Include SMPT service in GroupStart

    Check this to include SMTP in the GroupStart. If enabled, SMTP will automatically start/stop when the Servers button is pressed.


  • **Set outgoing mail domain to **.

    If you want to use the PHP function mail() to send emails to your own email address (like mail@johndoe.com), you only need to add simply add the value “johndoe.com” (without quotes and the corresponding domain name) to this field.

    Note: Only if you want to send email to others, you need to fill in the other in the other fields. In this case, make sure that your email provider allows you to use a Smart Host.


  • Use an intelligent host for routing

        • Outgoing server:**.
          Enter the name of your outgoing mail server. For example, this could be “smtp.johndoe.com” (without quotes). Check with your provider if you are unsure of the server name.
    • Use authentication
      Unencrypted: Your username and password are sent unencrypted.

      MD5 Challenge-Response: MD5 challenge response authentication is used.

    • Username.
      Enter the username of your email account.

    • Password
      Add the password for your mail account.

    • Authentication
      What type of authentication to use.

    Note: Some providers do not allow smart hosts, such as Google Mail.


  • Path to SMTP log file.

The path to your SMTP log file.