CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 coding of forgot password..

Print topic Send  topic

Author Message
aziela

Posts: 12
Posted: 03/26/2009, 7:39 PM

Hello everybody...

I have a problem here.. I want to send the email to user who are forgot their password but the email cannot be sent. What function of SMTP Server and what should i put into the column beside SMTP Server in properties table? Should I use "send email" action?? Can anyone give an idea to solve this problem.. please....:-(
View profile  Send private message
melvyn


Posts: 333
Posted: 03/26/2009, 9:03 PM



PHP? ASP? ASP.Net ? Java? Perl?

There's no way to help you if we don't know which language you're using.


_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
aziela

Posts: 12
Posted: 03/26/2009, 9:13 PM

I use php language.. Anyone can help me???
View profile  Send private message
melvyn


Posts: 333
Posted: 03/26/2009, 10:11 PM

you don't need smtp...
  
$to ="melvyn@example.com";  
$from ="aziela@example.com";  
$subject = "test email"  
$headers =	"From: $from \r\n" .  
		"Reply-To: $from \r\n" .  
		"MIME-Version: 1.0 \r\n".  
		"Content-type: text/html; charset=iso-8859-1' \r\n".  
		"X-Mailer: PHP/ " . phpversion();  
  
mail($to,$subject,$body,$headers)  

_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
aziela

Posts: 12
Posted: 03/27/2009, 1:00 AM

One more thing, it is possible to me to send the email from localhost if the website not yet
publish? Please melvyn...
View profile  Send private message
melvyn


Posts: 333
Posted: 03/27/2009, 8:38 AM

Yes, it's possible. You must have a working SMTP server on your localhost or testing server.

Try to get one working, see this list http://en.wikipedia.org/wiki/Comparison_of_mail_servers to find one that you can like.

Some ISP will not allow you to send email from your localhost.

I recommend to use a subdomain in your production server to test your project.
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.