i cant send email im using localhost

jeannea08 - May 21, 2008 - 09:23

i cant send email using localhost, please help, im a newbie in drupal.
do i have to configure anything?

heres the error message:
* warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\xinapse\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site admin, if the problem persists.
* warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\xinapse\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site admin, if the problem persists.
* warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\xinapse\includes\mail.inc on line 193.
* Unable to send e-mail. Please contact the site admin, if the problem persists.

You need to change the SMTP

Iumentum - May 21, 2008 - 09:54

You need to change the SMTP server in your php.ini

where can i find the php.ini?

jeannea08 - May 22, 2008 - 01:50

tnx, but where can i find the php.ini? and what modifications that i have to do? tnx...

This deppends on your

Iumentum - May 22, 2008 - 13:22

This deppends on your installation of PHP.
Do you use XAMP or something like that?
Else just make a search on your system after php.ini
The changes you have to make can also deppend on a few things.
So you need to find a SMTP server you can use in your location or with your IP.

send email not using localhost

jeannea08 - May 22, 2008 - 03:40

will the error occur if Im going to upload my site?i mean im not going to use local host anymore?

The error should not occur

Iumentum - May 22, 2008 - 13:20

The error should not occur when you move the site to a web hotel.
They have there smtp set right i guess :)

i cant send email using localhost, please help,

prassanna - June 20, 2008 - 10:48

i cant send email using localhost, please help, im a newbie in drupal.
do i have to configure anything?

heres the error message:
* warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\xinapse\includes\mail.inc on line 193.

this is not an issue

theamoeba - June 20, 2008 - 11:59

this is not really an issue, it just means that, because u are working on localhost, that you do not have an smtp server installed on ur pc. its not something to be worried about - when u install drupal on a live webserver (which will have an smtp server installed) you wont get an error anymore.

theamoeba
www.espresso-online.info

Need Help with SMTP Configuration V5.10

cyborg_0912 - August 22, 2008 - 01:28

I am new to Drupal and I can't seem to get Drupal to Send mails.
I have also noticed that a lot of new comers have the same problem. I am working on a laptop and Appserv 2.5.9. I would also lke to be able to add a new user to see how my work is coming, and as you know i need to configure the mail to get the password.
I would be grateful if someone can please explain all about this topic so myself and other niños to Drupal can get it. Thanks a whole bunch.

CB0912

Can you send any emails at

Iumentum - August 22, 2008 - 07:16

Can you send any emails at all from your web server using mail() ?
If not its most probably your smtp setting(server) within the php.ini file.

 
 

Drupal is a registered trademark of Dries Buytaert.