Jump to content
thirty bees forum

How to test sending emails when in localhost?


Recommended Posts

Posted

Have a mail server on localhost.

On Debian/Ubuntu, that's none sudo apt-get install postfix mailutils This brings up a configuration screen on the terminal where the command is issued. Choose local for the type of installation and defaults for everything else. Having this done, one can use mail on the command line to send and receive mail already. PHP should pick it up as well. Getting a graphical mail client into reading local mails is a bit more complex, described e.g. here: https://askubuntu.com/questions/2261/how-are-administrators-supposed-to-read-roots-mail

Posted

@Steve, if your php can't send emails directly, you can always use stmp. Simply enter your credentials for your gmail (or any other) account, and thirtybees will send emails through this email address.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...