Go Back  HTML Forums - Free Webmaster Forums and Help Forums > SERVER ADMINISTRATION > Windows Administration
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 04-22-2009, 10:16 AM
  #1
GacekSSJ4
Novice (Level 1)
 
Join Date: Apr 2009
Posts: 7
iTrader: (0)
GacekSSJ4 is an unknown quantity at this point
Windows Mail server that works with PHP:Mail()

Hey,

Could any of u recommend me a (best free) software that can be configured under windows and would enable me to use php's mail() function under localhost ?

Thx in advance.
Edit:
Tried hMailServer and i get:
Code:
<?php
ini_set("display_errors","2");
ERROR_REPORTING(E_ALL);

			$to      = 'mymail@domain.com';
			$subject = 'Just a subjectl';
			$headers = 'From: noreply@mydomain.com';
			
			
			$message = " Kliknij poniższy link aby aktywować konto. ";
			//mail($_POST['remail'], , $message) or die('Błąd w wysyłaniu maila: Proszę spróbować jeszcze raz');
			mail($to, $subject, $message, $headers) or die('Błąd w wysyłaniu maila: Proszę spróbować jeszcze raz');


?>
Quote:
Warning: mail() [function.mail]: SMTP server response: 530 SMTP authentication is required. in D:\Apache\htdocs\_test2\index.php on line 25

Last edited by GacekSSJ4 : 04-22-2009 at 10:54 AM. Reason: More info added
GacekSSJ4 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 04-22-2009, 12:52 PM
  #2
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
you can use the built in SMTP Server and enable relay for localhost 127.0.0.1
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 04-22-2009, 02:08 PM
  #3
GacekSSJ4
Novice (Level 1)
 
Join Date: Apr 2009
Posts: 7
iTrader: (0)
GacekSSJ4 is an unknown quantity at this point
Made that one somehow works. Send mails recives them But.... gmail does not like mails from me....
Quote:
mymail@gmail.com
Error Type: SMTP
Remote server (209.85.218.64) issued an error.
hMailServer sent: .
Remote server replied: 550 5.7.1 .com/support/bin/answer.py?answer=10336 20si3711015bwz.36
Else... it works fine. had to change localhost to 127.0.0.1 in php.ini
GacekSSJ4 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 04-24-2009, 10:29 AM
  #4
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
Unless the email server receiving it is the final destination then it should refuse it. Otherwise if it is expected to forward the mail, the server must be setup to relay the message regardless of the destination (usually requires IP restrictions or User/Pwd)
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 06:17 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.