Alex Rivera | Logout

php mail on MAMP

Asked 2009-08-04T08:29:26.890
18

I need to test some script using PHP's mail. I'd like to be able to finally get this working locally. I am using MAMP. Is there a way to do this without installing any third party software?

I've done some searching on this but haven't found anything appealing.

Thanks

Edit
Report

1 Answer

0

You could use your gmail account and send your test emails via gmail's SMTP server.

You can use the phpmailer class (http://phpmailer.worxware.com/) to do this. There is a basic gmail example in the examples/ folder when you download this class.

answered 2010-03-07T00:12:43.007

Your Answer