Re: Bug: flaws in email validation/sending

2016-01-31 Thread euromark
Please open a ticket at https://github.com/cakephp/cakephp/issues This is just a discission board, not a bug tracker. Mark Am Samstag, 30. Januar 2016 05:33:10 UTC+1 schrieb Kim: > > >- CakePHP's email validation allows non-ASCII letter characters, e.g. >á, in the

Bug: flaws in email validation/sending

2016-01-29 Thread Kim
- CakePHP's email validation allows non-ASCII letter characters, e.g. á, in the local part of the email address (by the \p{L} unicode category construct). This should not be allowed, see https://en.wikipedia.org/wiki/Email_address#Local_part. - It also allows non-

Re: Email validation Q

2012-02-09 Thread Benno
ITYM 'allowEmpty' => true, but yes that works, thanks! On Feb 9, 10:35 am, Jeremy Burns | Class Outfit wrote: > Required just indicates whether the field must be present when validating. So > if it's empty, it's not there, and as it's not required the validation > passes. Try setting 'allowEmpt

Re: Email validation Q

2012-02-09 Thread Jeremy Burns | Class Outfit
Required just indicates whether the field must be present when validating. So if it's empty, it's not there, and as it's not required the validation passes. Try setting 'allowEmpty' => false instead. Jeremy Burns Class Outfit http://www.classoutfit.com On 9 Feb 2012, at 15:22:25, Benno wrote:

Email validation Q

2012-02-09 Thread Benno
Hi all, I've searched the archives and open tickets, but perhaps I've missed something obvious... I'm using Cake 2.0.5, and I've got a model with the following: public $validate = array( 'notify_on_provision' => array( 'rule' => 'email', 'required' => false ), [various ot

Re: How to achieve Email Validation - with 2 different messages

2010-12-11 Thread John Maxim
... > >>                 ) > >>         ) > >> ); > > >> This will make it check ruleName1 first, then ruleName2 and so on. You can > >> call them whatever you want, but I generally mirror the actual rule name > >> (e.g. notEmpty etc). The

Re: How to achieve Email Validation - with 2 different messages

