Which email service shall I use for testing sending emails?

本小妞迷上赌 提交于 2019-12-25 06:55:18

问题


I'm coding in PHP w/ CodeIgniter and I'd like to test some of the features in my app that send emails.

For some reason, I couldn't send emails through my email account in my local server (XAMPP), and I also don't want some SPAM filter to think I'm spamming while I'm testing.

So is there any email service that I can use for testing purposes? preferably one that doesn't enforce SSL, since I have problems getting that to work on my local server.

Appreciate your help.


回答1:


As long as you're not sending out dozens or hundreds of test E-Mails, use whatever your everyday E-Mail provider is (e.g. GMail). Set the SMTP server of your mailing function to point to Google's. (I think SSL is optional with GMail, but I may be wrong.)

If your mailing library doesn't support using an external SMTP server, switch to a different one. But I think CodeIgniter has you covered there.




回答2:


If you just want to test the application functionality, check out Papercut. This utility simulates the sending of email without having to set up a mail server, works great!

edit: had wrong link.




回答3:


I like to set up a test SMTP service on my development machine and just send to that. There are several good options listed under this question.



来源:https://stackoverflow.com/questions/3072252/which-email-service-shall-i-use-for-testing-sending-emails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!