I'm trying to set up Drupal on my home pc for a test bed. I installed Apache, Mysql, php, and Drupal. I got to the page that says create the first account and your password will be emailed to you. Then it gave me a connection broken message. (I think because I didn't set the base url correctly.)

Now I can't log in because I don't have the password. I don't get any emails from the site. I realize it's because (I guess) I've never set up anything related to a mail server. However, there is nothing in the install instructions about this. There is also nothing in my Apache book about this.

I am using Suse Linux.

I tried searching but came up with a bunch of stuff about changing how email works. Nothing about how to get my home computer so send out any email at all. eg smtp assumes your site is up and running.

I can research this but I don't even have the right keyword.

Comments

ArunK’s picture

See this video.

styro’s picture

...mail from PHP is handled transparently by the MTA (eg Sendmail, Postfix etc) installed on the machine.

You'll need to configure your MTA properly. And if that still doesn't work you'll need to check your php.ini settings to make sure PHP is using the correct settings for that MTA (eg the proper command line for the sendmail utility).

I don't know much about Suse though, you'll have to check their docs for how to configure your MTA.

PS you don't need working email to create the first Drupal user, as after submitting the form you get sent to a page where you can change your password.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