That's it! hope this is clear enough and that it will help some of you. (my personal setup is to skip the inbox (archive) and add a specific label) Now, here you can actually tweak it as you prefer, but the important thing is to check never send it to spam so that you will always be able to see the emails that you'd like to test.Add a new filter and set it up to affect all the emails to Click continue to go to the next screen.In accounts and import, add another account to use as alias (in my case is Once this is done, go to filters tab.go to the top right cog icon and then go to settings.Login to you gmail account from your pc.I'm gonna explain this as well as it may be useful for a beginner I'm using it, and it is actually working nicely.Īfter this, I made a couple of adjustment in my gmail inbox, adding an alias and a filter. Go to spam and you should see the email that you just sent from your local machine.Ok, now login to your gmail account (the one you used for the to section in your mail() function.This status sent means that the email has been sent and that the local test worked as expected Scroll down till the last line, where you should find something saying status:sent.Nothing happens in the front end, but if you now open MAMP -> postFix tab, at the botto you can see the path of the log file and an arrow, click on the arrow and it will display a log message.Of the mail() function, otherwise you won't be able to test the NB: It is important that you use a working account for the to section After the restart, open MAMP and go to the website you want to test the emails and submit the email.Now close the terminal and restart your mac. The only edit that you want to do is adding at the top, right after, this line Disabled Sudo nano /System/Library/LaunchDaemons/ (this will allow you to edit the file otherwise not editable. In the postfix tab, add as domain for outgoing emails and then click the button "Use this data"Īfter this is done, you want to open the terminal and type in
0 Comments
Leave a Reply. |