OS X: sending mail to localhost

前端 未结 6 798
臣服心动
臣服心动 2021-02-04 20:07

For testing purposes I want send mail to my localhost user account rather than my webserver. I am unsure how to do this using mail.app. Any help would be appreciated.

6条回答
  •  佛祖请我去吃肉
    2021-02-04 21:00

    Unless you are running OSX Server, then there's no SMTP/IMAP/POP3 server running locally. You can get one up and running very easily using Post Fix Enabler or, if you don't mind the command line, use MacPorts to install postfix:

    sudo port install postfix
    

提交回复
热议问题