Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I send sample emails to my Facebook test users?

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.]
like image 342
Vighnesh Avatar asked Aug 24 '12 20:08

Vighnesh


2 Answers

I finally resorted to using Mailcatcher. This ensures that I don't have any special logic in my app for test users and it allows me to immediately test how the email looks under html/text formatting.

http://mailcatcher.me/

like image 141
Vighnesh Avatar answered Oct 14 '22 09:10

Vighnesh


Why do you need the test users to have reachable email addresses on Facebook's side?

You could just email arbitrary email addresses at a domain you control if you want to test how the emails look when sent out, or change the test users' email addresses to @yourdomain.com if your domain supports wildcard addresses like that

like image 21
Igy Avatar answered Oct 14 '22 10:10

Igy