By Cracker Jack Mack on
warning: mail() is not supported in this PHP build in /www/htdocs/drupal/modules/user.module on line 257.
uh...i know i don't have smtp installed on the server....can i setup drupal to use my mail server instead of a local mailer?
Comments
search and you will find:
search and you will find:
search?keys=smtp
> Custom SMTP library
The links didn't really help
stolen from www.php.org
jamie@trewtech.com
15-Feb-2002 08:40
This problem/fix should be here since it oddly takes a long time to find the answer on the internet, yet the problem seems common. If you get
mail() not supported in this PHP build
when trying to use this function then you need to recompile. This happens during configure if /sbin/sendmail is not found. For some reason PHP decides to leave out mail support entirely if it can't find this file while configuring for build. If you run qmail or some other sendmail replacement it is very likely this could be your situation. To fix, make sure the appropriate file or symlink exists. To be safe, why not make a symlink from /usr/sbin/sendmail too. In the case of qmail, these should both point to /var/qmail/bin/sendmail which is qmail's sendmail wrapper.
After fixing that, delete config.cache and start your build over again and reinstall. Thanks to Surojit Niyogi -- and Google, for caching the page on the www.bajaar.com where he posted this simple solution which was unfortunately broken at the time I was looking for an answer.
search?keys=
How do I do this? It doesn't seem to work like that right now...
http://drupal.org/search?keys=wordtosearchfor
Spent half an hour to search for a way to do this and remembered the "search and you will find" sentence that I had seen while scouring through the nodes.. BTW: I DIDN'T find with Drupal's search but with Google. I must be doing something wrong since I'm having a hard time finding what I'm looking for and end up posting daft questions...
It would be a great idea to tag nodes here on Drupal.org with taxanomy terms so that when one is having trouble with say for instance the image.module I go to a page with 104 nodes about the image.module, nice lists.
doesn't work anymore
since the register_global patch. now search only accepts $_POST arguments.
i'd really like to have this possibility back. just submitted a patch to the mailing list.
I noticed it's been worked on
I noticed it's been worked on on the newest CVS
should http://drupal.org/search?key=smtp do the trick now?
If so then it's not workig yet
compare http://drupal.org/search?key=smtp (comes up empty) with doing a manual search for smtp..
my patch wasn't complete
i only changed search_page() in search.module to use $_GET keys, but forgot that search_data() in common.inc, which does the actual search, needs this as well. don't have time to fix this now - feel free to send a patch (which will happily get accepted).
btw: search's parameter handling is quite strange and certainly needs, as the whole search.module, an overhaul.