Re: Issue with filter_var and FILTER_VALIDATE_EMAIL
| From: | Jonathan Tapicer | Date: | Fri, 19 Jun 2009 15:13:07 +0000 |
| Subject: | Re: Issue with filter_var and FILTER_VALIDATE_EMAIL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294331@lists.php.net to get a copy of this message | ||
Works for me:
var_dump(filter_var('bastien_k(a)hotmail.com',
FILTER_VALIDATE_EMAIL) !== false); //replace (a) with @
Gives:
bool(true)
You are sending an @ instead of " at ", right?
Jonathan
On Fri, Jun 19, 2009 at 11:49 AM, Bastien Koert<phpster@gmail.com> wrote:
> Hey guys,
>
> Running the new version of PHPMailer and my hotmail address fails the
> validation.
>
> Email address is bastien_k at hotmail dot com
>
> Any ideas?
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>