Hello friends,
I am developing a drupal 7 site on my Windows 7 PC using XAMP stack.I have managed to get the site up on local host and have added a few contents.I am using a skeleton theme.I have enabled the userlogin block so that people visiting the site can register.

When i create a new user,no email is send to the users email id (gmail id )which is used for registering.Drupal displays that a welcome message has been sent to the email id but no email is received in my inbox(I have checked the spam folder too).

under Administration->People-the above user is seen as active.
I logged in as admin and tried to send an email to the user ,Drupal displayed that an email has been sent but no email is received by the users email account.

Comments

ravi_admec’s picture

I can see that you are working on localhost.. is it so??
If yes than you can send an email from localhost.. you need to upload it on the server and then check it again.

For now.. if you are getting a successful email message that means it is working perfectly.

rohithkj’s picture

yes i am working on localhost,
are you saying that i can't send an email from my PC (localhos)?,
Do i have to register with a web host for sending email ?

dotmundo’s picture

Personally you would be much better off devloping in a Linux virtual environment using VirtualBox and any Linux distribution. That will have all of the back-end stuff you would need and you will still have the flexiblity of using Windows. I do not particulary trust how Xamp's mail facility works. I will note that you may have to do additional configuration within php.ini to get this to work. Overall, your development environment should mirror as much as possible as your target environment.

_gramur’s picture

I'm going to go out on a whim and say that your XAMPP stack does not contain a mailing server. You would need a mailing server configured on your localhost before you can send e-mails.

Mailing servers on localhost can be a huge pain to setup properly, but can be done. There are a good documentations all over the internet with a little bit of searching.

A faster alternative is to register with a web host and upload your site onto their servers and test from there.

_
Founder
Sivius.ca

rohithkj’s picture

thanks, i am going for webhost option instead of setting up the mail server on localhost