e.g.: comma seperated in a single textfield: mail1@domain.com, mail2@someotherdomain, …
e.g.: comma seperated in a single textfield: mail1@domain.com, mail2@someotherdomain, …
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the TMail::Address module to validate an email as shown here. Custom validations can be added with the
validatemethod.Update: The TMail::Address module seems to be too lax on what is considered a valid email address (see comments below) so instead you can use a regular expression.
There are a variety of regular expression solutions for validating an email address. See this page for details.