[erlang-questions] Validate email address

Marc Worrell marc@REDACTED
Fri Feb 19 10:50:24 CET 2016


You can use z_stdlib:

https://github.com/zotonic/z_stdlib/blob/master/src/z_email_utils.erl#L31 <https://github.com/zotonic/z_stdlib/blob/master/src/z_email_utils.erl#L31>

- Marc

> On 19 feb. 2016, at 10:48, Khitai Pang <khitai.pang@REDACTED> wrote:
> 
> Hi,
> 
> How to write an Erlang function to check whether a string is a valid email address?
> 
> Thanks
> Simon
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160219/fef3536b/attachment.htm>


More information about the erlang-questions mailing list