Posts

smtp - send email error : Error 550, User account support@mydomain.com has sent too many emails -

i have forum, base on php (for many years). 1 user pointed out in recent days, email sending system not work properly. went cpanel (in host) , tried send email (with squirrelmail or roundcube). but in squirrelmail, when send email, see following error : (( requested action not taken: mailbox unavailable 550 user account support@mydomain.com has sent many emails )) and in roundcube : (( smtp error (550): failed add recipient "example@yahoo.com" (user account support@mydomain.com has sent many emails). )) i've never sent spam e-mails , website ip not on blacklist emails. created new email accout (with no special restrictions), faced same error. that means point blank host trying send to, has blocked server. spam complaints or other abuse issues, or because server misconfigured. need contact host in question ask why have decided block server. should check see if server has been blacklisted. site use check is: mxtoolbox.com on message, providers pu...

elasticsearch - How do I index hierarchical data in elastic search? -

i have data similar file paths index in elasticsearch. (basically list of tokens separated delimiter) ex data: a/b/c/d/e a/b/c/ a/m/n x/y/z once index, should able query immediate children given token shown below. for prefix of a, immediate children [b, m] prefix of x, immediate children [y] tokens @ root [a,x] have considered parent-child relationship? parent-child docs indexed such you'd able query following { "query": { "has_parent": { } } { "query": { "has_child": { } }

php - Why is form-getData() empty? (Symfony2) -

there html form, whish contains email , password field. send controller action using post. it works, if access inputs using $request->request->get('email') this code doesn't works. $data empty object reason: $form = $this->createformbuilder() ->add('email', 'email') ->add('pass', 'text') ->getform(); $form->handlerequest($request); $data = $form->getdata(); return new response('email: '.$data['email']); try this: $form->get('email')->getdata(); in twig template: <form action="{{ path('path-to-controller') }}" method="post"> {{ form_widget }} <input type="submit" value="send"/> </form>

Kubernetes-Mesos: building problems -

i following instructions on: http://kubernetes.io/docs/getting-started-guides/mesos/#deploy-kubernetes-mesos git clone https://github.com/kubernetes/kubernetes cd kubernetes export kubernetes_contrib=mesos make -bash-4.2$ pwd ~/kubernetes -bash-4.2$ ls api contrib federation makefile release build contrib.md godeps makefile.generated_files test changelog.md contributing.md hack _output third_party cluster design.md hooks pkg vagrantfile cmd docs license plugin vendor code-of-conduct.md examples logo readme.md www -bash-4.2$ make make: *** no rule make target `/*.go', needed `_output/bin/deepcopy-gen'. stop. do need before make or something?

php - How to get Double Buttons to "fire" in Bootstrap -

i have bootstrap form double buttons (2) shown below. the submit button fires , returns processing page (i.e., ['php_self']) however, cancel button nothing how can both buttons fire , return processing page? <form class="form-horizontal" method="post"> <fieldset> <legend>my form<</legend> <div class="form-group"> <label class="col-md-4 control-label" for="submit"></label> <div class="col-md-8"> <button id="submit" name="submit" class="btn btn-primary" value="1" type="submit">update profile</button> <button id="cancel" name="cancel" class="btn btn-default" value="0" type="submit">cancel update</button> </div> </div> </fieldset> </form> appended (per threaded comment @fred): added type=...

javascript - How to include files from definitely typed in an Angular 2 project -

i'm working on angular 2/node.js app , i'm trying install typings project. when run server , start typscript compilerm following log: bash-3.1$ npm start > support-dashboard@1.0.0 start c:\mean_project > concurrently "npm run tsc:w" "node server.js" [1] magic happens on port 8080 [0] [0] > support-dashboard@1.0.0 tsc:w c:\mean_project [0] > tsc -w [0] [0] node_modules/angular2/platform/browser.d.ts(78,90): error ts2304: cannot find name 'promise'. [0] node_modules/angular2/src/core/application_ref.d.ts(38,88): error ts2304: cannot find name 'promise'. [0] node_modules/angular2/src/core/application_ref.d.ts(92,42): error ts2304: cannot find name 'promise'. [0] node_modules/angular2/src/core/application_ref.d.ts(151,33): error ts2304: cannot find name 'promise'. [0] node_modules/angular2/src/core/change_detection/differs/default_keyvalue_differ.d.ts(23,15): error ts2304: cannot find name 'map'. [0] no...

Asp.net core publish no longer creates shell scripts -

i had similar problem questions asked here asp.net core publish , have followed answers , got asp.net core web app publish seems unlike earlier version no longer creates shell , cmd scripts did before when --no-source used dotnet publish. there anyway back? no, they're gone. don't need them anymore, should able start project via dotnet.exe or mac/linux equivalent.