Message
foo
must be an email address
Explanation
MUST conform to the "addr-spec" production in RFC 2822
Solution
Convert the email address to a valid form. Examples of valid email addresses:
- joesmith@example.com
- joesmith+nospamplease@nospam.example.com
Note: addr-spec does not include a provision for a display-name. Use atom:name instead. Examples of invalid email addresses:
- joesmith@example.com (Joe Smith)
- Joe Smith <joesmith@example.com>
Not clear? Disagree?
You might be able to find help in one of these fine resources.