Installed drupal on my home mashine. db is ok, but when created first account - look like drupal cannot send email from localhost, i cant start working wothout admin account. How to fix this issue?

Comments

mordonez’s picture

Go to administer->users-> add new user
but you need configure the smtp server, to send emails with drupal, try the SMTP support module, is the best option to configure the mail quickly.

Drupal dreamer at Ymbra

Ectar’s picture

It will not gonna work, Ican create first account... :(
this is a bit stupid, you can't create admin account on local mashine without sending email somewhere!!

vm’s picture

the superadmin account, "the first account to register with drupal" does not require the email. sure it will send, and the send will fail. This is not a problem.

when creating the first account, after hitting submit you are brought to the first account profile screen, where you can create a new password. thus not needing the one from the email.

Ectar’s picture

Yes It works... how could i miss it ?! thank you!
But is work only first time on clean database, so if you closed browser, cretion of next superusers will not show this screen....

vm’s picture

you cannot create more then one super user. any creation after first account becomes an authenticated user.

to bypass this, YOU as super admin can create additional accounts in administer -> users and set the password for them.

brollo’s picture

This does not happen to my install , if I enter admin name and an email address, then submit, I get a blank page with :

Fatal error: Call to undefined function: mail() in /home/mattia/apache/htdocs/test/includes/common.inc on line 1986

Hence I cannot know the admin password unless I decrypt it from DB

I am running linux ubuntu 7.10 , drupal 5.x, php4, apache 2.x

Help please

kalaivanan.v’s picture

Hai can any one tell me how to use mail function to send mail form localhost. My system is connected with internet. The website is not hosted in the server. I want to run my project in localhost only. From localhost i want to send mail to other preson. How can it possible. Pls can any one help me out.