TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-25-2008, 04:36 PM   #1 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Application Error 2 problems: Send Email(Localhost) & Generate image

Hello,
I have 2 questions about:

1) I can't send Email from localhost! why?
Error: 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

2) I can't generate CAPTCHA image on page! why?

Thanks, regards.
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 05-25-2008, 04:54 PM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

The first one implies that you don't have a mail server configured on your localhost. Find the SMTP address of your ISP, and use that. That's what I do. Then from within the php.ini file you may change the SMTP line to that of your ISP's.

Moreover, welcome to the community!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 05-25-2008, 06:05 PM   #3 (permalink)
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

Indeed. The first, as Adam already explained tells you to input a smtp.isp.suffix.

The second one is a PHP module to be activated. CAPTCHA images are used by imagelibs which you can active through the module list. Which one, differs at each version (XAMP, WAMP).
__________________
"Life is a bitch, take that bitch on a ride"
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote
Old 05-26-2008, 09:58 AM   #4 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Help

Tnx for reply.

Can i send Email with this:
SMTP = "smtp.gmail.com"
smtp_port = 465


and what is file mod_info.so/mod_cache.so/mod_status.so/ or... and how can i use that?

Thansk ;).
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 05-26-2008, 01:05 PM   #5 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

You'll be lucky if you can use Gmail's. They have a lot of security -- such as encryption, but I am sure if you can work out how to supply it with what it wants, you'd be able to use it. Otherwise I would pick a SMTP server that's not so secure, such as your ISP's. They will let you use theirs.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
Yoosha (05-26-2008)
Old 05-26-2008, 02:32 PM   #6 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Default

And about:
File mod_info.so/mod_cache.so/mod_status.so/...?
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Old 05-26-2008, 09:45 PM   #7 (permalink)
The Contributor
 
Join Date: May 2008
Location: Iran
Posts: 53
Thanks: 33
Yoosha is on a distinguished road
Default

I find this for Email: XPertMailer - Advanced PHP Mail Engine
;)
Send a message via Yahoo to Yoosha
Yoosha is offline  
Reply With Quote
Reply



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

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:53 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design