Wednesday, November 30, 2011

Re: CakeEmail & Invalid email

a) you dont have to submit it to cake
if you really want to go down that road, build your own class and put
it in
/app/Lib/Network/Email/
CakePHP will then use your custom class instead

b) if you wont to know if it works, try it - but I woudn't recommend
it


On 30 Nov., 06:32, localhost <ahm...@gmail.com> wrote:
> No suggestion from anyone! :(
>
> Should I modify CakeMail to make mail validation an option and submit
> this to Cakephp ?
>
> OR
>
> if I add the "To" field" direct to the mail header (using addheader
> function), do you think it will work?
>
> On Nov 29, 7:23 am, localhost <ahm...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Thank you very much for the suggestion but really I don't have this
> > option
>
> > I just need to disable the email validation in cakemail
>
> > On Nov 29, 1:29 am, Justin Edwards <justinledwa...@gmail.com> wrote:
>
> > > I would rather fix your exchange rules to follow a standard.  Microsoft
> > > could fix their product (stop allowing invalid addresses) and you could
> > > have problems in the future.
>
> > > On Mon, Nov 28, 2011 at 3:42 PM, localhost <ahm...@gmail.com> wrote:
> > > > Hi
>
> > > > If you try to send email using CakeEmail in cakephp 2, CakeEmail will
> > > > check the "To" email and give you error for invalid emails.
>
> > > > my question is how to disable this validation, I actually want to send
> > > > wrong email format :)  I have my SMTP (MS Exchange) configured to
> > > > forward any email with predefined format (not correct email format) to
> > > > some internal application.
>
> > > > So currently I'm trying to send email to "[fax:NAME@456789098]"   ,
> > > > any idea how to disable CakeEmail email validation ?
>
> > > > --
> > > > Our newest site for the community: CakePHP Video Tutorials
> > > >http://tv.cakephp.org
> > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> > > > others with their CakePHP related questions.
>
> > > > To unsubscribe from this group, send email to
> > > > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > > > athttp://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: