warning: mail() has been disabled for security reasons

warning: mail() has been disabled for security reasons in /home/.../includes/common.inc on line 1991.

in file common.inc online 1935 - 1993

function drupal_mail($mailkey, $to, $subject, $body, $from = NULL, $headers = array()) {
$defaults = array(
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8; format=flowed',
'Content-Transfer-Encoding' => '8Bit',
'X-Mailer' => 'Drupal'
);
// To prevent e-mail from looking like spam, the addresses in the Sender and
// Return-Path headers should have a domain authorized to use the originating
// SMTP server. Errors-To is redundant, but shouldn't hurt.
$default_from = variable_get('site_mail', ini_get('sendmail_from'));
if ($default_from) {
$defaults['From'] = $defaults['Reply-To'] = $defaults['Sender'] = $defaults['Return-Path'] = $defaults['Errors-To'] = $default_from;
}
if ($from) {
$defaults['From'] = $defaults['Reply-To'] = $from;
}
$headers = array_merge($defaults, $headers);
// Custom hook traversal to allow pass by reference
foreach (module_implements('mail_alter') AS $module) {
$function = $module .'_mail_alter';
$function($mailkey, $to, $subject, $body, $from, $headers);
}
// Allow for custom mail backend
if (variable_get('smtp_library', '') && file_exists(variable_get('smtp_library', ''))) {

Sort by weight order

Hi,

I appreciate that changing sort order has been discussed at length but I have a very specific sort order which with some help from some clever people with more SQL knowledge than me I'm sure we can solve.

I'm creating a movie review website and I want to list the UK and USA box office entries based on their ranking. Obviously both box offices can contain the same nodes in completely different orders so we need a way of a) distinguishing the order for both UK and USA listings and b) sorting the nodes into that order.

The taxonomy as it stands is:

Text to be displayed on the front page always.

I want to display text that says what we're all about on the top of the front page of my website. I made a block and set it to content, but right now it puts blog entries and stuff before this text. I would like the blog entries on the first page but in a different section.

Has anyone migrated from GoDaddy to another host that supports IMAP?

So I finally got multisite and all the basics up and running on GoDaddy... only to find out that the GoogleGroups-like site I wanted to create couldn't receive emails due to the fact that GoDaddy doesn't support PHP IMAP (for "security" reasons - yeah right).

password question

I lost the admin password for a drupal website I have and for some reason the request a new password button won't send an email resetting the password, so there is no way for me to log in. Is there anything I can do to reset the password from the backend?

MODREQUEST - Real democracy through priority voting

Hi All, especially able programmers of PHP!

I am interested in a module which enables priority voting. To be able to prioritize between data in a community is essential for a good democratic function.

Also openness in the voting must be an option by choice so that results can not be questioned.

Work for this will probably be awarded richly both by increasing number of communities using it and by our organization for pure thankfulness.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older