2010-12-11 Thread Jeremy Burns | Class Outfit
'message' => ...message... >> ) >> ) >> ); >> >> This will make it check ruleName1 first, then ruleName2 and so on. You can >> call them whatever you want, but I generally mirror the actual rule name >> (e.g. notEmpty

Re: How to achieve Email Validation - with 2 different messages

2010-12-11 Thread John Maxim
them whatever you want, but I generally mirror the actual rule name > (e.g. notEmpty etc). The 'last' option will make it stop there for that field > if the validation rule fails, else it will continue on and only report the > final broken validation rule for that field. > > Jerem

Re: How to achieve Email Validation - with 2 different messages

2010-12-11 Thread Jeremy Burns | Class Outfit
ield. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 11 Dec 2010, at 10:25, John Maxim wrote: > In email validation - tutorial IBM build a quick web: if it is left > blank, the message displays "enter a valid email". > > How to make it

How to achieve Email Validation - with 2 different messages

2010-12-11 Thread John Maxim
In email validation - tutorial IBM build a quick web: if it is left blank, the message displays "enter a valid email". How to make it so it displays "this field cannot be left blank" ? Only when something not-email entered in it so does it display "enter a valid emai

Re: Email validation in cake php 1.3 version

2010-06-03 Thread Bogdan Bursuc
Validation::email($email); On Thu, Jun 3, 2010 at 12:17 PM, CakeFan wrote: > Hi > I want to validate email address in cakephp 1.3, but i didn't find any > suitable answer > Please help me for this. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePH

Email validation in cake php 1.3 version

2010-06-03 Thread CakeFan
Hi I want to validate email address in cakephp 1.3, but i didn't find any suitable answer Please help me for this. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google G

Re: email validation

2009-10-06 Thread brian
On Tue, Oct 6, 2009 at 12:47 PM, Simon wrote: > > i have 2 fields email and confirm_email  i tired this validation didnt > work > > 'email_confirm' => array('rule' =>  array( 'notSame'),'message' => > 'email not same') Have a look here: http://bakery.cakephp.org/articles/view/using-equalto-vali

email validation

2009-10-06 Thread Simon
i have 2 fields email and confirm_email i tired this validation didnt work 'email_confirm' => array('rule' => array( 'notSame'),'message' => 'email not same') --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePH

Re: Email Validation

2009-10-06 Thread vekija
Add 'allowEmpty' paramter to your email validation rule and set it to true, something like this $validate = array ( 'email' => array('rule' => 'email', 'message' => 'invalid email', 'allowEmpty' => true); ); O

Email Validation

2009-10-06 Thread sijo jose
Hi folks, I have a email field which is not mandatory. But i would like it to b validated if at all it is entered. Please suggest. -- Sijo Jose Chakramakkil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP

Re: Email Validation in cakephp

2009-08-10 Thread Brendon Kozlowski (Realm)
you'd like them to be handled. On Aug 10, 6:32 am, arif hossen wrote: > Dear All, > > Please help me. > > Cakephp  Email validation Get email address only  .com .org etc > > But When email address enter such below: > > i...@a.co.uk > > not expect cakephp

Email Validation in cakephp

2009-08-10 Thread arif hossen
Dear All, Please help me. Cakephp Email validation Get email address only .com .org etc But When email address enter such below: i...@a.co.uk not expect cakephp Error message appears say :not valid email address. How i can solve this email validation. -- Regards, Mohammad Arif Hossen

Re: email validation fails on a valid address

2009-05-19 Thread JamesF
han a valid email not validating and pissing off your user. On May 19, 1:24 pm, MrSensitive wrote: > never mind, discovered that setting the option 'deep' on the email > validation does this.. > the ultragenda domain apparently does not allow the check > > On 19 mei, 19:19, M

Re: email validation fails on a valid address

2009-05-19 Thread MrSensitive
never mind, discovered that setting the option 'deep' on the email validation does this.. the ultragenda domain apparently does not allow the check On 19 mei, 19:19, MrSensitive wrote: > would someone try to validate this email address?? > ro...@ultragenda.com > It consi

email validation fails on a valid address

2009-05-19 Thread MrSensitive
would someone try to validate this email address?? ro...@ultragenda.com It consistently fails on my development environment and also on the production server the email address is very real Many thanks for any insight regards Robin --~--~-~--~~~---~--~~ You receiv

Re: altering the email validation

2009-04-03 Thread mlecho
Duh- sorry http://book.cakephp.org/view/150/Custom-Validation-Rules On Apr 3, 11:11 am, mlecho wrote: > hi...i am using the email validation feature for a few forms in my > application. Today, we discovered a client was getting a failure from > an email following a pattern lik

altering the email validation

2009-04-03 Thread mlecho
hi...i am using the email validation feature for a few forms in my application. Today, we discovered a client was getting a failure from an email following a pattern like so: per...@website-a.com the "-" seems to throw the error. Is there a way i can alter the regex or the valid

Re: multiple email validation problem

2008-12-03 Thread rgreenphotodesign
Or you could write it into a custom function. Then call your custom function for each of the email fields. Ie. 'email1' => array ('customFunction'), 'email2' => etc... You do have to assign a validation to rule to each individual form element by name, in your case email1, email2 and email3. Grant

Re: multiple email validation problem

2008-12-03 Thread rgreenphotodesign
each form field will need it's own validation rule. What you have should work, just change the name to email1, then cut/ paste the whole rule and rename email2 etc. You could probably write something on the beforeValidates that renames your variables to "email", validates them, but then you'd ha

multiple email validation problem

2008-12-02 Thread [EMAIL PROTECTED]
Hi there, i got a problem with cake, i m using the lastest version. i got a form with 3 email fields. email1, email2, email3. and in my table, i want to record each email. i tried to make a validation rule for email. i got : var $validate = array( 'ema

Re: Email Validation after registration

2008-10-08 Thread [EMAIL PROTECTED]
registration, but now, I want the user to > > validate the email address the user is registered with. The user will > > be sent an email for the validation link. now my concern here is that > > link to my cakephp web app will be accessible for a limited time only. > > becaus

Re: Email Validation after registration

2008-10-07 Thread Joel Perras
te the email address the user is registered with. The user will > be sent an email for the validation link. now my concern here is that > link to my cakephp web app will be accessible for a limited time only. > because of that, the registered user pending email validation has to > resend that

Email Validation after registration

2008-10-07 Thread phpcurious
, the registered user pending email validation has to resend that email validation link. I have some ideas, but I just want to know from the community what is best to do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Email Validation: Test Case Fails

2008-06-20 Thread bujanga
t be more than 80 > characters' >), >'email-format' => array( > 'rule' => array('email', true), >'message' => 'Invalid email format' >), >) &

Email Validation: Test Case Fails

2008-06-20 Thread J. Anderson
mat' => array( 'rule' => array('email', true), 'message' => 'Invalid email format' ), ) ); End Code (From Model) When running, neither the validation code or the rest of the associate code