Drupal Installtions mail() & Cron Job error

Discussion in 'Drupal' started by dura_killer, Oct 22, 2008.

  1. #1
    After creating the Adminisrative account I am getting this error on page which displays Username, Password & Email info.What is the problem, I am running Drupal on my PC with WAMP Server 2.

    warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\wamp\www\drupal\includes\common.inc on line 1996.

    Also what is File system path? Its set to files by default but I want all the files related to drupal inside Drupal Directory.

    I am also getting this message in Status Report Page

    Cron maintenance tasks Never run
    Cron has not run. It appears cron jobs have not been setup on your system. Please check the help pages for configuring cron jobs. You can run cron manually.

    There a guide to set it up on a webhost but how I setup it on my PC with WAMP Server 2.
     
    dura_killer, Oct 22, 2008 IP
  2. blackonyx

    blackonyx Peon

    Messages:
    223
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, thats probably the reason, why you don't use Clown OS for this type of task. Drupal wants to send Emails once in a while and uses PHP's build-in functions for that. This means, the mailservice has to be properly configured, which is done in the file php.ini (search for "sendmail_from" and put a meaningful address, e.g. "webmaster@localhost" in it).

    As for the CRON problem: There is no CRON on Windows (who'd have guessed). All it does for Drupal however is periodically requesting /cron.php and hence triggering maintenance tasks. You can safely request that URL from any webbrowser to trigger maintenance manually.
     
    blackonyx, Oct 23, 2008 IP