如何发送样本电子邮件给我的Facebook测试用户?

Vig*_*esh 5 facebook facebook-graph-api

A test user on Facebook has a default @tfbnw.net email address as the primary email address, in addition to a @facebook.com address which routes to their Facebook Messages inbox.

I've tried to set the @facebook.com address as primary, since I wish to quickly check sent sample emails in their Facebook Messages inbox. However, I'm not allowed to do so [which makes sense, I guess, because the primary email id is supposed to be a non-FB one].

It's tiring to create a new email account for every test user [can't reuse the same email address, because Facebook complains that it's already being used for an account]

So I have two questions:

  1. Where can emails sent to @tfbnw.net addresses be accessed?
  2. How should I go about setting up distinct primary email accounts for my test users? [I know I could set up distinct GMail accounts and fwd them to my own, but that seems like a lot of work.]

Vig*_*esh 4

我最终求助于 Mailcatcher。这确保了我的应用程序中没有任何针对测试用户的特殊逻辑,并且它允许我立即测试电子邮件在 html/文本格式下的外观。

http://mailcatcher.me/