Forward to a friend feature for email marketing

How would this work in complying with opt-in regulations?