It is about domain

Will domain in mailtrap work for me if I have not token my project to the internet yet?